From 28f421c3ee7cf1c39e6f77131d63f72edb99454b Mon Sep 17 00:00:00 2001 From: aoshen02 Date: Wed, 17 Jun 2026 01:23:36 +0000 Subject: [PATCH] fix(scripts): correct model config source path in FP8 low_precision scripts The two FP8 scripts under `scripts/low_precision/` used `${SCRIPT_DIR}/../scripts/models/` to source the model config, but since SCRIPT_DIR resolves to `scripts/low_precision/`, the `../scripts/models/` path expands to `scripts/scripts/models/` which does not exist. The INT4 scripts in the same directory already use the correct relative path `../models/`. Align the FP8 scripts to match. Co-Authored-By: Claude Opus 4.6 (1M context) --- scripts/low_precision/run-qwen3-30b-a3b-fp8.sh | 2 +- scripts/low_precision/run-qwen3-4b-fp8.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/low_precision/run-qwen3-30b-a3b-fp8.sh b/scripts/low_precision/run-qwen3-30b-a3b-fp8.sh index 402076e64b..deb05a6a5c 100644 --- a/scripts/low_precision/run-qwen3-30b-a3b-fp8.sh +++ b/scripts/low_precision/run-qwen3-30b-a3b-fp8.sh @@ -25,7 +25,7 @@ fi echo "HAS_NVLINK: $HAS_NVLINK (detected $NVLINK_COUNT NVLink references)" SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" -source "${SCRIPT_DIR}/../scripts/models/qwen3-30B-A3B.sh" +source "${SCRIPT_DIR}/../models/qwen3-30B-A3B.sh" # Base directory for checkpoints and related files (adjust if necessary) BASE_DIR="/root" diff --git a/scripts/low_precision/run-qwen3-4b-fp8.sh b/scripts/low_precision/run-qwen3-4b-fp8.sh index eccf2872d8..f1cc45790f 100644 --- a/scripts/low_precision/run-qwen3-4b-fp8.sh +++ b/scripts/low_precision/run-qwen3-4b-fp8.sh @@ -24,7 +24,7 @@ fi echo "HAS_NVLINK: $HAS_NVLINK (detected $NVLINK_COUNT NVLink references)" SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" -source "${SCRIPT_DIR}/../scripts/models/qwen3-4B.sh" +source "${SCRIPT_DIR}/../models/qwen3-4B.sh" CKPT_ARGS=( --hf-checkpoint /root/Qwen3-4B-FP8