Skip to content

Commit 9db7b18

Browse files
committed
up
1 parent 51279a4 commit 9db7b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/llm/export/config/llm_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def from_args(cls, args: argparse.Namespace) -> "LlmConfig": # noqa: C901
652652
"use_torchao_kernels_tied_embedding",
653653
]
654654
):
655-
if hasattr(args, "use_torchao_kernels") and args.torchao_kernels:
655+
if hasattr(args, "use_torchao_kernels") and args.use_torchao_kernels:
656656
# Enable all conversions if torchao_kernels is specified
657657
llm_config.backend.torchao.use_torchao_kernels_linear = True
658658
llm_config.backend.torchao.use_torchao_kernels_tied_embedding = True

0 commit comments

Comments
 (0)