improve Docker build and runtime parameters

Modify installation method of extra python library.
Utilize shared memory of the host machine to increase training performance.


Former-commit-id: 97f9901c2f5c29a6ab517a1f8fa028b8e89edf4e
This commit is contained in:
S3Studio
2024-03-12 14:05:10 +08:00
committed by liuzhao2
parent 623ee1bd88
commit c6873211e9
2 changed files with 3 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ services:
- ./output:/app/output
ports:
- "7860:7860"
shm_size: 16G
ipc: host
deploy:
resources:
reservations: