From d4e417a8ef4999785af1a99b6a41c1c0aa1720e7 Mon Sep 17 00:00:00 2001 From: Mergen Nachin Date: Wed, 18 Mar 2026 10:23:59 -0400 Subject: [PATCH] Clean up Voxtral Realtime HF weights after export (#18289) The downloaded model_weights/ directory (~20GB) was not removed after export, causing it to be uploaded to S3 as part of the CI artifact. Delete it after copying out the tokenizer since the weights are fully baked into the .pte at that point. (cherry picked from commit d9b394a3e6ebfeeccf014d36ec6afa78afa97b50) --- .ci/scripts/export_model_artifact.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/scripts/export_model_artifact.sh b/.ci/scripts/export_model_artifact.sh index 5c0fc969000..220af45a904 100755 --- a/.ci/scripts/export_model_artifact.sh +++ b/.ci/scripts/export_model_artifact.sh @@ -347,6 +347,7 @@ if [ "$MODEL_NAME" = "voxtral_realtime" ]; then fi # Copy tokenizer from downloaded model weights cp "$LOCAL_MODEL_DIR/tekken.json" "${OUTPUT_DIR}/tekken.json" + rm -rf "$LOCAL_MODEL_DIR" ls -al "${OUTPUT_DIR}" echo "::endgroup::" exit 0