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:
264
264
class LlmConfig :
265
265
base : BaseConfig = field (default_factory = BaseConfig )
266
266
model : ModelConfig = field (default_factory = ModelConfig )
267
+ export : ExportConfig = field (default_factory = ExportConfig )
268
+ debug : DebugConfig = field (default_factory = DebugConfig )
267
269
quantization : QuantizationConfig = field (default_factory = QuantizationConfig )
268
270
backend : BackendConfig = field (default_factory = BackendConfig )
Original file line number Diff line number Diff line change @@ -583,7 +583,6 @@ def export_llama(
583
583
elif isinstance (export_options , DictConfig ):
584
584
# Hydra CLI.
585
585
llm_config = export_options # noqa: F841
586
- pass
587
586
else :
588
587
raise ValueError (
589
588
"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