update
This commit is contained in:
@@ -43,7 +43,7 @@ services:
|
|||||||
generic_resources:
|
generic_resources:
|
||||||
- discrete_resource_spec:
|
- discrete_resource_spec:
|
||||||
kind: nvidia
|
kind: nvidia
|
||||||
value: 8
|
value: 1
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.platform.os == linux]
|
constraints: [node.platform.os == linux]
|
||||||
cap_add:
|
cap_add:
|
||||||
|
|||||||
27
finetune/docker-compose_stack1.yml
Normal file
27
finetune/docker-compose_stack1.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
ubuntu-finetune:
|
||||||
|
image: hotwa/deepspeed:pt23
|
||||||
|
ports:
|
||||||
|
- 3228:22
|
||||||
|
environment:
|
||||||
|
- NVIDIA_VISIBLE_DEVICES=all
|
||||||
|
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
||||||
|
- TMPDIR=/var/tmp
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
generic_resources:
|
||||||
|
- discrete_resource_spec:
|
||||||
|
kind: gpus
|
||||||
|
value: 1
|
||||||
|
placement:
|
||||||
|
constraints: [node.platform.os == linux]
|
||||||
|
cap_add:
|
||||||
|
- IPC_LOCK
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
driver: overlay
|
||||||
Reference in New Issue
Block a user