We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 679fe9e + 70bb2d5 commit 52455bcCopy full SHA for 52455bc
examples/models/llama/config/llm_config.py
@@ -470,7 +470,7 @@ class LlmConfig:
470
backend: BackendConfig = field(default_factory=BackendConfig)
471
472
@classmethod
473
- def from_args(args: argparse.Namespace) -> "LlmConfig": # noqa: C901
+ def from_args(cls, args: argparse.Namespace) -> "LlmConfig": # noqa: C901
474
"""
475
To support legacy purposes, this function converts CLI args from
476
argparse to an LlmConfig, which is used by the LLM export process.
0 commit comments