Skip to content

Commit

Permalink
Update PyTorch installation CMD in examples (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronzs committed Jun 18, 2022
1 parent f8f77f7 commit 274e183
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/conda/build.envd
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ custom_channels:
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
""")
install.conda_packages(name = [
"pytorch=0.4.1", "cuda90"
"pytorch",
# "torchvision", # optional
"cudatoolkit=11.3",
], channel= ["pytorch"])
base(os="ubuntu20.04", language="python3.5")
base(os="ubuntu20.04", language="python3.8")
install.python_packages(name = [
"flask"
])
Expand Down

0 comments on commit 274e183

Please sign in to comment.