Skip to content

Commit

Permalink
update: ortを更新 (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip authored Aug 17, 2024
1 parent d676546 commit a15753f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
25 changes: 19 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ zip = "0.6.3"

[workspace.dependencies.voicevox-ort]
git = "https://github.com/VOICEVOX/ort.git"
rev = "07c047c449b959d8f76593046e139bae520d59c3"
rev = "8627833456a69e7841ae2a29fd184752df8de8d9"

[workspace.dependencies.open_jtalk]
git = "https://github.com/VOICEVOX/open_jtalk-rs.git"
Expand Down
4 changes: 2 additions & 2 deletions crates/voicevox_core/src/infer/runtimes/onnxruntime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use duplicate::duplicate_item;
use ndarray::{Array, Dimension};
use ort::{
CPUExecutionProvider, CUDAExecutionProvider, DirectMLExecutionProvider, ExecutionProvider as _,
GraphOptimizationLevel, IntoTensorElementType, TensorElementType, ValueType,
GraphOptimizationLevel, PrimitiveTensorElementType, TensorElementType, ValueType,
};

use crate::{
Expand Down Expand Up @@ -209,7 +209,7 @@ impl OnnxruntimeRunContext<'_> {
fn push_input(
&mut self,
input: Array<
impl IntoTensorElementType + Debug + Clone + 'static,
impl PrimitiveTensorElementType + Debug + Clone + 'static,
impl Dimension + 'static,
>,
) -> anyhow::Result<()> {
Expand Down

0 comments on commit a15753f

Please sign in to comment.