ci: enable offline mode when local cache is complete to avoid HF Hub … (#16121)

This commit is contained in:
Hudson Xing
2026-01-15 20:15:33 -08:00
committed by GitHub
parent 6ee970a365
commit 21ee597e4a
6 changed files with 1959 additions and 112 deletions
+5
View File
@@ -11,4 +11,9 @@ echo ""
python3 "${SCRIPT_DIR}/cleanup_hf_cache.py"
echo ""
# Pre-validate cached models and write markers for offline mode
# This allows tests to run with HF_HUB_OFFLINE=1 for models that are fully cached
python3 "${SCRIPT_DIR}/prevalidate_cached_models.py"
echo ""
echo "CI runner preparation complete!"