LeonInverse's picture
Add files using upload-large-folder tool
3e6753a verified
Raw History Blame Contribute Delete
430 Bytes
#!/bin/bash
# Usage: HF_TOKEN=hf_xxx REPO=username/qwen3.8-27b-scope-code bash upload.sh
set -eu
HF=/home/liang/miniconda3/envs/dflash-vllm/bin/hf
export HF_HOME=/home/liang/.hf_liang
$HF repo create "$REPO" --repo-type model --private -y 2>/dev/null || true
$HF upload-large-folder "$REPO" /mnt/raid0nvme0/liang/dflash_caches/hf_scope_upload \
--repo-type model --num-workers 8
echo "UPLOAD DONE: https://huggingface.co/$REPO"