Skip to content
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

Pass the pre-loaded model when initialising the calculator, rather than loading the model inside the calculator. #99

Closed
dembart opened this issue Sep 26, 2024 · 1 comment

Comments

@dembart
Copy link

dembart commented Sep 26, 2024

Hello,

What do you think about passing the instance of the pre-loaded model as an argument when initialising the calculator, rather than loading the model (from the specified path) inside the calculator ? If you need multiple calculators, it should be faster to load a model and share it between the calculators than to load the model multiple times for each calculator.

@YutackPark
Copy link
Member

I agree with you. I'll add this to my TODO list (#86).

@YutackPark YutackPark mentioned this issue Sep 30, 2024
19 tasks
@dembart dembart closed this as completed Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants