Skip to content

Commit

Permalink
Revert "Add temporary fix for CUDA issue in Dockerfile (#5421)" (#5431)
Browse files Browse the repository at this point in the history
This reverts commit 0718b17.
  • Loading branch information
yaoyu-33 authored Nov 16, 2022
1 parent 01cd8b6 commit 792fc8a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,5 @@ COPY tests /workspace/nemo/tests
COPY tutorials /workspace/nemo/tutorials
# COPY README.rst LICENSE /workspace/nemo/

# Temporary fix CUDA issue
RUN sed -i "s/, all_gpu_ids//g" /opt/conda/lib/python3.8/site-packages/pytorch_lightning/accelerators/cuda.py
RUN sed -i "s/all_gpu_ids =/\# all_gpu_ids =/g" /opt/conda/lib/python3.8/site-packages/pytorch_lightning/accelerators/cuda.py

RUN printf "#!/bin/bash\njupyter lab --no-browser --allow-root --ip=0.0.0.0" >> start-jupyter.sh && \
chmod +x start-jupyter.sh

0 comments on commit 792fc8a

Please sign in to comment.