update docker

This commit is contained in:
2023-05-09 23:04:01 +00:00
parent 07facfe064
commit 3f60403167
3 changed files with 25 additions and 3 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
# Use an existing image as the base
#FROM nvcr.io/nvidia/pytorch:22.06-py3
FROM pytorch/pytorch:1.12.0-cuda11.3-cudnn8-devel
# FROM nvcr.io/nvidia/pytorch:23.04-py3
FROM pytorch/pytorch:2.0.0-cuda11.7-cudnn8-devel
# FROM pytorch/pytorch:1.12.0-cuda11.3-cudnn8-devel
# Add the current user to the image
ARG USER_NAME=lhunor
+20
View File
@@ -24,6 +24,26 @@ services:
container_name: lhunor_reconstruction_v1.12
ipc: host
tty: true
ulimits:
memlock: -1
stack: 67108864
volumes:
- '/home-net/lhunor:/home-net'
- '/data-net/guest/lhunor/data:/data-net'
#- '/data-fast/126-data1/lhunor/data:/data-local/126'
- '/data-fast/127-data1/lhunor/data:/data-local/127'
- '/data-fast/128-data1/lhunor/data:/data-local/128'
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
lhunor_torch_3:
image: lhunor_reconstruction:v2.0
container_name: lhunor_reconstruction_v2.0
ipc: host
tty: true
ulimits:
memlock: -1
stack: 67108864
+2 -1
View File
@@ -4,4 +4,5 @@ scipy
#deodr
pandas
pytorch_msssim
kornia
kornia
wandb