Skip to content

Commit 6e56f56

Browse files
Bordas-rog
andauthored
docker use $(nproc) (#7606)
* docker use $(nproc) * Update typo Co-authored-by: Roger Shieh <[email protected]> Co-authored-by: Roger Shieh <[email protected]>
1 parent b4e28e7 commit 6e56f56

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dockers/base-conda/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ ENV \
6868
HOROVOD_WITHOUT_MXNET=1 \
6969
HOROVOD_WITH_GLOO=1 \
7070
HOROVOD_WITHOUT_MPI=1 \
71-
# MAKEFLAGS="-j$(nproc)" \
72-
MAKEFLAGS="-j1" \
71+
MAKEFLAGS="-j$(nproc)" \
72+
# MAKEFLAGS="-j1" \
7373
TORCH_CUDA_ARCH_LIST="3.7;5.0;6.0;7.0;7.5" \
7474
CONDA_ENV=lightning
7575

dockers/base-cuda/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ ENV \
7474
HOROVOD_WITHOUT_MXNET=1 \
7575
HOROVOD_WITH_GLOO=1 \
7676
HOROVOD_WITHOUT_MPI=1 \
77-
# MAKEFLAGS="-j$(nproc)" \
78-
MAKEFLAGS="-j1" \
77+
MAKEFLAGS="-j$(nproc)" \
78+
# MAKEFLAGS="-j1" \
7979
TORCH_CUDA_ARCH_LIST="3.7;5.0;6.0;7.0;7.5"
8080

8181
COPY ./requirements.txt requirements.txt

0 commit comments

Comments
 (0)