Skip to content

Conversation

@stephantul
Copy link
Contributor

@stephantul stephantul commented Apr 28, 2025

Using a half precision or int8 model would break training.

Half precision only breaks on CPU, but int8 always breaks, because int8 embeddings are not supported in pytorch.

@stephantul stephantul requested a review from Pringled April 28, 2025 10:39
@codecov
Copy link

codecov bot commented Apr 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
model2vec/train/base.py 100.00% <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 7905629 into main Apr 28, 2025
6 checks passed
@stephantul stephantul deleted the fix-precision-training branch April 28, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants