Skip to content

Commit

Permalink
Fix CPU ep
Browse files Browse the repository at this point in the history
  • Loading branch information
jamjamjon authored Jul 17, 2024
1 parent 56aed9e commit 7740761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl OrtEngine {
}

fn build_cpu(builder: &SessionBuilder) -> Result<()> {
let ep = ort::CUDAExecutionProvider::default();
let ep = ort::CPUExecutionProvider::default();
if ep.is_available()? && ep.register(builder).is_ok() {
Ok(())
} else {
Expand Down

0 comments on commit 7740761

Please sign in to comment.