Skip to content

Commit 6486a33

Browse files
authored
fix typo (#450)
1 parent 2e3ec26 commit 6486a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchao/prototype/quant_llm/quant_llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def __torch_dispatch__(cls, func, types, args, kwargs):
413413
if func in _ATEN_OP_OR_TORCH_FN_TABLE[cls]:
414414
return _ATEN_OP_OR_TORCH_FN_TABLE[cls][func](func, *args, **kwargs)
415415

416-
raise NotImplementedError(f"{cls.name} dispatch: attempting to run {func}, this is not supported")
416+
raise NotImplementedError(f"{cls.__name__} dispatch: attempting to run {func}, this is not supported")
417417

418418

419419
@QuantLlmLinearWeight.implements(torch.nn.functional.linear)

0 commit comments

Comments
 (0)