Buckets:

Pranav2748's picture
download
raw
678 Bytes
#!/bin/bash
# Sync think-decide/ to the public bucket. Aborts if anything token-like is in the tree. Never syncs .env files.
set -e
cd /workspace/think-decide
if grep -rIl --exclude-dir=.git -E "hf_[A-Za-z0-9]{30,}" . 2>/dev/null; then echo "ABORT: token-like string found"; exit 1; fi
if find . -name "*.env" -o -name ".env*" | grep -v "^./.git" | grep -q .; then echo "ABORT: .env file in tree"; exit 1; fi
set -a; . /workspace/.env; set +a
/root/venvs/vllm/bin/hf buckets sync /workspace/think-decide hf://buckets/Mercity/Desicion-Model-Custom/think-decide \
--exclude ".git/*" --exclude "*.env" --exclude ".env*" --exclude "__pycache__/*" --exclude "*/__pycache__/*" "$@"

Xet Storage Details

Size:
678 Bytes
·
Xet hash:
3354e6e1fce40976876f759919298149221f3df70366522eb070ea11bf615340

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.