This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 472
The engine caches the data in the translation #559
Comments
Hi, During translation, the memory only increases if the batch size increases or the sentence length increases. |
Did you already set this environment variable?
|
Hi @guillaumekln , I shouldn't have set it up. Excuse me, how should I do it? |
Try: THC_CACHING_ALLOCATOR=0 th translate.lua <your options> |
It doesn't look like it has any effect. @guillaumekln |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
When we are translating a sentence. The engine will automatically increase the memory of the graphic card.
Engine error occurs(OOM) when the memory of the video card is full.
Is it possible to turn off the engine caching mechanism?
thanks
The text was updated successfully, but these errors were encountered: