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
… (#5432)

This reverts commit 0718b17.

Co-authored-by: yaoyu-33 <[email protected]>
  • Loading branch information
github-actions[bot] and yaoyu-33 authored Nov 16, 2022
1 parent 4d5b1e3 commit 01be84b
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 @@ -92,9 +92,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 01be84b

Please sign in to comment.