Skip to content

Commit 9c72f35

Browse files
Delaunaypierre.delaunay
andauthored
Fix Docker generation for CUDA and add missing nvidia-ml-py package
* update psutil version for ROCm * Add missing nvidia-ml-py * Fix weird interaction between no-build-isolation and build system requirements * Handle manual compilation of torch geometric * Set torch cuda arch we might want to target * Add hip to compile ROCm custom kernels --------- Co-authored-by: pierre.delaunay <[email protected]>
1 parent 4c0d5a3 commit 9c72f35

27 files changed

+128
-34
lines changed

.pin/constraints-cuda-torch.txt

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/brax/requirements.cuda.txt

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/diffusion/requirements.cuda.txt

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/dinov2/requirements.cuda.txt

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/flops/requirements.cuda.txt

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/geo_gnn/benchfile.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@ class Dimenet(Package):
1818
def make_env(self):
1919
# Return a dict of environment variables for prepare_script and
2020
# main_script.
21-
return super().make_env()
21+
env = super().make_env()
22+
23+
# In the case of compiling pytorch geometric
24+
# we want to compile for conda support even if no GPUs are availble
25+
env = {
26+
"FORCE_CUDA": "1"
27+
}
28+
29+
return env
2230

2331
async def install(self):
2432
await super().install() # super() call installs the requirements

benchmarks/geo_gnn/requirements-pre.cuda.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
--extra-index-url https://pypi.ngc.nvidia.com
88
--extra-index-url https://download.pytorch.org/whl/cu126
99
--find-links https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
10-
# --find-links https://data.pyg.org/whl/torch-2.6.0+cu126.html
1110
--trusted-host pypi.ngc.nvidia.com
1211

1312
filelock==3.17.0
@@ -117,6 +116,10 @@ nvidia-cusparselt-cu12==0.6.3
117116
# via
118117
# -c .pin/../.pin/constraints-cuda-torch.txt
119118
# torch
119+
nvidia-ml-py==12.570.86
120+
# via
121+
# -c .pin/../.pin/constraints-cuda-torch.txt
122+
# -r .pin/../constraints/extra/torch.cuda.txt
120123
nvidia-nccl-cu12==2.21.5
121124
# via
122125
# -c .pin/../.pin/constraints-cuda-torch.txt

benchmarks/geo_gnn/requirements.cuda.txt

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/huggingface/requirements.cuda.txt

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/lightning/requirements.cuda.txt

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)