add: cudaでの起動説明を書いた

This commit is contained in:
tuna2134
2024-09-11 02:25:27 +00:00
parent 196a979ecb
commit 0a8fe1908f

View File

@@ -27,10 +27,15 @@ onnxsim使うことでモデルのサイズを軽くすることができます
- `sbv2_core` - Style-Bert-VITS2の推論コア部分
## APIの起動方法
```rs
```bash
cargo run -p sbv2_api -r
```
### CUDAでの起動
```bash
cargo run -p sbv2_api -r -F cuda,cuda_tf32
```
### テストコマンド
```bash
curl -XPOST -H "Content-type: application/json" -d '{"text": "こんにちは"}' 'http://localhost:3000/synthesize'