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 10c3aba + e9cc340 commit bfd2decCopy full SHA for bfd2dec
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":
+ def from_args(cls, args: argparse.Namespace) -> "LlmConfig":
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