Skip to content

AUT-681 Fix QAD functional test: use local jsonl for PTQ calibration to avoid offline HF Hub fetch#5651

Open
svcnemo-autobot wants to merge 1 commit into
NVIDIA:pull-request/4520from
svcnemo-autobot:ci/implement-234d0e7b7d26
Open

AUT-681 Fix QAD functional test: use local jsonl for PTQ calibration to avoid offline HF Hub fetch#5651
svcnemo-autobot wants to merge 1 commit into
NVIDIA:pull-request/4520from
svcnemo-autobot:ci/implement-234d0e7b7d26

Conversation

@svcnemo-autobot

Copy link
Copy Markdown
Collaborator

The new hybrid_nemotron_v3_pico_7b_a1b_tp1_ep8_QAD_dgx_h100_1N8G test did run in the linked run's attempt 2, but failed at its PTQ (Stage 1) step with ConnectionError: Couldn't reach 'nvidia/Nemotron-Post-Training-Dataset-v2' on the Hub (OfflineModeIsEnabled) because calibration was pointed at a HuggingFace-Hub dataset while the CI runner is offline. I changed the test's model_config.yaml --calib-dataset-path-or-name from cnn_dailymail to the local SFT jsonl the test already stages (${DATA_PATH}/text/nemotron-3-super-sft_train-sample.jsonl), which routes through the offline local-.jsonl calibration path that PR #4520's own quantize.py change added — removing the Hub dependency. Assumed the local-file calibration path is exercised (per PR #4520's os.path.isfile(...) and endswith(".jsonl") guard); if you intended the calibration to keep using a Hub dataset and instead want it pre-cached under the runner's HF_HOME, comment and I'll switch approaches.

… fetch

The hybrid_nemotron_v3_pico_7b_a1b_tp1_ep8_QAD_dgx_h100_1N8G functional test's
PTQ (Stage 1) step passed `--calib-dataset-path-or-name cnn_dailymail`, which
makes ModelOpt fetch a calibration dataset from the HuggingFace Hub. The CI
runner is offline, so calibration aborts with
`ConnectionError: Couldn't reach '...' on the Hub (OfflineModeIsEnabled)`.

Point calibration at the local SFT jsonl the test already stages
(`${DATA_PATH}/text/nemotron-3-super-sft_train-sample.jsonl`, also used as
`--data-path`), so the local-file calibration path is used and no Hub access
is required.
@copy-pr-bot

copy-pr-bot Bot commented Jul 4, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@svcnemo-autobot

Copy link
Copy Markdown
Collaborator Author

/ok to test d98813b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant