Fix model weights validation with automatic cache cleanup (#13729)
This commit is contained in:
@@ -11,19 +11,4 @@ echo ""
|
||||
python3 "${SCRIPT_DIR}/cleanup_hf_cache.py"
|
||||
echo ""
|
||||
|
||||
# Validate model integrity for configured runners
|
||||
echo "Validating model integrity..."
|
||||
|
||||
# Enable accelerated HuggingFace downloads (10x faster on high-bandwidth networks)
|
||||
export HF_HUB_ENABLE_HF_TRANSFER=1
|
||||
|
||||
python3 "${SCRIPT_DIR}/validate_and_download_models.py"
|
||||
VALIDATION_EXIT_CODE=$?
|
||||
|
||||
if [ $VALIDATION_EXIT_CODE -ne 0 ]; then
|
||||
echo "Model validation failed with exit code: $VALIDATION_EXIT_CODE"
|
||||
exit $VALIDATION_EXIT_CODE
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "CI runner preparation complete!"
|
||||
|
||||
Reference in New Issue
Block a user