Skip to content

Commit

Permalink
Merge pull request #28 from tracel-ai/fix/bert-0.13.0
Browse files Browse the repository at this point in the history
Remove explicit fusion backend in Bert example
  • Loading branch information
nathanielsimard committed Apr 29, 2024
2 parents 29fadae + de3a736 commit a00bee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bert-burn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Aasheesh Singh [email protected]"]
license = "MIT OR Apache-2.0"
name = "bert-burn"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

[features]
Expand Down
3 changes: 1 addition & 2 deletions bert-burn/examples/infer-embedding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,9 @@ mod tch_cpu {
mod wgpu {
use crate::{launch, ElemType};
use burn::backend::wgpu::{AutoGraphicsApi, Wgpu, WgpuDevice};
use burn::backend::Fusion;

pub fn run() {
launch::<Fusion<Wgpu<AutoGraphicsApi, ElemType, i32>>>(WgpuDevice::default());
launch::<Wgpu<AutoGraphicsApi, ElemType, i32>>(WgpuDevice::default());
}
}

Expand Down

0 comments on commit a00bee0

Please sign in to comment.