This commit is contained in:
2024-08-02 21:22:46 +00:00
parent 6b84da949f
commit 14519259d8
10 changed files with 4228 additions and 1984 deletions
Binary file not shown.
+2 -2
View File
@@ -1,5 +1,5 @@
ROOT_DIR=/opt/jupyter_gpu/pytorch
DATA_DIR=/opt/jupyter_gpu/data
JUPYTER_PORT=8888
PUID=1000
PGID=1000
# PUID=1000
# PGID=1000
+1
View File
@@ -18,6 +18,7 @@ RUN apt-get install graphviz -y
# Set environment variables, etc.
#ENV MY_ENV_VAR=myvalue
COPY cvttpy /cvttpy
# Set the working directory
WORKDIR /workspace
+2 -6
View File
@@ -10,23 +10,19 @@ version: '3.8'
#==================================================
services:
jupyter:
user: "${UID}:${GID}"
build: ${ROOT_DIR}
image: cvtt/jupyter_gpu_pt:v1.1.5
# user: "${UID}:${GID}"
image: cloud21.cvtt.vpn:5500/jupyter_gpu_pytorch:latest
container_name: jupyter_gpu_pt
runtime: nvidia
restart: unless-stopped
environment:
- JUPYTER_ENABLE_LAB=yes
- PYTHONPATH=/cvtt/prod
# security_opt:
# - no-new-privileges:true
volumes:
- ${ROOT_DIR}/notebooks:/workspace
- ${ROOT_DIR}/jupyter_settings/user-settings:/root/.jupyter/lab/user-settings
- ${ROOT_DIR}/jupyter_settings/workspaces:/root/.jupyter/lab/workspaces
- ${ROOT_DIR}/.cache/torch:/root/.cache/torch
- ${ROOT_DIR}/cvtt:/cvtt
- ${DATA_DIR}:/workspace/data
ports:
+1 -1
View File
@@ -246,7 +246,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.10.13"
}
},
"nbformat": 4,