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
feat(training): enforce HF cache guard at job dispatch
- Add _is_model_in_hf_cache() to training_service.py — checks for a
non-empty snapshot directory under HF_CACHE_PATH/hub/models--*/snapshots/
mirroring the actual HuggingFace cache directory structure
- Reject job creation with HTTP 400 if model is not cached locally —
user gets a clear error at dispatch rather than a silent GPU failure
10 minutes into training
- Fix HF_HUB_OFFLINE = '1' in unsloth_train.py — enforces cache-only
mode in the training subprocess, comment now matches the code
0 commit comments