Skip to content

Commit

Permalink
Ruff format and lint
Browse files Browse the repository at this point in the history
stack-info: PR: #1226, branch: drisspg/stack/17
  • Loading branch information
drisspg committed Nov 5, 2024
1 parent 6fd77d5 commit 878bb1d
Show file tree
Hide file tree
Showing 10 changed files with 878 additions and 314 deletions.
4 changes: 2 additions & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ include = [
"torchao/quantization/linear_activation_weight_observer.py",
"test/quantization/test_observer.py",
"test/dtypes/test_affine_quantized_float.py",
"torchao/quantization/weight_tensor_linear_activation_quantization.py"

"torchao/quantization/weight_tensor_linear_activation_quantization.py",
"torchao/dtypes/**/*.py",
]
3 changes: 2 additions & 1 deletion torchao/dtypes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from .nf4tensor import NF4Tensor, to_nf4

# from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
from .uint4 import UInt4Tensor
from .affine_quantized_tensor import (
Expand All @@ -21,7 +22,7 @@
__all__ = [
"NF4Tensor",
"to_nf4",
"UInt4Tensor"
"UInt4Tensor",
"AffineQuantizedTensor",
"to_affine_quantized_intx",
"to_affine_quantized_intx_static",
Expand Down
Loading

0 comments on commit 878bb1d

Please sign in to comment.