Skip to content

Commit

Permalink
Conda init bash
Browse files Browse the repository at this point in the history
  • Loading branch information
muellerzr committed Aug 31, 2023
1 parent 6868dcd commit bb54e59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/accelerate-gpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN wget \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm -r Miniconda3-latest-Linux-x86_64.sh

# Make conda go brr
RUN conda init bash
# Create our conda env
RUN conda create --name accelerate python=${PYTHON_VERSION} ipython jupyter pip
# Activate the conda env and install torch + accelerate
Expand Down

0 comments on commit bb54e59

Please sign in to comment.