From 4dcfa9178a7b2c5be50de7dc0a6fd785d3e3164b Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 9 Jul 2023 00:50:13 -0400 Subject: [PATCH] fix a README typo; Add a default OPM_NUM_THREADS to silence the docker run warning --- README.md | 2 +- docker/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04858815..a614d5f0 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ docker build -t minkowski_engine docker Once the docker is built, check it loads MinkowskiEngine correctly. ``` -docker run MinkowskiEngine python3 -c "import MinkowskiEngine; print(MinkowskiEngine.__version__)" +docker run minkowski_engine python3 -c "import MinkowskiEngine; print(MinkowskiEngine.__version__)" ``` ## CPU only build and BLAS configuration (MKL) diff --git a/docker/Dockerfile b/docker/Dockerfile index 81a7884c..eaf6af3e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -28,3 +28,4 @@ RUN rm -rf /var/lib/apt/lists/* ENV MAX_JOBS=4 RUN git clone --recursive "https://github.com/NVIDIA/MinkowskiEngine" RUN cd MinkowskiEngine; python setup.py install --force_cuda --blas=openblas +ENV OMP_NUM_THREADS=16