Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,17 @@ jobs:
- name: Install package and dependencies
run: uv sync --dev

- name: Clone FlagGems source
run: git clone https://github.com/FlagOpen/FlagGems.git

- name: Build and install FlagGems
run: uv pip install FlagGems/

- name: Clone FACTO source
run: git clone https://github.com/pytorch-labs/FACTO.git

- name: Build and install FACTO
run: cd FACTO && uv pip install .
run: uv pip install FACTO/

- name: Run smoke test
run: uv run python -m BackendBench.scripts.main --suite smoke --backend aten
Expand Down
2 changes: 1 addition & 1 deletion BackendBench/backends/flag_gems.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def __init__(self) -> None:
torch.ops.aten.mse_loss.default: flag_gems.ops.mse_loss,
torch.ops.aten.eye.default: flag_gems.ops.eye,
torch.ops.aten.eye.m: flag_gems.ops.eye_m,
torch.ops.aten.to.dtype: flag_gems.ops.to_dtype,
# torch.ops.aten.to.dtype: flag_gems.ops.to_dtype, # skip as module 'flag_gems.ops' has no attribute 'to_dtype'
}
# Register all operators in the global registry to ensure consistent object identity
for op in self.ops.keys():
Expand Down