-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proper setup of PyTorch versions in Conda based environments (#1492)
* Limit permissible PyTorch versions in Conda Conda would typically install the latest version of any dependency, but we don't support the latest version of PyTorch yet. Keep version aligned with settings in setup.py for now. * Pull PyTorch from pytorch Conda channel The desired PyTorch version is not available from default channels, such that we need to set the pytorch channel explicitly. * CUDA environments for Conda and Python update Use Python 3.11, which is the latest compatible with Heat and Pytorch. Introduce CUDA 11.8 and 12.1 environments for Conda. * Update quick_start.md * Update quick_start.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update quick_start.md --------- Co-authored-by: Fabian Hoppe <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Claudia Comito <[email protected]> Co-authored-by: Michael Tarnawa <[email protected]>
- Loading branch information
1 parent
9c68f81
commit 6f5fa1f
Showing
4 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: heat_dev_cuda11 | ||
channels: | ||
- conda-forge | ||
- defaults | ||
- pytorch | ||
- nvidia | ||
dependencies: | ||
- python=3.11 | ||
- openmpi | ||
- mpi4py | ||
- h5py[version='>=2.9',build=mpi*] | ||
- netcdf4 | ||
- pytorch=2.2.2 | ||
- pytorch-cuda=11.8 | ||
- torchvision | ||
- scipy | ||
- pre-commit | ||
- black | ||
- flake8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: heat_dev_cuda12 | ||
channels: | ||
- conda-forge | ||
- defaults | ||
- pytorch | ||
- nvidia | ||
dependencies: | ||
- python=3.11 | ||
- openmpi | ||
- mpi4py | ||
- h5py[version='>=2.9',build=mpi*] | ||
- netcdf4 | ||
- pytorch=2.2.2 | ||
- pytorch-cuda=12.1 | ||
- torchvision | ||
- scipy | ||
- pre-commit | ||
- black | ||
- flake8 |
6f5fa1f
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.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.matmul_split_0_N1_GPU - RUNTIME
0.006764212157577276
s (0.01856120117008686
)0.0033021443523466587
s (0.008408966474235058
)2.05
This comment was automatically generated by workflow using github-action-benchmark.
CC: @heat_team