Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Commit c65c3e0

Browse files
authored
Merge pull request #192 from SludgePhD/wgpu-17
2 parents 564efaa + 3e9b0f5 commit c65c3e0

File tree

5 files changed

+59
-32
lines changed

5 files changed

+59
-32
lines changed

Cargo.lock

Lines changed: 55 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wonnx-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protobuf = { version = "2.27.1", features = ["with-bytes"] }
3030
structopt = { version = "0.3.26", features = ["paw"] }
3131
thiserror = "1.0.31"
3232
tract-onnx = { version = "0.19.12", optional = true }
33-
wgpu = "0.16.0"
33+
wgpu = "0.17.1"
3434
wonnx = { version = "^0.5.1" }
3535
wonnx-preprocessing = { version = "^0.5.1" }
3636
human_bytes = "0.4.1"

wonnx-preprocessing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protobuf = { version = "2.27.1", features = ["with-bytes"] }
2020
thiserror = "1.0.31"
2121
tokenizers = "0.13.3"
2222
tract-onnx = { version = "0.19.2", optional = true }
23-
wgpu = "0.16.0"
23+
wgpu = "0.17.1"
2424
wonnx = { version = "^0.5.1" }
2525
serde_json = "^1.0"
2626
bytemuck = "1.9.1"

wonnx/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exclude = [
2222
]
2323

2424
[dependencies]
25-
wgpu = "0.16.0"
25+
wgpu = "0.17.1"
2626
bytemuck = { version = "1.9.1", features = ["extern_crate_alloc"] }
2727
protobuf = { version = "2.27.1", features = ["with-bytes"] }
2828
log = "0.4.17"

wonnx/src/resource.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub async fn request_device_queue() -> (wgpu::Device, wgpu::Queue) {
88
dx12_shader_compiler: wgpu::Dx12Compiler::Fxc,
99
};
1010
let instance = wgpu::Instance::new(instance_descriptor);
11-
let adapter = wgpu::util::initialize_adapter_from_env_or_default(&instance, backends, None)
11+
let adapter = wgpu::util::initialize_adapter_from_env_or_default(&instance, None)
1212
.await
1313
.expect("No GPU found given preference");
1414

0 commit comments

Comments
 (0)