Repository navigation
Tests: build the Q8_0 fixture as heap block data - #548
Merged
Merged
Conversation
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>
23 tasks done
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.
What changes
GemmaDslQuantizedTestandQwenDslQuantizedTestbuilt their Q8_0 weights asQ8MemorySegmentTensorData. 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 within1e-3. TheArenaplumbing goes with the segment.Order
This can merge before the SKaiNET change:
Q8_0BlockTensorDataexists 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