Repository navigation
test(docs): fix docs-contract failures left by #6473/#6492/#6500 - #6506
Merged
Merged
Conversation
`tests/test_docs_contract_refs.py` had 8 failures on main: - docs/cancelled-run-contract.md (+ the citation table) still cited `_copy_checkpoint_tensors_into_submodule` / `_publish_checkpoint_param_` in gptqmodel/utils/structure.py; #6473 moved both to gptqmodel/weight_loader/source.py. - docs/weight-loader.md blocks 0/1 (#6473) executed on a CPU-only host: a two-accelerator `accel:0`/`accel:1` placement map and a continuation that needs `model` and a real checkpoint. Skip-listed with reasons. - docs/measurement.md block 3 is a continuation snippet (prose-defined `texts`, `tokenizer`, models); skip-listed. - Skip-list digests refreshed for docs/calibration-config.md::0 (#6500 added `exclude_attention_sinks=None`) and docs/looper-checkpoint-redesign.md::0 (#6492 added subset intervals); both reasons still hold. The eighth, docs/jit-kernel-builds.md::0, is fixed in #6505. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Summary
tests/test_docs_contract_refs.pyhas 8 failures onmain, all left by recent merges. This PR fixes 7. The eighth (docs/jit-kernel-builds.md::0) is fixed in #6505.cancelled-run-contract.mdcites_copy_checkpoint_tensors_into_submodule,_publish_checkpoint_param_inutils/structure.py(2 parametrized cases + the all-citations test)weight_loader/source.pygptqmodel/weight_loader/source.pyweight-loader.md::0(PlacementError: accel:0 requested but this host has no accelerator)weight-loader.md::1modelcomes from the prose, checkpoint is a placeholder pathmeasurement.md::3(NameError: texts)test_doc_block_skip_lists_are_current:calibration-config.md::0,looper-checkpoint-redesign.md::0flowchart LR A[doc python block] --> B{skip-listed with matching digest?} B -- yes --> S[skip] B -- no --> C{imports gptqmodel?} C -- yes --> R[run CPU-only, Hub offline] C -- no --> K[compile only]Test plan
tests/test_docs_contract_refs.py: 243 passed, 1 failed. The failure isjit-kernel-builds.md::0, which docs(jit): require sccache >= 0.18; single setting RuntimeConfig.compiler_cache #6505 fixes; onmainthe file has 8 failures.[email protected]lint gate clean.🤖 Generated with Claude Code