Reduce tensor-scoring inference memory in Hugging Face test translation path#1073
Draft
Copilot wants to merge 16 commits into
Draft
Reduce tensor-scoring inference memory in Hugging Face test translation path#1073Copilot wants to merge 16 commits into
Copilot wants to merge 16 commits into
Conversation
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/1d43fe05-c924-4848-872d-3ad357553aef Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/1d43fe05-c924-4848-872d-3ad357553aef Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/1d43fe05-c924-4848-872d-3ad357553aef Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/1d43fe05-c924-4848-872d-3ad357553aef Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix out of memory error during experiment.py test step
Reduce tensor-scoring inference memory in Hugging Face test translation path
May 20, 2026
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/318d55d1-ef9f-41ea-962b-48430ef1e230 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/318d55d1-ef9f-41ea-962b-48430ef1e230 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/318d55d1-ef9f-41ea-962b-48430ef1e230 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/318d55d1-ef9f-41ea-962b-48430ef1e230 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/ee62a80c-fe7c-4ffd-b732-fda53446b7c4 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/ee62a80c-fe7c-4ffd-b732-fda53446b7c4 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/e0d13ac1-561a-44de-b3a9-3a9f1f3dab80 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/e0d13ac1-561a-44de-b3a9-3a9f1f3dab80 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/b110343c-0608-42c4-82ec-6d4f0ef3857d Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/b110343c-0608-42c4-82ec-6d4f0ef3857d Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
…batch_size Agent-Logs-Url: https://github.com/sillsdev/silnlp/sessions/06f3a41e-075a-43a6-87b1-2887369bed21 Co-authored-by: benjaminking <1214233+benjaminking@users.noreply.github.com>
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.
_translate_sentences_translate_sentence_helperto_translate_batchand update call sites/testssentencesparameters tobatchwhere called by_translate_sentencesbatch_sizeinto translation pipeline callsThis change is