Download scripts/run_all.sh from Dawn9705/olmes-qwen3-base-code-reference: direct link, hf CLI and curl.
- Browser
- Download file 910 Bytes
-
https://huggingface.co/datasets/Dawn9705/olmes-qwen3-base-code-reference/resolve/main/scripts/run_all.sh
- Command line
-
hf download hf://datasets/Dawn9705/olmes-qwen3-base-code-reference/scripts/run_all.sh
-
curl -L -o run_all.sh https://huggingface.co/datasets/Dawn9705/olmes-qwen3-base-code-reference/resolve/main/scripts/run_all.sh
910 Bytes
| set -euo pipefail | |
| ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| SESSION="${TMUX_SESSION:-work}" | |
| tmux has-session -t "${SESSION}" 2>/dev/null || { | |
| echo "tmux session 不存在:${SESSION}" >&2 | |
| exit 1 | |
| } | |
| launch() { | |
| local window="$1" model="$2" | |
| if tmux list-windows -t "${SESSION}" -F '#{window_name}' | grep -Fxq "${window}"; then | |
| echo "tmux window 已存在:${SESSION}:${window}" >&2 | |
| return 1 | |
| fi | |
| tmux new-window -d -t "${SESSION}" -n "${window}" \ | |
| "bash -lc 'cd \"${ROOT_DIR}\" && exec bash common/run_lane.sh \"${model}\"'" | |
| echo "已启动:${SESSION}:${window} -> ${model}" | |
| } | |
| # 大权重先启动;相邻 lane 错开,降低共享存储瞬时读取压力。 | |
| launch npu_ref_q35 qwen35_n128_188b_i119210 | |
| sleep 30 | |
| launch npu_ref_q8 qwen3_8b_base | |
| sleep 30 | |
| launch npu_ref_q06 qwen3_0p6b_base | |
| echo "三条 lane 已全部交给 tmux ${SESSION}。" | |