-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change: liberate VOICEVOX CORE #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!!
一箇所だけコメントしました!
VOICEVOX/voicevox_core#722 のため、libvoicevox_onnxruntimeではないようならば手前側でエラーとなるようにしました。 |
cb4acff
to
5b5b22a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
マージします!
これがVOICEVOX由来のものかどうかのチェックの追加も良いと思いました!
vv_bin
で名称統一していく感じいいですね!
CStr::from_ptr(build_info) | ||
.to_str() | ||
.expect("should be UTF-8") | ||
.starts_with("VOICEVOX ORT Build Info: ") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここの文字列、大元の方を変えた時にこっちも変えるの忘れがちになるかもですね!
可能なら定数を定義して流用するのもありかも。
まあそんなに気にしなくてもいいと思うので、とりあえずこのプルリクエストではこのままで!
1. manifest.jsonの"…_filename"部分を変更し、.binを認識できるようにする。 .binの場合、 VOICEVOX/ort#8 で追加される `SessionBuilder::commit_from_vv_bin`を用いる。 ```json "predict_duration": { "type": "onnx", "filename": "predict_duration.onnx" }, ``` ```json "predict_duration": { "type": "vv_bin", "filename": "pd.bin" }, ``` 2. `Onnxruntime::LIB_NAME`を`"onnxruntime"`から`"voicevox_onnxruntime"` にする。compatible_engineの場合だけ、`"voicevox_onnxruntime"`で失敗す ると`"onnxruntime"`にフォールバックするようにする(モック目的で使える ように)。 3. VOICEVOX/ort#8 でログのフィルタリングをやめる代わりに、C APIのログ フィルタの`ort=info`を`ort=warn`にする。 4. build_and_deploy_downloaderの`is_production`周りを吹き飛ばす。 5. #913 の続きとして、Rust APIの`package.license`を設定。 残る課題は以下の通り。 > README周り(たぶんcore.zip内のreadmeは削除で良さそう?) > #825 (comment) > > downloader周り(一旦壊れることになる・・・?いやならなさそうな気がする!) > #825 (comment) > > is_productionフラグを失くす? > #825 (comment) #825 (review) Resolves: VOICEVOX/voicevox_project#24 Resolves: #388 Resolves: #722
内容
SessionBuilder::commit_from_vv_bin
を追加し、暗号化対応ONNX Runtimeに暗号化ONNXを渡せるようにします。INFO
以下のログをせき止めていたのをやめます。関連 Issue
ref VOICEVOX/voicevox_project#24
スクリーンショット・動画など
その他