Skip to content

Commit 5841c2a

Browse files
authored
Fix lint error on main (#281)
1 parent 51951d1 commit 5841c2a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Install pre-commit
5050
run: |
5151
python -m pip install --upgrade pip
52-
pip install pre-commit
52+
pip install .'[dev]'
5353
5454
- name: Run pre-commit
5555
run: pre-commit run --all-files

benchmarks/run.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,9 @@ def main() -> None:
243243
tb_args, unknown_args = tb_parser.parse_known_args(tritonbench_args)
244244

245245
# Register the Helion kernel with tritonbench BEFORE importing the operator
246-
from tritonbench.utils.triton_op import register_benchmark
246+
from tritonbench.utils.triton_op import ( # type: ignore[reportMissingImports]
247+
register_benchmark,
248+
)
247249

248250
# Create the benchmark method
249251
def create_helion_method(

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies = [
2020
"torch>=2.7.0",
2121
"typing_extensions>=4.0.0",
2222
"filecheck",
23+
"psutil"
2324
]
2425

2526
[project.optional-dependencies]

0 commit comments

Comments
 (0)