feat: update helper tool (Sep 16th)

This commit is contained in:
2026-09-16 01:47:47 +00:00
commit 953ad22dce
7 changed files with 630 additions and 0 deletions

31
MINIO.md Normal file
View File

@@ -0,0 +1,31 @@
curl -LsSf https://astral.sh/uv/install.sh | sh
uv init
uv venv
source .venv/bin/activate
uv add "huggingface_hub[cli]"
hf download deepseek-ai/deepSeek-v4-flash --local-dir /home/jovyan/projects/models/deepseek-v4-flash
curl --progress-bar -L https://dl.min.io/aistor/mc/release/linux-amd64/mc --create-dirs -o $HOME/aistor-binaries/mc
chmod +x ~/aistor-binaries/mc
~/aistor-binaries/mc --help
export MINIO_ENDPOINT=http://minio.minio.svc.cluster.local:9000
export MINIO_ACCESS_KEY=admin
export MINIO_SECRET_KEY='vtsaiplatform@54321'
export MODEL_STORAGE_PATH=models
mc alias set minio "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY" --api S3v4
mc mirror --overwrite \
/home/jovyan/projects/models/deepseek-v4-flash \
minio/$MODEL_STORAGE_PATH/deepseek-v4-flash
mc ls --recursive --summarize minio/$MODEL_STORAGE_PATH/deepseek-v4-flash