Skip to content

Commit

Permalink
Fix apex installation path in Dockerfile (#11596)
Browse files Browse the repository at this point in the history
* empty commit

* Specify apex installation target directory

* pip install --user
  • Loading branch information
akihironitta authored Jan 28, 2022
1 parent 11e1e3e commit 86b177e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockers/base-cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ RUN \

RUN \
# install NVIDIA apex
pip install --no-cache-dir --global-option="--cuda_ext" https://github.com/NVIDIA/apex/archive/refs/heads/master.zip && \
pip install --user --no-cache-dir --global-option="--cuda_ext" https://github.com/NVIDIA/apex/archive/refs/heads/master.zip && \
python -c "from apex import amp"

RUN \
Expand Down

0 comments on commit 86b177e

Please sign in to comment.