Skip to content

[1/2] docs: date-prefix announcement filenames - #2917

Merged
kevalmorabia97 merged 3 commits into
mainfrom
kmorabia/announcements-date-prefix
Oct 21, 2026
Merged

kevalmorabia97 merged 3 commits into
mainfrom
kmorabia/announcements-date-prefix

Conversation

@kevalmorabia97

@kevalmorabia97 kevalmorabia97 commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

Type of change: documentation

Renames every announcement page to <yyyymmdd>-<slug>.rst, using its publication date, so the pages sort by date in the source tree. The index cards and the README blog links point to the new paths. The GitHub Pages announcement's authoring note states the convention.

The old URLs keep working: docs/source/conf.py enables sphinxext-rediraffe (MIT, added to the dev-docs group; uv.lock is left to the weekly bump) and maps each old page to its dated one in rediraffe_redirects. Rediraffe writes a redirect page at every old path that keeps the query and #fragment, and warns (so the --fail-on-warning docs build fails) when a target page does not exist.

Merge order: this is [1/2]; #2915 (GLM-5.3-Flash announcement) is stacked on it.

Usage

N/A (documentation)

Testing

  • git grep for the old announcement paths: no references left in the repo.
  • Clean HTML build (sphinx 9.1, sphinxext-rediraffe 0.3.0, nemo:26.08 container): all 8 dated pages and all 8 redirect pages are written, every index card link resolves, and no warning mentions the announcements, redirects or conf.py. The build had unrelated autodoc warnings from that environment, so it was not run with --fail-on-warning; CI's docs job does that.
  • Added a redirect to a page that does not exist: rediraffe reports it as broken with a warning.

Before your PR is "Ready for review"

  • Is this change backward compatible?: ✅ Old announcement URLs redirect to the new pages.
  • If you copied code from any other sources or added a new PIP dependency, did you follow guidance in CONTRIBUTING.md: ✅ sphinxext-rediraffe is MIT licensed (docs-only dependency).
  • 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

#2899 edits qwen36-w4a4-qad.rst under its old name; git's rename detection should carry the change over, but whichever merges second may need a rebase.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated announcement links to use date-prefixed URLs for improved chronological navigation.
    • Added guidance requiring announcement pages to follow the date-based filename format.
    • Updated the latest news links to reference the new announcement URLs.
  • Bug Fixes
    • Added redirects from legacy announcement URLs so existing bookmarks and links continue to work.

Name announcement pages <yyyymmdd>-<slug>.rst so they sort by date, and point the
index cards and README links at the new paths.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Keval Morabia <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Oct 21, 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: 7246364f-0fe7-44c5-88cf-f568eb81ddd1
📥 Commits

Reviewing files that changed from the base of the PR and between 5e47e2b and 7af729f.

📒 Files selected for processing: 2
  • docs/source/conf.py
  • pyproject.toml

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

📝 Walkthrough

Announcement authoring instructions and links now use date-prefixed paths. Sphinx enables sphinxext.rediraffe and maps legacy announcement paths to dated paths.

Changes: Announcement paths and redirects

Layer / File(s) Summary
Document dated announcement paths
docs/source/announcements/20260813-github-pages-announcements.rst, docs/source/index.rst, README.md
The authoring instructions specify the <yyyymmdd>-<slug>.rst filename format. Announcement links use date-prefixed paths.
Configure announcement redirects
pyproject.toml, docs/source/conf.py
The documentation dependencies include sphinxext-rediraffe. Sphinx enables the extension and maps eight legacy announcement paths to date-prefixed paths.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related issues

  • NVIDIA/cuda-quantum#5386 — This PR adds redirects for renamed announcement pages, which aligns with the issue’s objective of preserving old documentation URLs after content moves.

Suggested reviewers: shengliangxu, cjluo-nv

Merge Risk: ⚪ Minimal · up to 7af72

