Skip to content

Commit

Permalink
Create docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
moyilong committed Jul 5, 2023
1 parent ccb5243 commit ea0341e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: '3.7'
name: yuren

services:
yuren:
image: ghcr.io/pleisto/yuren-7b/yuren-7b:latest
tty: true
ports:
- 7860:7860
volumes:
- <Model DIR>:/pleisto/yuren-7b
command:
- --server_name
- 0.0.0.0
deploy:
resources:
reservations:
devices:
- capabilities: ["gpu"]
count: all
driver: nvidia
options:
virtualization: false

0 comments on commit ea0341e

Please sign in to comment.