release: 0.8.8 — glq-quantize defaults to the trellis codebook - #68
Merged
Conversation
The headline is a behaviour change: `--codebook` now defaults to `trellis` (3INST variant) instead of `e8_shell`. Anyone who quantizes without naming a codebook gets a different format from this release on. That was already the recommended path — the README said so and the checkpoint table marked a trellis build as the fastest GLQ decode — while the CLI still handed out lattice checkpoints. Also in this release: - Pre-flight names the fix when the host gcc is newer than CUDA accepts, instead of letting the build die in ninja. fedora:44 ships gcc 16 against CUDA's cap of 15; a compat compiler plus NVCC_CCBIN makes a source install work there for the first time. - The README documents that on Blackwell (sm_120) without a CUDA Toolkit, vLLM's FlashInfer sampler compiles at startup and takes the engine down — glq-chat falls back on its own, `vllm serve` and `LLM(...)` do not. - The distro matrix stopped producing false failures: it sent SIGINT to a nohup'd job where SIGINT is SIG_IGN, matched PID 1 in its own process check, curled the UI before gradio was up, and never asserted on the one signal that cannot be fooled. Version bumped in five places: pyproject.toml, glq/__init__.py, the Dockerfile's GLQ_VERSION default plus its three build comments, and the glq[quantize] pin in infra/setup.sh.tftpl. install.sh needs no change — it defaults to latest on PyPI. The 0.8.7 references left in .github/workflows/docker.yml and tests/test_installer_distros.py are prose about past releases, not pins.
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.
The headline is a behaviour change:
--codebooknow defaults totrellis(3INST variant) instead ofe8_shell. Anyone who quantizes without naming a codebook gets a different format from this release on.That was already the recommended path — the README said so, and the checkpoint table marked a trellis build as "fastest GLQ decode" — while the CLI still handed out lattice checkpoints. Trellis wins where bits are scarcest: SmolLM3-3B at 2 bpw is PPL 11.94 vs 13.79.
What a user notices
glq-quantizeproduces trellis-3INST by default. Uniform integer bit-rates only (2–8); fractional and per-layer mixed precision now need--codebook e8_shell, and the refusal says so.hyb→3inst, because the fused CUDA kernels consume a 3INST checkpoint. Defaulting to trellis alone would have shipped checkpoints with no fast path.NVCC_CCBINmakes a source install work there for the first time. It is a note, not a blocker — prebuilt wheels compile nothing and are unaffected.glq-chatfalls back on its own;vllm serveandLLM(...)do not.Version pins
Five places:
pyproject.toml,glq/__init__.py, the Dockerfile'sGLQ_VERSIONdefault plus its three build comments, and theglq[quantize]pin ininfra/setup.sh.tftpl.install.shneeds no change — it defaults to latest on PyPI.The remaining
0.8.7strings in.github/workflows/docker.ymlandtests/test_installer_distros.pyare prose about past releases, not pins, and are deliberately left.Validation
install.sh --glq-sourcewithNVCC_CCBINexported → install exit 0,EXT_OK:True, 0 gcc errors. The extension builds where it previously could not.Existing checkpoints
Unaffected. Nothing here changes the encode or storage format of an already-quantized model — only which codebook a new quantization picks when the user does not choose.