Skip to content

Commit 4546ad6

Browse files
committed
add "_gemm_input_role" to dunder slots
Signed-off-by: Masaki Kozuki <[email protected]>
1 parent a382752 commit 4546ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchao/float8/float8_tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ class Float8Tensor(torch.Tensor):
277277
_scale: torch.Tensor
278278
_orig_dtype: torch.dtype
279279
_linear_mm_config: LinearMMConfig
280-
__slots__ = ["_data", "_scale", "_orig_dtype", "_linear_mm_config"]
280+
__slots__ = ["_data", "_scale", "_orig_dtype", "_linear_mm_config", "_gemm_input_role"]
281281

282282
def __new__(
283283
cls,

0 commit comments

Comments
 (0)