Skip to content

fix: distill models are float32, small test fix - #420

Merged
stephantul merged 1 commit into
mainfrom
float32
Nov 27, 2026
Merged

stephantul merged 1 commit into
mainfrom
float32

Conversation

@stephantul

Copy link
Copy Markdown
Contributor

This PR makes distilled models float32 by default, up from float16, because this matches model2vec-rs performance better. It also fixes a test that would crash in sandboxes, which kept tripping up agents.

@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Confidence Score: 4/5 · The PR appears safe to merge, with a non-blocking request to test the new default.RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The new default dtype reaches callers creating distilled or randomly initialized models.

The PR appears safe to merge, with a non-blocking request to test the new default.

Reviews (1) · Last reviewed commit: "fix: distill models are float32, small t..." · Reviewed by Greptile

Comment thread model2vec/distill/distillation.py Resolved
@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
model2vec/distill/distillation.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stephantul
stephantul merged commit 15ceec7 into main Nov 27, 2026
14 checks passed
@stephantul
stephantul deleted the float32 branch November 27, 2026 10:07
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