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

[BUG]: Fix or replace usage of GPUtil #1446

Closed
2 tasks done
dagardner-nv opened this issue Dec 19, 2023 · 0 comments · Fixed by #1451
Closed
2 tasks done

[BUG]: Fix or replace usage of GPUtil #1446

dagardner-nv opened this issue Dec 19, 2023 · 0 comments · Fixed by #1451
Assignees
Labels
bug Something isn't working

Comments

@dagardner-nv
Copy link
Contributor

Version

23.11

Which installation method(s) does this occur on?

Source

Describe the bug.

This package makes use of deprecated distutils (anderskm/gputil#48) which is slated for removal in Python 3.12 (https://peps.python.org/pep-0632/)

Minimum reproducible example

No response

Relevant log output

Click here to see error details

conda/envs/morpheus/lib/python3.10/site-packages/GPUtil/GPUtil.py:34: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils import spawn

Full env printout

Click here to see environment details

[Paste the results of print_env.sh here, it will be hidden by default]

Other/Misc.

No response

Code of Conduct

  • I agree to follow Morpheus' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report
@dagardner-nv dagardner-nv added the bug Something isn't working label Dec 19, 2023
@efajardo-nv efajardo-nv self-assigned this Jan 2, 2024
@jarmak-nv jarmak-nv moved this from Todo to Review - Ready for Review in Morpheus Boards Jan 3, 2024
@rapids-bot rapids-bot bot closed this as completed in #1451 Jan 8, 2024
rapids-bot bot pushed a commit that referenced this issue Jan 8, 2024
+ Replace `GPUtil` with `pynvml` to collect GPU stats for benchmark reports.
+ Remove `GPUtil` from dependency yaml's. `pynvml` is already installed via `nvtabular`.

Closes #1446 

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Eli Fajardo (https://github.com/efajardo-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #1451
@github-project-automation github-project-automation bot moved this from Review - Ready for Review to Done in Morpheus Boards Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants