CharlesZhang-USTC's picture
Add files using upload-large-folder tool
ea1b5d0 verified
Raw History Blame Contribute Delete
676 Bytes
#!/usr/bin/env bash
# 实验入口(原生替代 packaging/start.sh):bash snf.sh <command> ...
set -euo pipefail
export PYTHONPATH="/jizhi/jizhi2/worker/trainer/snf/snf-five-models"
export HF_HOME=/weights/huggingface TORCH_HOME=/weights/torch XDG_CACHE_HOME=/weights/cache
export TORCHINDUCTOR_CACHE_DIR=/weights/torchinductor TRITON_CACHE_DIR=/weights/triton
export MPLBACKEND=Agg TOKENIZERS_PARALLELISM=false HF_HUB_DISABLE_TELEMETRY=1
export WANDB_MODE=disabled PYTHONUNBUFFERED=1 HF_ENDPOINT="${HF_ENDPOINT:-https://huggingface.co}"
# HF_TOKEN 由调用方内联传入,不落盘
cd "/jizhi/jizhi2/worker/trainer/snf/snf-five-models"
exec python3 -m suite.cli "$@"