Skip to content
Snippets Groups Projects
Commit 00e63a58 authored by Leon Michel Gorißen's avatar Leon Michel Gorißen
Browse files

Add volume mount for training data and disable foundation_model service

- Mounted local ./train directory to /app/train in the container for data access
- Commented out the foundation_model service to temporarily disable its deployment
parent 4062239a
No related branches found
No related tags found
No related merge requests found
Pipeline #569078 failed
...@@ -55,6 +55,7 @@ services: ...@@ -55,6 +55,7 @@ services:
privileged: true # Grants the container extended privileges, similar to running as root on the host privileged: true # Grants the container extended privileges, similar to running as root on the host
volumes: volumes:
- "/tmp/.X11-unix:/tmp/.X11-unix" - "/tmp/.X11-unix:/tmp/.X11-unix"
- "./train:/app/train"
environment: environment:
DISPLAY: unix${DISPLAY} DISPLAY: unix${DISPLAY}
FRANKA_IP: ${FRANKA_IP} FRANKA_IP: ${FRANKA_IP}
...@@ -92,36 +93,36 @@ services: ...@@ -92,36 +93,36 @@ services:
# network_mode: pandavlan # Uses the host's network stack, not creating a separate network namespace # network_mode: pandavlan # Uses the host's network stack, not creating a separate network namespace
#########################foundation_model############################## #########################foundation_model##############################
foundation_model: # foundation_model:
build: # build:
context: . # context: .
dockerfile: ./dynamics_learning/Dockerfile.foundation_model # dockerfile: ./dynamics_learning/Dockerfile.foundation_model
deploy: # deploy:
resources: # resources:
reservations: # reservations:
devices: # devices:
- capabilities: [gpu] # - capabilities: [gpu]
cpus: '20' # cpus: '20'
memory: 60G # memory: 60G
ipc: host # ipc: host
ulimits: # ulimits:
memlock: # memlock:
soft: -1 # soft: -1
hard: -1 # hard: -1
stack: # stack:
soft: 67108864 # soft: 67108864
hard: 67108864 # hard: 67108864
container_name: foundation_model # Sets a custom name for the container # container_name: foundation_model # Sets a custom name for the container
stdin_open: true # Keeps the container's standard input open (similar to 'docker run -i') # stdin_open: true # Keeps the container's standard input open (similar to 'docker run -i')
tty: true # Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells # tty: true # Allocates a pseudo-TTY (like 'docker run -t'), useful for interactive shells
network_mode: host # network_mode: host
volumes: # volumes:
- /home/lgorissen/git/iop/franka_wwl_demonstrator:/app # - /home/lgorissen/git/iop/franka_wwl_demonstrator:/app
environment: # environment:
COSCINE_API_TOKEN: ${COSCINE_API_TOKEN} # COSCINE_API_TOKEN: ${COSCINE_API_TOKEN}
WANDB_API_TOKEN: ${WANDB_API_TOKEN} # WANDB_API_TOKEN: ${WANDB_API_TOKEN}
WANDB_NOTES: ${WANDB_NOTES} # WANDB_NOTES: ${WANDB_NOTES}
WANDB_ENTITY: ${WANDB_ENTITY} # WANDB_ENTITY: ${WANDB_ENTITY}
WANDB_PROJECT: ${WANDB_PROJECT} # WANDB_PROJECT: ${WANDB_PROJECT}
ROBOT_UUID: ${ROBOT_UUID} # ROBOT_UUID: ${ROBOT_UUID}
SWEEP_ID: ${SWEEP_ID} # SWEEP_ID: ${SWEEP_ID}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment