Skip to content

Commit

Permalink
Promote PYTORCH_ROCM_ARCH to a build arg, remove extraneous echos
Browse files Browse the repository at this point in the history
  • Loading branch information
mawong-amd committed May 27, 2024
1 parent 27e2782 commit c47256c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile.rocm
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ USER root

# Import BASE_IMAGE arg from pre-FROM
ARG BASE_IMAGE
RUN echo "Base image is $BASE_IMAGE"
ARG COMMON_WORKDIR
# Used as ARCHes for all components
ENV PYTORCH_ROCM_ARCH="gfx90a;gfx942"
RUN echo "PYTORCH_ROCM_ARCH is $PYTORCH_ROCM_ARCH"
ARG PYTORCH_ROCM_ARCH="gfx90a;gfx942"
ENV PYTORCH_ROCM_ARCH=${PYTORCH_ROCM_ARCH}

# Install some basic utilities
RUN apt-get update && apt-get install python3 python3-pip -
Expand Down

0 comments on commit c47256c

Please sign in to comment.