You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: HF source for custom models should allow local directory #532
Opened a fix for this: #699. `ModelManagement.download_model` now checks whether the `hf` source resolves to an existing local directory before treating it as a HuggingFace repo id — if it does, the directory is used as-is (after validating `model_file`/`additional_files` are present), so `ModelSource(hf="/path/to/local-model")` (or `~/...`) works without publishing to the Hub first.
Activity
pangwangshu commentedon Sep 2, 2026
Opened a fix for this: #699. `ModelManagement.download_model` now checks whether the `hf` source resolves to an existing local directory before treating it as a HuggingFace repo id — if it does, the directory is used as-is (after validating `model_file`/`additional_files` are present), so `ModelSource(hf="/path/to/local-model")` (or `~/...`) works without publishing to the Hub first.
fix: allow custom models to source from a local directory