Skip to content

Tests: build the Q8_0 fixture as heap block data - #548

Merged
michalharakal merged 1 commit into
developfrom
fix/q8-fixture-heap-block-data
Nov 22, 2026
Merged

michalharakal merged 1 commit into
developfrom
fix/q8-fixture-heap-block-data

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

What changes

GemmaDslQuantizedTest and QwenDslQuantizedTest built their Q8_0 weights as Q8MemorySegmentTensorData. SKaiNET removes that class in SKaiNET-developers/SKaiNET#1546: no loader or factory produced it, only tests.

Both tests now build the same weight as Q8_0BlockTensorData(shape, bytes). The assertions are unchanged: the Q8 model's logits must match the FP32 model's within 1e-3. The Arena plumbing goes with the segment.

Order

This can merge before the SKaiNET change: Q8_0BlockTensorData exists in SKaiNET 0.63.0, which this repository builds against. It must be in before this repository moves to a SKaiNET version that has #1546.

Verification

./gradlew :llm-inference:gemma:jvmTest --tests '*GemmaDslQuantizedTest*' :llm-inference:qwen:jvmTest --tests '*QwenDslQuantizedTest*' against SKaiNET 0.63.0: both pass (1 test each).

🤖 Generated with Claude Code

GemmaDslQuantizedTest and QwenDslQuantizedTest built their Q8_0 weights
as Q8MemorySegmentTensorData. SKaiNET removes that class
(SKaiNET-developers/SKaiNET#1546): nothing but tests produced it.
Q8_0BlockTensorData is the same weight on the heap and exists in the
SKaiNET version this repository builds against today.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@michalharakal
michalharakal merged commit dc8e18a into develop Nov 22, 2026
2 checks passed
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.

1 participant