File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM nvcr.io/nvidia/nemo:v0.11
2
+ # NVIDIA NEMO with Python 3.6 (CONDA)
3
+
4
+ ENV PYTHONUNBUFFERED=1 \
5
+ LANG=C.UTF-8
6
+
7
+ # ipython/jupyter is already installed in the Anaconda Python installed at /opt/conda.
8
+ RUN /opt/conda/bin/python3 -m pip install jupyterlab
9
+
10
+ # Install ipython kernelspec
11
+ RUN /opt/conda/bin/python3 -m ipykernel install \
12
+ --prefix=/opt/conda/ \
13
+ --display-name "Python 3.6 CONDA (NGC/NEMO v0.11) on Backend.AI" && \
14
+ cat /opt/conda/share/jupyter/kernels/python3/kernel.json
15
+
16
+ # Backend.AI specifics
17
+ LABEL ai.backend.kernelspec="1" \
18
+ ai.backend.envs.corecount="OPENBLAS_NUM_THREADS,OMP_NUM_THREADS,NPROC" \
19
+ ai.backend.features="batch uid-match" \
20
+ ai.backend.accelerators="cuda" \
21
+ ai.backend.resource.min.cpu="1" \
22
+ ai.backend.resource.min.mem="1g" \
23
+ ai.backend.resource.min.cuda.device=1 \
24
+ ai.backend.resource.min.cuda.shares=0.1 \
25
+ ai.backend.base-distro="ubuntu16.04" \
26
+ ai.backend.runtime-type="python" \
27
+ ai.backend.runtime-path="/opt/conda/bin/python3" \
28
+ ai.backend.service-ports="ipython:pty:3000, jupyterlab:http:8090,tensorboard:http:6006"
29
+ # vim: ft=dockerfile
You can’t perform that action at this time.
0 commit comments