Skip to content

Commit

Permalink
fix typo (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
gau-nernst authored Jun 27, 2024
1 parent 2e3ec26 commit 6486a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchao/prototype/quant_llm/quant_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def __torch_dispatch__(cls, func, types, args, kwargs):
if func in _ATEN_OP_OR_TORCH_FN_TABLE[cls]:
return _ATEN_OP_OR_TORCH_FN_TABLE[cls][func](func, *args, **kwargs)

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


@QuantLlmLinearWeight.implements(torch.nn.functional.linear)
Expand Down

0 comments on commit 6486a33

Please sign in to comment.