Skip to content

Commit

Permalink
fix rocm torch version
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Oct 15, 2023
1 parent ede3e37 commit bb8bb1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/COPY_ROOT/opt/ai-dock/bin/build/layer0/amd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ main() {
}

install_comfyui() {
# Mamba export does not include pip packages.
# We need to get torch again - todo find a better way?
micromamba -n comfyui run pip install \
--no-cache-dir \
--index-url https://download.pytorch.org/whl/rocm${ROCM_VERSION} \
torch==${PYTORCH_VERSION} torchvision torchaudio
/opt/ai-dock/bin/update-comfyui.sh
}

Expand Down

0 comments on commit bb8bb1e

Please sign in to comment.