Skip to content

Commit

Permalink
force cuda versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bottler committed Oct 29, 2024
1 parent 9bdf0b3 commit 56885b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/build_conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def do_build(start_args: List[str]) -> None:
if test_flag is not None:
args.append(test_flag)

args.extend(["-c", "bottler", "-c", "iopath", "-c", "conda-forge"])
args.extend(["-c", "bottler", "-c", "iopath", "-c", "conda-forge", "-c", "nvidia/label/cuda-12.1.0"])
args.append("--no-anaconda-upload")
args.extend(["--python", os.environ["PYTHON_VERSION"]])
args.append("packaging/pytorch3d")
Expand Down
1 change: 1 addition & 0 deletions packaging/pytorch3d/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ requirements:
build:
- {{ compiler('c') }} # [win]
- cuda-toolkit
- cuda-version=12.1
{{ environ.get('CONDA_CUB_CONSTRAINT') }}

host:
Expand Down

0 comments on commit 56885b4

Please sign in to comment.