Skip to content

Commit

Permalink
Ruff Lint fixes (torchao/quantization) (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
jainapurva authored Nov 12, 2024
1 parent 299aacd commit b2642fb
Show file tree
Hide file tree
Showing 30 changed files with 1,793 additions and 848 deletions.
4 changes: 1 addition & 3 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
# Example: To lint all files in every subfolder of 'test', add "test/**/*"
include = [
"torchao/float8/**/*.py",
"torchao/dtypes/nf4tensor.py",
"test/dtypes/test_nf4.py",
"torchao/quantization/linear_activation_weight_observer.py",
"torchao/quantization/**/*.py",
"test/quantization/test_observer.py",
"test/dtypes/test_affine_quantized_float.py",
"torchao/quantization/weight_tensor_linear_activation_quantization.py",
"torchao/dtypes/**/*.py",
"torchao/prototype/low_bit_optim/**.py",
"test/prototype/low_bit_optim/**.py",
Expand Down
Loading

0 comments on commit b2642fb

Please sign in to comment.