File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -264,5 +264,7 @@ class BackendConfig:
264264class LlmConfig :
265265 base : BaseConfig = field (default_factory = BaseConfig )
266266 model : ModelConfig = field (default_factory = ModelConfig )
267+ export : ExportConfig = field (default_factory = ExportConfig )
268+ debug : DebugConfig = field (default_factory = DebugConfig )
267269 quantization : QuantizationConfig = field (default_factory = QuantizationConfig )
268270 backend : BackendConfig = field (default_factory = BackendConfig )
Original file line number Diff line number Diff line change @@ -583,7 +583,6 @@ def export_llama(
583583 elif isinstance (export_options , DictConfig ):
584584 # Hydra CLI.
585585 llm_config = export_options # noqa: F841
586- pass
587586 else :
588587 raise ValueError (
589588 "Input to export_llama must be either of type argparse.Namespace or LlmConfig"
You can’t perform that action at this time.
0 commit comments