Repository navigation
docs: re-anchor contract refs after writer.py growth (#4864) - #4877
Merged
Merged
Conversation
Qubitium
added a commit
that referenced
this pull request
Nov 17, 2026
…dels The remote branch also merged origin/main and fixed the `require_load_tokenizer` test doubles (#4923), so the loader takes the branch's `cls.require_load_tokenizer` gate plus its "local port reuses the normalized Tokenicer wrapper" comment. * `docs/fusion-model-coverage.md` — kept this branch's generated table (its descriptions come from the fixture) and folded in the entries only main had: `sensenova_loop` row and the 208/102/106 counts. * `docs/trust-remote-code-isolation.md` — kept this branch's rewrite and re-anchored its `writer.py` citations to the current definition (2638), which main re-anchored in #4877.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4864.
What was stale
tests/test_docs_contract_refs.pypinnedModelWriteratwriter.py:1886, but #4839 shifted the definition towriter.py:1935, so the guard was red on main:While auditing the same table I verified and corrected 15 other stale
writer.pycitations acrossnative-checkpoint-export.md,adapter-rank-pattern-matching.md,auto-nf12-excluded-layers.md,checkpoint-compat.md,dtype-boundary-preservation.md,generation-config-round-trip.md,lora-eora-scaling.md,safetensors-reference-offload.md,trust-remote-code-isolation.md,embedding-checkpoint-shard-replacement.mdandcheckpoint-and-runtime-contracts.md(each re-checked withrg -n/sed -nagainst the current file). The test entry itself moved 1886 -> 1935; the contract check is not weakened.Verification
pytest tests/test_docs_contract_refs.py-> 20 passed, exit 0ruff check gptqmodel tests docs-> cleanResidual risk
writer.pyedit above these symbols can break it again (the issue's derive-from-symbol alternative would weaken the 'doc cites this exact line' check).scale.py,fp8.py) were left untouched as unrelated.