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

Adjustment needed in file 'gpus.py' #35

Open
VeroniqueClauwaert opened this issue Jan 7, 2025 · 1 comment
Open

Adjustment needed in file 'gpus.py' #35

VeroniqueClauwaert opened this issue Jan 7, 2025 · 1 comment
Assignees

Comments

@VeroniqueClauwaert
Copy link

Please forgive me if I am not stating this in the correct way (first comment), but I had a recent issue with the koila package and found the solution as well. Namely, the import of the package was halted due to an incorrect import from pynvml.
The solution is changing line 6 in file 'gpus.py': 'from pynvml.smi import nvidia_smi' to 'from pynvml_utils.smi import nvidia_smi'.
Hope it can help somebody!

@rentruewang
Copy link
Owner

Huh I believe the package names have changed since I wrote it. Thanks for pointing it out. Would you like to file a PR and tag me as reviewer?

I do not advise using koila in production as it was just a proof of concept of what could be done to resolve out of memory errors automatically, and I do not actively maintain it or use it.

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