Skip to content

Commit

Permalink
upate to Candle 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zachcp committed Dec 7, 2024
1 parent fdf07ca commit 3a2b957
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 19 deletions.
25 changes: 15 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ resolver = "2"
[workspace.dependencies]
anyhow = "1.0"
bitflags = "2.6.0"
candle-core = { git = "https://github.com/huggingface/candle.git", package = "candle-core", features = [
] }
candle-examples = { git = "https://github.com/huggingface/candle.git", package = "candle-examples" }
candle-core = "0.8.1"
candle-examples = "0.8.1"
candle-hf-hub = "0.3.3"
candle-nn = { git = "https://github.com/huggingface/candle.git", package = "candle-nn" }
candle-transformers = { git = "https://github.com/huggingface/candle.git", package = "candle-transformers" }
candle-metal-kernels = "0.8.1"
candle-nn = "0.8.1"
candle-transformers = "0.8.1"
itertools = "0.13.0"
once_cell = "1.20.2"
pdbtbx = "0.12.0"
Expand Down
3 changes: 2 additions & 1 deletion ferritin-amplify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metal = ["candle-core/metal", "candle-nn/metal", "candle-metal-kernels"]
[dependencies]
anyhow.workspace = true
candle-core.workspace = true
candle-metal-kernels = { workspace = true, optional = true }
candle-nn.workspace = true
ferritin-test-data = { path = "../ferritin-test-data" }
rand.workspace = true
Expand All @@ -22,7 +23,7 @@ serde.workspace = true
metal = []

[target.'cfg(target_os = "macos")'.dependencies]
candle-metal-kernels = { git = "https://github.com/huggingface/candle.git", package = "candle-metal-kernels", optional = true }
candle-metal-kernels.workspace = true

[target.'cfg(target_arch = "wasm32")'.dependencies]
tokenizers = { version = "0.21.0", default-features = false, features = [
Expand Down
3 changes: 2 additions & 1 deletion ferritin-esm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ ferritin-test-data = { path = "../ferritin-test-data" }
rand.workspace = true
safetensors.workspace = true
tokenizers.workspace = true
candle-metal-kernels = { workspace = true, optional = true }


[target.'cfg(target_os = "macos")'.features]
metal = []

[target.'cfg(target_os = "macos")'.dependencies]
candle-metal-kernels = { git = "https://github.com/huggingface/candle.git", package = "candle-metal-kernels", optional = true }
candle-metal-kernels.workspace = true

[dev-dependencies]
candle-examples.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion ferritin-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ candle-nn.workspace = true
clap = { version = "4.5.23", features = ["derive"] }
ferritin-amplify = { path = "../ferritin-amplify" }
serde_json.workspace = true
candle-metal-kernels = { workspace = true, optional = true }


[target.'cfg(target_os = "macos")'.features]
metal = []

[target.'cfg(target_os = "macos")'.dependencies]
candle-metal-kernels = { git = "https://github.com/huggingface/candle.git", package = "candle-metal-kernels", optional = true }
candle-metal-kernels.workspace = true

[target.'cfg(target_arch = "wasm32")'.dependencies]
tokenizers = { version = "0.21.0", default-features = false, features = [
Expand Down
4 changes: 3 additions & 1 deletion ferritin-ligandmpnn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ metal = [
[dependencies]
anyhow.workspace = true
candle-core.workspace = true
candle-metal-kernels = { workspace = true, optional = true }
candle-nn.workspace = true
candle-transformers.workspace = true
clap = "4.5.23"
Expand All @@ -33,7 +34,8 @@ strum = { version = "0.26", features = ["derive"] }
metal = []

[target.'cfg(target_os = "macos")'.dependencies]
candle-metal-kernels = { git = "https://github.com/huggingface/candle.git", package = "candle-metal-kernels", optional = true }
candle-metal-kernels.workspace = true


[dev-dependencies]
candle-examples.workspace = true
Expand Down

0 comments on commit 3a2b957

Please sign in to comment.