Repository navigation
[NVBug 6972128] Fix broken links - #2937
Conversation
…d notebooks Signed-off-by: Noey Yang <[email protected]>
|
/claude review |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2937 +/- ##
=======================================
Coverage 79.66% 79.66%
=======================================
Files 659 659
Lines 74400 74400
=======================================
Hits 59272 59272
Misses 15128 15128
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Claude review passed — no blocking issues found. LGTM
Scope: Full review — the trigger was a bare /claude review, so no scoping applied. Docs-only PR: 8 files, +21/-21, all 8 reviewed. No modelopt/ source, mode registration, config schema, or public API changes, so Mode/State, Export, and Algorithm-Correctness categories are not applicable.
Verification performed. I resolved every one of the 13 claimed link fixes against the actual checkout rather than taking the description at face value.
Heading anchors — all confirmed to exist:
README.md:examples/torch_onnx/README.md#supported-modelsmaps toSupported Modelsat line 298, and it is the only heading normalizing to that slug, so the anchor is unambiguous. The other 7#support-matrixrows in that table also resolve (hf_ptq:96, diffusers:72, windows:140, llm_qat:114, pruning:172, llm_distill:118, speculative_decoding:443).examples/llm_qat/README.md:#advanced-topicsmaps toAdvanced Topicsat line 185. Worth noting the old#advanced-configurationtarget was an HTML<details id=...>at line 275 — that is a valid GitHub anchor, but it points at the nested Configuration panel rather than the Advanced Topics section the sentence describes, so the new target matches the prose intent better.examples/llm_sparsity/weight_sparsity/README.md: this one link had two faults, both fixed — path depth (../to../../, since the file sits two levels underexamples/andllm_eval/is a sibling ofllm_sparsity/) and anchor casing (#Evaluation-scripts-for-LLM-tasksto#evaluation-scripts-for-llm-tasks, matching the line-1 heading).
Renamed paths — confirmed on disk:
modelopt/torch/puzzletron/anymodel/README.md: the config tree is now owner-prefixed;tests/gpu/torch/puzzletron/resources/configs/meta-llama/Llama-3.1-8B-Instruct/and itspruning/subdir both exist, and the oldconfigs/llama_3_1_8b_instruct/is gone. A repo-wide grep forllama_3_1_8b_instructreturns zero hits, so the rename is fully swept.
Files that never existed — confirmed absent, replacements confirmed valid:
docs/source/reference/holds only0_changelog.rstand1_modelopt_api.rst— no2_qdq_placement.rst, and noguides/9_qdq_placement.rst(the guide is9_autotune.rst). A repo-wide grep forqdq_placementnow returns zero hits.- The three replacement published URLs are structurally sound:
1_modelopt_api.rstrunsautosummarywith:toctree: generatedand:recursive:overmodelopt.onnx/modelopt.torch,autosummary_generate = True, and the_templates/autosummary/module.rstexclusion filter does not dropautotune,prune.pruning, oropt.conversion. Every anchored symbol exists and is in__all__:prune(prune/pruning.py:31),save(opt/conversion.py:495),restore(opt/conversion.py:650). The URL shape matches the convention already used inexamples/hf_ptq/README.md,examples/gpt-oss/README.md,CHANGELOG.rst, and a runtime message intransformers_trainer.py:301. - The notebook conversions are the right call precisely because
cifar_resnet.ipynbis not part of the Sphinx build —docs/source/guides/3_pruning.rst:8links it as an external GitHub URL — so the old../reference/generated/...rstrelative paths could never have resolved from either GitHub or the docs site. Absolute URLs are the only correct fix. Zero../reference/generatedrelative links remain underexamples/. examples/onnx_ptq/autotune/README.md:../README#...to../README.md#...fixes a genuinely dead extensionless link, and the target heading exists atexamples/onnx_ptq/README.md:271.
Contradictory passages — all three are real improvements:
presets/README.md: "two kinds" to "three kinds" matches the three bullets (model/,kv/,diffusers/), and the on-disk listing confirms exactly those three subdirectories. Relocating the schema-preamble paragraph to after the bullet list also fixes a real readability bug — it previously interrupted "split into N kinds:" and its own list.qad_example/README.md: "verified to run ... but runs into OOM" was self-contradictory; "tested on ... and currently runs into OOM" is honest. Thepreprocess_dataset.pytoprocess_dataset.pyfix makes the prose agree with thepython scripts/process_dataset.pycommand directly beneath it.
Findings — CRITICAL: 0 · IMPORTANT: 0 · SUGGESTION: 1
The single suggestion (posted inline) is non-blocking: in examples/onnx_ptq/autotune/README.md the Documentation list now mixes targeting styles — the API Reference became a published HTML URL while the sibling User Guide stayed a relative path to raw .rst source. That relative path is correct as written (../../../ does resolve to the repo root from examples/onnx_ptq/autotune/, which is what the depth fix accomplished), but since 9_autotune.rst is in the published toctree (docs/source/index.rst:131), a reader following it from GitHub lands on reStructuredText markup instead of the rendered guide. Pointing it at guides/9_autotune.html would make the pair consistent and match the raw-source-to-published-HTML treatment this PR already applies in the notebook.
Assessment — risk: very low. Text-only; no executable code, config schema, or public API touched, so there is no backward-compatibility, export, or state-restore surface. Every fix moves a link from broken-or-misleading to verified-correct, and both renames are swept clean repo-wide with no stragglers. The CHANGELOG.rst N/A is right per the contributing guidance — doc link fixes are not changelog-worthy.
Two notes for future passes, neither blocking: the repo has a lychee link checker in .pre-commit-config.yaml gated behind stages: [manual], so none of these breakages would have been caught automatically — running pre-commit run --hook-stage manual lychee would confirm the sweep and may surface siblings this PR did not touch. And anchor-only links like #supported-models stay fragile against future heading renames; the published-URL style used for the API references is the more durable pattern wherever a rendered page exists.
🤖 Generated with Claude Code
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Signed-off-by: noeyy-mino <[email protected]>
#2928 #2885 #2908 #2929 #2950 #2972 #2877 #2951 #2816 #3005 #3012 #2971 #3015 #3006 #3026 #2988 #3028 #1860 #3030 #2612 #3033 #2653 #2599 #2655 #2618 #2868 #3032 #3027 #2869 #2984 #2975 #2345 #3020 #2997 (#3072) ## Cherry-picked PRs - #2817 - #2671 - #2892 - #2876 - #2910 - #2911 - #2919 - #2904 - #2937 - #2928 - #2885 - #2908 - #2929 - #2950 - #2972 - #2877 - #2951 - #2816 - #3005 - #3012 - #2971 - #3015 - #3006 - #3026 - #2988 - #3028 - #1860 - #3030 - #2612 - #3033 - #2653 - #2599 - #2655 - #2618 - #2868 - #3032 - #3027 - #2869 - #2984 - #2975 - #2345 - #3020 - #2997 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Diffusion exports now offer more control over attention-quantizer metadata and preserve sparse-attention settings in a format compatible with downstream tooling. * Model loading better handles select bundled model implementations, and Docker guidance now covers writable CUDA-extension cache locations. * **Bug Fixes** * Improved reliability for model export and checkpoint saving, quantization across devices, ONNX processing, and calibration. * Temporary TensorRT and autotuning artifacts now use private directories by default. * **Documentation** * Updated installation guidance, compatibility notes, and links; corrected typos across guides and examples. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Chad Voegele <[email protected]> Signed-off-by: Rohan Joshi <[email protected]> Signed-off-by: LinCanNerd <[email protected]> Signed-off-by: Keval Morabia <[email protected]> Signed-off-by: weimingc <[email protected]> Signed-off-by: Noey Yang <[email protected]> Signed-off-by: Kai Xu <[email protected]> Signed-off-by: Zhehao Hu <[email protected]> Signed-off-by: noeyy-mino <[email protected]> Signed-off-by: joe-nv <[email protected]> Signed-off-by: yingguo-trt <[email protected]> Signed-off-by: Shengliang Xu <[email protected]> Signed-off-by: Chenjie Luo <[email protected]> Signed-off-by: anmaurya001 <[email protected]> Signed-off-by: Connor Baker <[email protected]> Signed-off-by: wiederse <[email protected]> Signed-off-by: Vu Dinh <[email protected]> Signed-off-by: Pratik Gandhi <[email protected]> Signed-off-by: Michael Rusu <[email protected]> Signed-off-by: Michael-Rusu <[email protected]> Signed-off-by: namgyu-youn <[email protected]> Signed-off-by: Sylvester Kaczmarek <[email protected]> Signed-off-by: Javier de Jesus <[email protected]> Signed-off-by: javierdejesusda <[email protected]> Signed-off-by: Zhiyu Cheng <[email protected]> Signed-off-by: Juhi Mittal <[email protected]> Signed-off-by: Dmitry Rantovov <[email protected]> Signed-off-by: h-guo18 <[email protected]> Co-authored-by: Chad Voegele <[email protected]> Co-authored-by: LinCanNerd <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Keval Morabia <[email protected]> Co-authored-by: Wei-Ming Chen <[email protected]> Co-authored-by: noeyy-mino <[email protected]> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: kaix-nv <[email protected]> Co-authored-by: Zhehao Hu <[email protected]> Co-authored-by: joe <[email protected]> Co-authored-by: yingguo-trt <[email protected]> Co-authored-by: Shengliang Xu <[email protected]> Co-authored-by: Chenjie Luo <[email protected]> Co-authored-by: anmaurya001 <[email protected]> Co-authored-by: Connor Baker <[email protected]> Co-authored-by: Jiao Mingyang <[email protected]> Co-authored-by: Vu Dinh <[email protected]> Co-authored-by: Pratik Gandhi <[email protected]> Co-authored-by: Michael R <[email protected]> Co-authored-by: Michael-Rusu <[email protected]> Co-authored-by: namgyu-youn <[email protected]> Co-authored-by: Sylvester Kaczmarek <[email protected]> Co-authored-by: Javier De Jesus <[email protected]> Co-authored-by: Zhiyu <[email protected]> Co-authored-by: Juhi Mittal <[email protected]> Co-authored-by: Dmitry Rantovov <[email protected]> Co-authored-by: h-guo18 <[email protected]>
What does this PR do?
Type of change: Bug fix: https://nvbugs/6972128, documentation.
Fix 13 broken links (stale heading anchors, wrong relative paths, a
renamed config directory, and references to docs files that never
existed) and 3 passages that contradicted the list or command next to
them. Text-only change.
Usage
N/A
Testing
N/A
Before your PR is "Ready for review"
CONTRIBUTING.md: N/AAdditional Information
N/A
Summary by CodeRabbit