Skip to content

fix(scripts): correct model config source path in FP8 low_precision scripts#2094

Open
aoshen02 wants to merge 2 commits into
THUDM:mainfrom
aoshen02:fix/low-precision-source-path
Open

fix(scripts): correct model config source path in FP8 low_precision scripts#2094
aoshen02 wants to merge 2 commits into
THUDM:mainfrom
aoshen02:fix/low-precision-source-path

Conversation

@aoshen02

Copy link
Copy Markdown
Contributor

Summary

  • Fix incorrect source path in 2 FP8 scripts under scripts/low_precision/
  • ${SCRIPT_DIR}/../scripts/models/ resolves to scripts/scripts/models/ (non-existent) because SCRIPT_DIR = scripts/low_precision/
  • Changed to ${SCRIPT_DIR}/../models/ to match the INT4 scripts in the same directory

Affected files

  • scripts/low_precision/run-qwen3-30b-a3b-fp8.sh
  • scripts/low_precision/run-qwen3-4b-fp8.sh

Test plan

  • Verified all 6 low_precision/ scripts now use consistent ../models/ path
  • Confirmed INT4 scripts already had the correct path (no changes needed)

🤖 Generated with Claude Code

aoshen02 and others added 2 commits June 17, 2026 01:23
…cripts

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) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant