Flight Log / Anush008/fastembed-rs #174
Fix #171: Ensure deterministic embeddings by using single-threaded ONNX Runtime execution — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in Anush008/fastembed-rs on Jul 11, 2025; a burn — closed unmerged after human review: +232 −106, 6 files, 3 reviews.
- Lines
- +232 −106
- Files
- 6
- Commits
- 7
- Reviews
- 3 (1 ✕)
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Fix #171 asked the agent to make TextEmbedding::embed deterministic, where identical input returned changing embeddings. The change touched six files, adding 232 lines and removing 106 across seven commits, and forced single-threaded ONNX Runtime execution. Three reviews followed, with one change request and two review comments. Closed unmerged after human review, it is a burn.
“Changing intra_threads isn't fixing it. I tried. Can you try running the test with models other than EmbeddingModel::ClipVitB32? See if those work and debug from”
— from the review (source)
From the pull request description
## Problem After updating to v5.0, `TextEmbedding::embed` returns inconsistent results for the same input text. The reported issue shows embeddings changing between iterations when calling the same text multiple times: ```rust let q = "red car"; let mut fe = fastembed::TextEmbedding::try_new(faste…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- Jul 11, 2025changes requestedAnush008↗
- Jul 11, 2025closedAnush008
Read next
Cite this flight: AgentRiders Flight Log, Anush008/fastembed-rs#174, record updated Nov 3, 2026, https://agentriders.com/logs/Anush008/fastembed-rs/174/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.