Diffsplat / scripts /infer.sh
paulpanwang's picture
Upload folder using huggingface_hub
476e0f0 verified
FILE=$1
CONFIG_FILE=$2
TAG=$3
shift 3 # remove $1~$3 for $@
# export HF_ENDPOINT=https://hf-mirror.com
export HF_HOME=~/.cache/huggingface
export TORCH_HOME=~/.cache/torch
export NCCL_DEBUG=VERSION
python3 ${FILE} \
--config_file ${CONFIG_FILE} \
--tag ${TAG} \
--allow_tf32 \
$@