add
This commit is contained in:
32
finetune/docker-compose.yml
Normal file
32
finetune/docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
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
|
||||||
|
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