Skip to content

Commit

Permalink
Install libstdcxx-ng=12.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Nov 21, 2024
1 parent a5c5020 commit 8a8a5aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/cuda_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ def install_torch_deps(cuda_version: str):
]
cmd = ["conda", "install", "-y"] + torch_deps
subprocess.check_call(cmd)
# conda forge deps
# ubuntu 22.04 comes with libstdcxx6 12.3.0
# we need to install the same library version in conda
conda_deps = ["libstdcxx-ng=12.3.0"]
cmd = ["conda", "install", "-y", "-c", "conda-forge"] + conda_deps
subprocess.check_call(cmd)


def install_torch_build_deps(cuda_version: str):
Expand Down

0 comments on commit 8a8a5aa

Please sign in to comment.