Repository navigation
docs(jit): require sccache >= 0.18; single setting RuntimeConfig.compiler_cache - #6505
Merged
Merged
Conversation
…er_cache - Rename `jit_compiler_launcher` to `compiler_cache` (#6502 just merged; no release carries the old name). `RuntimeConfig.compiler_cache` is the one public setting; the `KernelConfig` field is only the internal carrier every RuntimeConfig field uses. Log messages point at RuntimeConfig. - Document that an sccache on PATH must be >= 0.18.0 (older drops the cicc/ptxas steps of CUDA 13.3+ builds) in docs/jit-kernel-builds.md, docs/kernel-config.md, README install notes, AGENTS.md and the gptqmodel-agent-workflow skill (check `sccache --version` before building or testing kernels; distro packages ship 0.13). - Make the jit-kernel-builds.md example runnable on a CPU-only, offline host (it referenced an undefined `model_id` and failed the docs test). Co-Authored-By: Claude Opus 5.5 <[email protected]>
2 tasks done
Qubitium
marked this pull request as ready for review
December 1, 2026 01:28
Qubitium
added a commit
that referenced
this pull request
Dec 1, 2026
…6506) `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 was referenced Dec 1, 2026
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
Follow-up to #6502:
jit_compiler_launcher→RuntimeConfig.compiler_cache.RuntimeConfigis the public home for shared host controls. TheKernelConfigfield stays only as the internal carrier that everyRuntimeConfigfield uses (RuntimeConfig.to_kernel_config()); docs and log messages now point only atRuntimeConfig. fix(jit): refuse sccache < 0.18 (drops cicc/ptxas on CUDA 13.3), remember failed builds #6502 merged hours ago and no release carries the old name, so there is no compatibility shim.docs/jit-kernel-builds.md(requirement callout at the top);docs/kernel-config.md;AGENTS.mdrepository-wide rules;gptqmodel-agent-workflowskill: checksccache --versionbefore building or testing kernels, and upgrade instead of working around a failed build. Distro packages (Ubuntu) ship 0.13.jit-kernel-builds.mdPython example referenced an undefinedmodel_id, so it failedtest_doc_python_example_runs. It now builds aQuantizeConfigwith the runtime setting and runs on a CPU-only, offline host.flowchart LR U["RuntimeConfig(compiler_cache=...)"] --> K["KernelConfig.compiler_cache<br/>(internal carrier)"] --> B[JIT build policy in utils/cpp.py] S["sccache on PATH"] --> V{"sccache --version >= 0.18.0?"} V -- no / unreadable --> N[build without launcher, log why] V -- yes --> BTest plan
tests/test_torch_ops_jit_extension.py,test_kernel_config.py,test_backend_config.py,test_runtime_config_4448.py: 235 passed.tests/test_docs_contract_refs.pyfor the touched docs (jit-kernel-builds, kernel-config, README, AGENTS): 156 passed.jit-kernel-builds.mdblock now executes.mainand are fixed separately.[email protected]lint gate clean.🤖 Generated with Claude Code