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.
1 parent fb5b518 commit 70bb2d5Copy full SHA for 70bb2d5
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