File size: 371 Bytes
fa20168
256d858
fa20168
 
 
 
 
 
 
 
256d858
 
 
 
fa20168
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
version: '2.0'
services:
  main:
    image: tverous/pytorch-notebook
    environment:
      - JUPYTER_TOKEN=passwd # TODO: Change the token
    volumes:
      - /local_vol:/docker_vol
    ports:
      - 8888:8888
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]