diff --git a/scripts/infer_video_mme.sh b/scripts/infer_video_mme.sh index 025d5e5..82337de 100755 --- a/scripts/infer_video_mme.sh +++ b/scripts/infer_video_mme.sh @@ -13,6 +13,10 @@ cd "$(dirname "$0")/.." CUDA_VISIBLE_DEVICES="${CUDA_VISIBLE_DEVICES:-0}" export CUDA_VISIBLE_DEVICES +# Embedding 模型已缓存本地,跳过 HuggingFace Hub 在线检查 +export HF_HUB_OFFLINE=1 +export TRANSFORMERS_OFFLINE=1 + # 加载环境变量(API key 等) set -a source .env