Skip to content

Commit 556f2a1

Browse files
committed
Update base for Update on "Convert args to LlmConfig"
Differential Revision: [D75263990](https://our.internmc.facebook.com/intern/diff/D75263990) [ghstack-poisoned]
1 parent 69dd8b8 commit 556f2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/models/llama/config/llm_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ class LlmConfig:
470470
backend: BackendConfig = field(default_factory=BackendConfig)
471471

472472
@classmethod
473-
def from_args(args: argparse.Namespace) -> "LlmConfig":
473+
def from_args(cls, args: argparse.Namespace) -> "LlmConfig":
474474
"""
475475
To support legacy purposes, this function converts CLI args from
476476
argparse to an LlmConfig, which is used by the LLM export process.

0 commit comments

Comments
 (0)