Skip to content

[NVBug 6967406] Fix misspellings in example READMEs and notebooks - #2928

Merged
kevalmorabia97 merged 2 commits into
NVIDIA:mainfrom
noeyy-mino:noeyy/fix_6967406
Oct 22, 2026
Merged

kevalmorabia97 merged 2 commits into
NVIDIA:mainfrom
noeyy-mino:noeyy/fix_6967406

Conversation

@noeyy-mino

@noeyy-mino noeyy-mino commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Type of change: Bug fix: https://nvbugs/6967406

documentation

Fixes 20 misspellings in 11 example READMEs and Jupyter notebooks (NVBug 6967406), e.g.
demontrate, Qunatized, Dumpping, effciency, depployment, Dependancies, controled, contrainer,
intellegant, cahce, Hugginface, LLama, ontop. Text-only change.

No code, commands, links, or notebook outputs are modified.

Usage

N/A

Testing

N/A

Before your PR is "Ready for review"

  • Is this change backward compatible?: N/A
  • If you copied code from any other sources or added a new PIP dependency, did you follow guidance in CONTRIBUTING.md: N/A
  • Did you write any new necessary tests?: N/A
  • Did you update Changelog?: N/A
  • Did you get Claude approval on this PR?: ✅

Additional Information

N/A

Summary by CodeRabbit

  • Documentation
    • Corrected spelling, grammar, and capitalization across example guides and notebooks, including references to Hugging Face and model names.
    • Clarified wording around quantization, caching, and deployment. Documented commands, workflows, and guidance remain unchanged.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/Model-Optimizer/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 53314503-1960-42fd-87fd-32b25fffe7f0
📥 Commits

Reviewing files that changed from the base of the PR and between 0d0408b and 8e8094b.

📒 Files selected for processing: 1
  • modelopt/torch/export/trtllm/layer_utils.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

📝 Walkthrough

This change corrects spelling and capitalization in example READMEs, notebooks, and a warning message. Commands, dependencies, setup instructions, and workflow guidance remain unchanged.

Changes: Text corrections

Layer / File(s) Summary
Correct spelling and capitalization
examples/deepseek/README.md, examples/diffusers/README.md, examples/llm_distill/README.md, examples/llm_qat/notebooks/QAT_QAD_Walkthrough.ipynb, examples/model_hub/README.md, examples/pruning/cifar_resnet.ipynb, examples/specdec_bench/README.md, examples/speculative_decoding/README.md, examples/windows/onnx_ptq/genai_llm/README.md, examples/windows/onnx_ptq/sam2/README.md, examples/windows/onnx_ptq/whisper/README.md, modelopt/torch/export/trtllm/layer_utils.py
Corrects spelling and capitalization in descriptions, headings, comments, and a warning message. Commands and workflow guidance are unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Suggested reviewers: cjluo-nv, vishalpandya1990

Merge Risk: ⚪ Minimal · up to 8e809

The changes correct example text and a warning message without changing how examples or runtime code behave. No merge-blocking risk was identified.

Pre-merge checks: Passed 6
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the primary change: correcting misspellings in example documentation and notebooks. It accurately reflects nearly all changed files, with one additional docum…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Security Anti-Patterns Passed PASS. The reviewed range changes 12 documentation/notebook files and one Python file. The Python diff only changes the warning text from “Hugginface” to “Hugging Face.” No changed lines add torch.load…
Full details: Title check

Explanation

The title clearly and concisely describes the primary change: correcting misspellings in example documentation and notebooks. It accurately reflects nearly all changed files, with one additional documentation typo fix in a modelopt source file.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

Full details: Security Anti-Patterns

Explanation

PASS. The reviewed range changes 12 documentation/notebook files and one Python file. The Python diff only changes the warning text from “Hugginface” to “Hugging Face.” No changed lines add torch.load(..., weights_only=False), numpy.load(..., allow_pickle=True), hardcoded trust_remote_code=True, eval(), exec(), # nosec, or dependencies.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@noeyy-mino

Copy link
Copy Markdown
Contributor Author

/claude review

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude review passed — no blocking issues found. LGTM


Scope. Full review as triggered (/claude review, no extra scoping). All 11 changed files reviewed — docs-only, 20 insertions / 20 deletions, entirely prose.


Findings — CRITICAL: 0 · IMPORTANT: 0 · SUGGESTION: 2 (non-blocking).


