mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-07 15:02:57 +00:00
add: cudaでの起動説明を書いた
This commit is contained in:
@@ -27,10 +27,15 @@ onnxsim使うことでモデルのサイズを軽くすることができます
|
|||||||
- `sbv2_core` - Style-Bert-VITS2の推論コア部分
|
- `sbv2_core` - Style-Bert-VITS2の推論コア部分
|
||||||
|
|
||||||
## APIの起動方法
|
## APIの起動方法
|
||||||
```rs
|
```bash
|
||||||
cargo run -p sbv2_api -r
|
cargo run -p sbv2_api -r
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### CUDAでの起動
|
||||||
|
```bash
|
||||||
|
cargo run -p sbv2_api -r -F cuda,cuda_tf32
|
||||||
|
```
|
||||||
|
|
||||||
### テストコマンド
|
### テストコマンド
|
||||||
```bash
|
```bash
|
||||||
curl -XPOST -H "Content-type: application/json" -d '{"text": "こんにちは"}' 'http://localhost:3000/synthesize'
|
curl -XPOST -H "Content-type: application/json" -d '{"text": "こんにちは"}' 'http://localhost:3000/synthesize'
|
||||||
|
|||||||
Reference in New Issue
Block a user