mirror of
https://github.com/neodyland/sbv2-api.git
synced 2025-12-22 23:49:58 +00:00
add: cudaでの起動説明を書いた
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user