first add
This commit is contained in:
33
finetune/docker-compose.yml
Normal file
33
finetune/docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ubuntu-finetune:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ./src:/bbtft
|
||||
container_name: ubuntu-finetune
|
||||
pull_policy: if_not_present
|
||||
tty: true
|
||||
restart: unless-stopped
|
||||
image: hotwa/finetune:test
|
||||
shm_size: '32gb'
|
||||
ports:
|
||||
- 3227:22
|
||||
environment:
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
||||
networks:
|
||||
- network_finetune
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
|
||||
networks:
|
||||
network_finetune:
|
||||
name: network_finetune
|
||||
Reference in New Issue
Block a user