The dated announcement links and legacy redirects are consistent. No issue identified here needs to be resolved before merging.

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 identifies the primary change: adding date prefixes to announcement filenames.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (1 skipped: 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 The pull request changes documentation configuration, announcement filenames, links, and one optional documentation dependency. It introduces no changes under modelopt/ or examples/ Python files, …
Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (1 skipped: 1 unsupported.)

Full details: Security Anti-Patterns

Explanation

The pull request changes documentation configuration, announcement filenames, links, and one optional documentation dependency. It introduces no changes under modelopt/ or examples/ Python files, and therefore introduces none of the listed Python security anti-patterns. The added sphinxext-rediraffe dependency is identified in the PR description as MIT licensed, which is permissive under this check.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • 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.

@kevalmorabia97

Copy link
Copy Markdown
Collaborator Author

/ok to test c02883d

@kevalmorabia97
kevalmorabia97 marked this pull request as ready for review October 21, 2026 17:23
@kevalmorabia97
kevalmorabia97 requested review from a team as code owners October 21, 2026 17:23

@cjluo-nv cjluo-nv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Bot review (gpt-6.1-sol) — DM the bot to share feedback.

Changes requested: the filename-only cleanup breaks all eight existing public announcement URLs without redirects.

Needs action:

  • Preserve the old announcement URLs with redirects or compatibility pages pointing to the dated URLs; see the inline comment in docs/source/index.rst.
  • Run a clean Sphinx HTML build and verify that all eight dated pages, index links, and legacy redirects resolve; record the results in the PR description.

Comment thread docs/source/index.rst Resolved
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-21 18:31 UTC

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.91%. Comparing base (6d76b59) to head (7af729f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2917      +/-   ##
==========================================
+ Coverage   70.16%   78.91%   +8.75%     
==========================================
  Files         659      659              
  Lines       74081    74081              
==========================================
+ Hits        51978    58463    +6485     
+ Misses      22103    15618    -6485     
Flag Coverage Δ
examples-diffusers 20.04% <ø> (-0.01%) ⬇️
examples-gpt-oss 13.51% <ø> (-0.01%) ⬇️
examples-hf_ptq 23.19% <ø> (-0.04%) ⬇️
examples-llm_distill 13.59% <ø> (-0.01%) ⬇️
examples-llm_eval 17.24% <ø> (+<0.01%) ⬆️
examples-llm_qat 17.48% <ø> (-0.01%) ⬇️
examples-llm_sparsity 15.76% <ø> (-0.01%) ⬇️
examples-megatron_bridge 26.43% <ø> (-0.13%) ⬇️
examples-specdec_bench 13.29% <ø> (-0.01%) ⬇️
examples-speculative_decoding 17.47% <ø> (-0.01%) ⬇️
examples-torch_onnx 21.39% <ø> (-0.01%) ⬇️
examples-torch_trt 15.24% <ø> (-0.01%) ⬇️
examples-vllm_serve 15.08% <ø> (-0.01%) ⬇️
gpu 59.18% <ø> (+37.05%) ⬆️
regression 15.10% <ø> (-0.01%) ⬇️
unit 60.60% <ø> (+<0.01%) ⬆️

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.

@kevalmorabia97

Copy link
Copy Markdown
Collaborator Author

/ok to test 5e47e2b

Replace the custom build-finished hook with the MIT-licensed rediraffe
extension, which writes the same redirect pages and warns on missing targets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Keval Morabia <[email protected]>
@kevalmorabia97
kevalmorabia97 requested a review from a team as a code owner October 21, 2026 17:51
@kevalmorabia97

Copy link
Copy Markdown
Collaborator Author

/ok to test 7af729f

@cjluo-nv cjluo-nv left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Bot review (gpt-6.1-sol) — DM the bot to share feedback.

LGTM: the prior URL-compatibility and build-validation concerns are resolved; human sign-off remains for the new MIT-licensed documentation dependency.

Needs action:

  • Confirm licensing approval for sphinxext-rediraffe in pyproject.toml before merging.

No action needed:

  • ✔️ Resolved since the last review: all eight legacy paths have redirect mappings, and clean-build/link-validation results are recorded in the PR description.
  • The dated filenames, redirect targets, index cards, and README links agree. CI installs dev-docs and builds with --fail-on-warning; leaving uv.lock unchanged follows CONTRIBUTING.md.
  • Build results were reviewed as reported; I did not execute Sphinx locally.

@kevalmorabia97
kevalmorabia97 enabled auto-merge (squash) October 21, 2026 17:55
@kevalmorabia97
kevalmorabia97 merged commit 31e9ea6 into main Oct 21, 2026
58 checks passed
@kevalmorabia97
kevalmorabia97 deleted the kmorabia/announcements-date-prefix branch October 21, 2026 18:30
kevalmorabia97 added a commit that referenced this pull request Oct 28, 2026
…and QAD (#2915)

### What does this PR do?

[2/2], after #2917 (date-prefixed announcement filenames, merged).

Type of change: documentation

**Executive summary**

- **IQ2_S + NVFP4 matches FP8 with no training.** It uses IQ2_S on the
experts' gate and up projections and NVFP4 on their down projections,
3.21 bits per expert weight. The model is ~155 GB, against 328 GB for
FP8 (2.1x smaller), and its six-benchmark mean is within 0.1 points of
FP8.
- **IQ2_S is the smallest option.** At 2.56 bits per weight on all
expert weights, the model is ~130 GB (2.5x smaller), and its mean is 2.3
points below FP8. Most of the loss is runaway generation on long tasks.
- **QAD fixes long-context runaways.** 300 iterations on IQ2_S brought
AA-LCR from 70.0 to 74.0 (FP8 74.9) and cut answers hitting the token
budget from 6.9% to 0.6%. The mean gap shrank from 2.3 to 1.4 points.
- **We recommend the PTQ recipes.** QAD cost ~4,500 GPU-hours, didn't
restore knowledge recall, and IQ2_S + NVFP4 does better without
training. Both recipes still trail FP8 by ~2–3 points on AA-Omniscience.
Evaluations served BF16 fake-quant exports; IQ2_S can also be converted
to an INT8 weight-only checkpoint that vLLM serves at 86 instead of 148
GiB of weights per GPU (#2903).

Adds an announcement page (blog) for the GLM-5.3-Flash IQ2 study, with a
results figure in the Qwen3.6 announcement's style, a card on the
announcements index and a Latest News entry in the README. It presents
two PTQ recipes as alternatives:

| | FP8 checkpoint | IQ2_S | IQ2_S + NVFP4 |
|---|---|---|---|
| Routed experts | FP8 | IQ2_S | IQ2_S gate/up, NVFP4 down |
| Routed-expert bits per weight | 8 | 2.56 | 3.21 |
| Model size | 328 GB | ~130 GB | ~155 GB |
| Mean delta vs FP8, six benchmarks | – | −2.3 | −0.1 |

It also covers knowledge recall (HLE, AA-Omniscience), RULER-1M, QAD on
the IQ2_S model (300 iterations, −1.4, with worse recall), the cost, and
the GLM-specific reproduction steps.

**Blog, not a full tutorial.** QAD did not become the recipe: IQ2_S +
NVFP4 reaches FP8 with PTQ alone. So the page points to the
Qwen3.6-35B-A3B tutorial for the general flow and lists only GLM's
differences: the recipes, `--no_moe_grouped_gemm`, EP16 PTQ and
fake-quant export, long-reasoning calibration, eval settings, and the
QAD flags.

**Baseline:** every delta is against the FP8 release
(`zai-org/GLM-5.3-Flash`), not the BF16 checkpoint. A note near the top
says so.

**Sizes:** computed from each tensor's bits per weight using the FP8
checkpoint's safetensors headers, since evaluation used BF16 fake-quant
exports. The post also covers serving IQ2_S as INT8 weight-only
(`convert_ggml_to_int8.py`, #2903 / #2946): accuracy, weight memory and
vLLM throughput with the Humming kernels. IQ2_S + NVFP4 has no such path
yet.

**Dependencies:** none for merging this docs-only change. Reproducing
the experiments needed:
- ModelOpt: #2873 (merged; GGML PTQ, QAD and fake-quant export for large
MoE/VLM models) and #2539 (GLM-5.3-Flash support for Megatron-Bridge PTQ
and HF export, plus both IQ2_S recipes).
- Megatron-Bridge: NVIDIA-NeMo/Megatron-Bridge#6044 (GLM-5.3-Flash
bridge).
- Megatron-LM: #7521 (mHC precision controls) and #7522 (KPool DSA
indexer), both merged, and the open #7054 (KDA hybrid layers), plus two
training fixes for QAD: ceaa6c5d (#5835, distributed-optimizer save/load
for mixed fp32/bf16 param groups) and bfb17738 (#7522, freeze the DSA
indexer when `dsa_indexer_loss_coeff` is 0).
- transformers >= 5.16.1 (`glm5_next`), nemo:26.10 base image, vLLM >=
0.30 for evaluation.

The recipes stay in #2539: they use Megatron-Bridge module names, and
`examples/hf_ptq` would neither apply GPTQ to the fused HF routed
experts nor match the dense-MLP and NVFP4-down patterns, so they cannot
be used without the Megatron-Bridge support.

**Prefix-caching check (done):** our evals serve vLLM 0.31 with prefix
caching on, which on vLLM < 0.31 corrupts GLM's long-context cache
(vllm#57477). An A/B on FP8 AA-LCR (8 runs each) gives 74.88 ± 0.87 with
caching on and 76.12 ± 0.83 with it off: about one standard error apart,
so the 0.31 fix holds and the published numbers stand.

### Usage

N/A (documentation)

### Testing

- Parsed the new page with docutils: no errors or warnings.
- Did not run a full Sphinx build.

### 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](https://github.com/NVIDIA/Model-Optimizer/blob/main/CHANGELOG.rst)?:
N/A
- Did you get Claude approval on this PR?: ❌

### Additional Information

Dated 2026-10-28, the publish date. The Reproducing section points at
Megatron-LM main (which now has #7521) with #7054 merged in, and at
Megatron-Bridge #6044; it will be updated once both merge.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Keval Morabia <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

3 participants