-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separating workspace from TranslationModel #223
Conversation
A small test app? I want to see how exactly it gets used. |
Umm.. this is a draft PR so I can take something concrete to discussions. There is a forward backward test-app (demonstrating working for outbound translation) which passes in tests. bergamot-translator/src/tests/apps.cpp Line 59 in cf541c6
However, I don't trust the current state in a multi-threaded high volume multiple models setting. So we are looking at a larger experiment where Due to batching differences and floating-point approximations I don't expect exact matches. Therefore it will be compared with relaxations (BLEU?). The above is a large test-app, so will take some time. In any case, there are known issues: 1, in namespacing which will cause overwrites which will need to be fixed by altering |
What's the problem with multiple threads? Each thread has its own scorer and graph? |
No, scorer is a property of
There are no problems with multiple threads. The problem is |
Too many ways to fire oneself in the foot with this one, closing. |
WIP.
Status: Freeing things is sketchy. :D Might be overwriting existing model-weights by not namespacing scorer names properly.