SWivid commited on
Commit
1120562
·
1 Parent(s): 6b2876a

update README.md, add nvidia device gradio infer docker compose file example

Browse files
Files changed (1) hide show
  1. README.md +27 -0
README.md CHANGED
@@ -87,6 +87,33 @@ f5-tts_infer-gradio --port 7860 --host 0.0.0.0
87
  f5-tts_infer-gradio --share
88
  ```
89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  ### 2. CLI Inference
91
 
92
  ```bash
 
87
  f5-tts_infer-gradio --share
88
  ```
89
 
90
+ <details>
91
+ <summary>NVIDIA device docker compose file example</summary>
92
+
93
+ ``` yaml
94
+ services:
95
+ f5-tts:
96
+ image: ghcr.io/swivid/f5-tts:main
97
+ ports:
98
+ - "7860:7860"
99
+ environment:
100
+ GRADIO_SERVER_PORT: 7860
101
+ entrypoint: ["f5-tts_infer-gradio", "--port", "7860", "--host", "0.0.0.0"]
102
+ deploy:
103
+ resources:
104
+ reservations:
105
+ devices:
106
+ - driver: nvidia
107
+ count: 1
108
+ capabilities: [gpu]
109
+
110
+ volumes:
111
+ f5-tts:
112
+ driver: local
113
+ ```
114
+
115
+ </details>
116
+
117
  ### 2. CLI Inference
118
 
119
  ```bash