Skip to content

Commit

Permalink
Debugging rope.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil authored and Nicolas Patry committed Nov 20, 2023
1 parent 38de52b commit 7cfffca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ tracing-subscriber = "0.3.7"
wav = "1.0.0"
yoke = { version = "0.7.2", features = ["derive"] }
zip = { version = "0.6.6", default-features = false }
# metal = { git = "https://github.com/ivarflakstad/metal-rs.git", features = ["mps"] }
metal = { path = "../metal-rs", features = ["mps"] }
metal = { git = "https://github.com/ivarflakstad/metal-rs.git", features = ["mps"] }

[profile.release-with-debug]
inherits = "release"
Expand Down
2 changes: 0 additions & 2 deletions candle-core/src/metal_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ use candle_metal_kernels::Kernels;
use core::mem;
use half::{bf16, f16};
use metal;
use metal::mps::matrix::encode_gemm;
use metal::mps::Float32;
use metal::{Buffer, CommandQueue, MTLResourceOptions, NSUInteger};
use std::sync::Arc;

Expand Down
3 changes: 1 addition & 2 deletions candle-metal-kernels/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ categories = ["science"]
license = "MIT OR Apache-2.0"

[dependencies]
# metal = { git = "https://github.com/ivarflakstad/metal-rs.git", features = ["mps"] }
metal = { path = "../../metal-rs", features = ["mps"] }
metal = { git = "https://github.com/ivarflakstad/metal-rs.git", features = ["mps"] }
once_cell = "1.18.0"
thiserror = "1"
tracing = "0.1.37"
Expand Down

0 comments on commit 7cfffca

Please sign in to comment.