Skip to content

Fix quantization non-contiguous input#4498

Merged
laggui merged 8 commits intomainfrom
fix/quant
Feb 11, 2026
Merged

Fix quantization non-contiguous input#4498
laggui merged 8 commits intomainfrom
fix/quant

Conversation

@laggui
Copy link
Member

@laggui laggui commented Feb 10, 2026

Checklist

  • Confirmed that cargo run-checks command has been executed.

Related Issues/PRs

Fixes #4491
Requires tracel-ai/cubek#84

Changes

Updated cubek rev for the fix and added regression tests

Testing

Unit tests

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 98.55072% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.29%. Comparing base (b7b388b) to head (9a289c5).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...ts/tests/tensor/float/quantization/ops/quantize.rs 98.55% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4498      +/-   ##
==========================================
+ Coverage   61.26%   61.29%   +0.02%     
==========================================
  Files        1063     1063              
  Lines      134916   134963      +47     
==========================================
+ Hits        82654    82723      +69     
+ Misses      52262    52240      -22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@laggui laggui merged commit 9d898e2 into main Feb 11, 2026
11 checks passed
@laggui laggui deleted the fix/quant branch February 11, 2026 16:40
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.

Quantization of noncontiguous memory tensors produces catastrophically wrong values on the WGPU backend

1 participant