Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jainapurva committed Feb 26, 2025
1 parent 35b2840 commit 8b7291c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion benchmarks/microbenchmarks/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
# Empty file to mark directory as Python package
1 change: 0 additions & 1 deletion benchmarks/microbenchmarks/test/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
# Empty file to mark directory as Python package
6 changes: 3 additions & 3 deletions benchmarks/microbenchmarks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ def quantize_model(
)
from torchao.quantization.granularity import PerGroup

assert precision == torch.float32, (
"int8_dynamic_activation_intx_weight requires using precision=torch.float32"
)
assert (
precision == torch.float32
), "int8_dynamic_activation_intx_weight requires using precision=torch.float32"

# Quantize model
_quant_args = quantization.split("-")
Expand Down

0 comments on commit 8b7291c

Please sign in to comment.