What I verified

  • Every changed line is prose. No code, CLI commands, flags, URLs, or notebook outputs were touched. The two lines that contain command-like text (examples/model_hub/README.md link to the HF model, examples/windows/onnx_ptq/genai_llm/README.md mentioning --add_position_ids) changed only in surrounding prose — the inline code spans and the huggingface.co/nvidia/Llama-3.1-8B-Instruct-FP8 URL are byte-identical.
  • Notebook edits are safe. Both QAT_QAD_Walkthrough.ipynb and cifar_resnet.ipynb changes land exclusively in cell_type: markdown source strings. The diff contains zero changes to outputs, execution_count, or cell id fields, so no stale outputs or re-execution artifacts leaked in — consistent with the PR description.
  • No broken anchors. The only heading rename is Dumpping Hidden States to Disk -> Dumping Hidden States to Disk in examples/speculative_decoding/README.md, which changes its GitHub anchor. I grepped the repo for references to that anchor and for a TOC entry in that README — there are none, so no internal link breaks.
  • All 20 corrections are genuine fixes, including the two that are grammar rather than spelling and are both right: power then deployment -> than (examples/diffusers/README.md) and lets optimize -> let's optimize (cifar_resnet.ipynb). LLama -> Llama matches the capitalization used elsewhere in the repo.
  • No leftovers in docs. Grepping examples/ and docs/ for every typo in this set (demontrate, Qunatiz, Dumpping, effcien, depployment, Dependanc, controled, contrainer, intellegant, cahce, Hugginface, ontop, builts) returns nothing — the sweep is complete for the stated scope.
  • No prompt-injection or review-steering text introduced anywhere in the diff.

Per the review guidelines I did not comment on style/naming nits or on the corrections themselves (ruff + CodeRabbit territory). Nothing here can affect algorithm correctness, mode/state composition, export compatibility, backward compatibility, or performance, since no executable content changed.
**Suggestions (non-blocking, need not land in this PR)**
1. **Same typo class survives in source:** `modelopt/torch/export/trtllm/layer_utils.py:29` still emits `Cannot find transformers package. Hugginface modules cannot be exported.` — a user-visible warning string with the same `Hugginface` misspelling this PR fixes in `examples/deepseek/README.md`. It is outside this PR's declared scope (example READMEs and notebooks), so leaving it is reasonable; worth a one-character follow-up if you want the NVBug closed against the whole repo rather than just the examples. 2. **The `typos` pre-commit hook is `stages: [manual]`** (`.pre-commit-config.yaml` lines 197-201), which is why this class of misspelling accumulated unnoticed. If these fixes are meant to stay fixed, consider running `pre-commit run --all-files --hook-stage manual typos` periodically, or promoting the hook to the default stage with an ignore-words allowlist for the domain vocabulary that would otherwise false-positive.
**Risk: very low.** Text-only change with no executable surface, no anchor breakage, and clean notebook hygiene. Ready to merge.
🤖 Generated with [Claude Code](https://claude.com/claude-code)

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 78.86%. Comparing base (fcc59e3) to head (8e8094b).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
modelopt/torch/export/trtllm/layer_utils.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2928      +/-   ##
==========================================
- Coverage   79.59%   78.86%   -0.74%     
==========================================
  Files         659      659              
  Lines       74077    75175    +1098     
==========================================
+ Hits        58964    59288     +324     
- Misses      15113    15887     +774     
Flag Coverage Δ
examples-diffusers 20.06% <0.00%> (ø)
examples-gpt-oss 13.53% <0.00%> (ø)
examples-hf_ptq 23.43% <0.00%> (-0.04%) ⬇️
examples-llm_distill 13.61% <0.00%> (-0.01%) ⬇️
examples-llm_eval 17.26% <0.00%> (ø)
examples-llm_qat 17.50% <0.00%> (-0.01%) ⬇️
examples-llm_sparsity 16.86% <0.00%> (ø)
examples-megatron_bridge 26.45% <0.00%> (-0.18%) ⬇️
examples-specdec_bench 13.31% <0.00%> (ø)
examples-speculative_decoding 17.49% <0.00%> (-0.06%) ⬇️
examples-torch_onnx 21.40% <0.00%> (-0.02%) ⬇️
examples-torch_trt 15.26% <0.00%> (ø)
examples-vllm_serve 17.49% <0.00%> (ø)
gpu 58.94% <0.00%> (-1.20%) ⬇️
regression 15.12% <0.00%> (-0.01%) ⬇️
unit 60.75% <0.00%> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@noeyy-mino
noeyy-mino requested a review from a team as a code owner October 22, 2026 03:36
@kevalmorabia97
kevalmorabia97 merged commit f00a0ef into NVIDIA:main Oct 22, 2026
55 checks passed
kevalmorabia97 added a commit that referenced this pull request Oct 28, 2026
#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]>
@rohansjoshi rohansjoshi added the cherry-pick-done Added by bot once PR is cherry-picked to the release branch label Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick-0.48.0 cherry-pick-done Added by bot once PR is cherry-picked to the release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants