Skip to content

Commit

Permalink
fix(deps): remove unused tokio dependency (#24)
Browse files Browse the repository at this point in the history
* fix: removed unused tokio dependency

* chore: diffusion.cpp update
  • Loading branch information
newfla authored Jan 18, 2025
1 parent 6e89506 commit 734eff3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ documentation = "https://docs.rs/diffusion-rs"
[dependencies]
derive_builder = "0.20.2"
diffusion-rs-sys = { path = "sys", version = "0.1.5" }
hf-hub = "0.4.0"
hf-hub = {version = "0.4.0", default-features = false, features = ["ureq"]}
libc = "0.2.161"
num_cpus = "1.16.0"
thiserror = "2.0.3"
Expand Down
2 changes: 0 additions & 2 deletions sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ fn main() {
println!("cargo:rustc-link-search={}", hip_lib_path.display());

config.define("SD_HIPBLAS", "ON");
//Fix requrired at 9578fdc
config.define("GGML_HIP", "ON");
if let Ok(target) = env::var("AMDGPU_TARGETS") {
config.define("AMDGPU_TARGETS", target);
}
Expand Down
2 changes: 1 addition & 1 deletion sys/stable-diffusion.cpp

0 comments on commit 734eff3

Please sign in to comment.