Fixing missing parameter passing for model_config in utils.load() (#494)

This commit is contained in:
Aria Wong
2025-09-23 13:02:35 -07:00
committed by GitHub
parent c991106dbf
commit f22120ef83
+1 -1
View File
@@ -261,7 +261,7 @@ def load(
"""
model_path, _ = get_model_path(path_or_hf_repo)
model, config = load_model(model_path, lazy)
model, config = load_model(model_path, lazy, model_config=model_config)
if adapter_path is not None:
model = load_adapters(model, adapter_path)
model.eval()