#!/bin/bash # 把 Qwen3.6-27B 下到 /models。目录里已有 ModelScope 的 configuration.json # 和 Hugging Face 模型卡。不要在权重已经齐的机器上再下一份。 set -eu if [ -f /models/Qwen3.6-27B/config.json ]; then echo "权重已在 /models/Qwen3.6-27B" exit 0 fi mkdir -p /usr/cluster/models ln -sfn /usr/cluster/models /models pip3 install -U modelscope modelscope download --model Qwen/Qwen3.6-27B --local_dir /models/Qwen3.6-27B test -f /models/Qwen3.6-27B/config.json echo MODEL_OK