kevinwang676 commited on
Commit
ba7d697
1 Parent(s): cdedc22

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -34,7 +34,7 @@ RUN mkdir -p /content/numbacache
34
  RUN chmod -R 777 /content/numbacache
35
 
36
  # try fix
37
- # PermissionError: [Errno 13] Permission denied: '/.cache' (demucs)
38
  RUN mkdir -p /content/demucscache
39
  RUN chmod -R 777 /content/demucscache
40
  RUN ln -s /content/demucscache /.cache
@@ -43,9 +43,9 @@ RUN ln -s /content/demucscache /.cache
43
  WORKDIR /content
44
 
45
  # set environment
46
- # PYTORCH_NO_CUDA_MEMORY_CACHING is can help users with even smaller RAM such as 2GB (Demucs)
47
- #ENV PYTORCH_NO_CUDA_MEMORY_CACHING=1 \
48
- ENV MPLCONFIGDIR=/content/mplconfig \
49
  NUMBA_CACHE_DIR=/content/numbacache
50
 
51
  # upgrade pip
 
34
  RUN chmod -R 777 /content/numbacache
35
 
36
  # try fix
37
+ # PermissionError: [Errno 13] Permission denied: '/.cache' (Demucs)
38
  RUN mkdir -p /content/demucscache
39
  RUN chmod -R 777 /content/demucscache
40
  RUN ln -s /content/demucscache /.cache
 
43
  WORKDIR /content
44
 
45
  # set environment
46
+ # PYTORCH_NO_CUDA_MEMORY_CACHING can help users with even smaller RAM such as 2GB (Demucs)
47
+ ENV PYTORCH_NO_CUDA_MEMORY_CACHING=1 \
48
+ MPLCONFIGDIR=/content/mplconfig \
49
  NUMBA_CACHE_DIR=/content/numbacache
50
 
51
  # upgrade pip