-
Notifications
You must be signed in to change notification settings - Fork 74
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
Get nvml.h
from Anaconda package in Makefile
#30
Conversation
I'm fine with some of the changes in this PR, but as a general policy I don't want to be relying on a third-party repo to pull nvml.h from. I realize NVIDIA's own repos are behind, but that is where we should improve, not moving to a third party one. |
Thanks for the PR @XuehaiPan. @klueska I also initially thought it was a thirdparty repo, but I believe this is maintained by NVIDIA and is probably available now that the CUDA Python bindings are moving to GA. You do make a good point in that we would have to check the update cadence of this repo though. |
Ah, OK, if it is maintained by NVIDIA, then I am OK with it. |
I have pinged the team internally to confirm that this is released regularly. Will update the PR here once I get feedback. |
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.
In general I think this looks good. I do think that targeting a specific version is useful, so I don't want to lose that if possible.
I see. This was ran through a linter. If we can standardize on the linter settings and are happy with the output it produces, I am OK with the changes as is. |
abbd9ff
to
5184837
Compare
Can you also add a make target to run |
c10da36
to
fe7eac9
Compare
@klueska I add a new target in Update: use dockered |
ad83566
to
ffe14d3
Compare
Changes in summary:
New command dependencies to run the Makefile:
|
41e4f59
to
0e47b3f
Compare
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
Signed-off-by: Xuehai Pan <[email protected]>
0e47b3f
to
8c1785c
Compare
Signed-off-by: Xuehai Pan <[email protected]>
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.
Thanks @XuehaiPan. This is looking good now. I'm still waiting on confirmation about those packages, but I don't think that this should be a blocker if @klueska is also onboard with the changes.
I'm getting the following error:
|
Can we hide the output of the command here:
|
Seems
I'll assume the packages are always in |
Signed-off-by: Xuehai Pan <[email protected]>
aaff575
to
3c44776
Compare
Signed-off-by: Xuehai Pan <[email protected]>
@klueska The command |
We may want to move to somewhere other than the anaconda repos in the future, but this flow is a definite improvement over the existing one, so let's get it merged. @XuehaiPan thanks for working on this! |
Just an update. I can confirm that these are official repositories which are updated as part of the CUDA release process. See also https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#conda |
Thanks again for the PR @XuehaiPan! |
Copy the
nvml.h
from the Anaconda packageanaconda.org/nvidia/cuda-nvml-dev
(latest version with themain
label).Resolves #29.
cc @elezar