-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fixed model loading. #314
Fixed model loading. #314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While model loading is synchronized, model access is not. Doesn't it cause problems if multiple threads are trying to evaluate the model simultaneously?
Good question, I just tried to cause a simultaneous execution and while I can't guarantee that the model access happened at the same time, results were consistent and no errors were thrown. |
Ok, then let's assume it works like that until demonstrated otherwise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll test parallelism in the next days and merge this PR once the tests look good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My Evaluation code runs through with no issues, so this looks good to me. Thanks!
Former-commit-id: 130a9f4
Closes #303.
Closes #311.