Skip to content

Commit

Permalink
Update the candle and cudarc versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Oct 2, 2024
1 parent 1700456 commit 967b7f2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ categories = ["science"]


[workspace.dependencies]
candle = { version = "0.7.1", package = "candle-core" }
candle-nn = "0.7.1"
candle-transformers = "0.7.1"
candle-flash-attn = "0.7.1"
candle = { version = "0.7.2", package = "candle-core" }
candle-nn = "0.7.2"
candle-transformers = "0.7.2"
candle-flash-attn = "0.7.2"

[profile.release]
debug = true
Expand Down
2 changes: 1 addition & 1 deletion rust/moshi-backend/config-q8.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"instance_name": "foo",
"hf_repo": "kyutai/moshiko-candle-q8",
"lm_model_file": "$HOME/tmp/model.q8.gguf",
"lm_model_file": "$HOME/tmp/moshiko_rs_301e30bf@120.q8.gguf",
"text_tokenizer_file": "$HOME/tmp/tokenizer_spm_32k_3.model",
"log_dir": "$HOME/tmp/moshi-logs",
"encodec_model_file": "$HOME/tmp/tokenizer-e351c8d8-checkpoint125.safetensors",
Expand Down
2 changes: 1 addition & 1 deletion rust/moshi-backend/config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"instance_name": "foo",
"hf_repo": "kyutai/moshiko-candle-bf16",
"lm_model_file": "$HOME/tmp/model.safetensors",
"lm_model_file": "$HOME/tmp/moshiko_rs_301e30bf@120.safetensors",
"text_tokenizer_file": "$HOME/tmp/tokenizer_spm_32k_3.model",
"log_dir": "$HOME/tmp/moshi-logs",
"encodec_model_file": "$HOME/tmp/tokenizer-e351c8d8-checkpoint125.safetensors",
Expand Down
3 changes: 1 addition & 2 deletions rust/moshi-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ candle = { workspace = true }
candle-nn = { workspace = true }
candle-transformers = { workspace = true }
candle-flash-attn = { workspace = true, optional = true }
cudarc = { version = "=0.11.6", features = ["std", "cublas", "cublaslt", "curand", "driver", "nvrtc", "f16", "cuda-version-from-build-system", "dynamic-linking"], default-features=false, optional = true }

rayon = "1.8.1"
serde = { version = "1.0", features = ["derive"] }
tracing = "0.1.40"

[features]
default = []
cuda = ["candle/cuda", "candle-nn/cuda", "cudarc"]
cuda = ["candle/cuda", "candle-nn/cuda"]
metal = ["candle/metal", "candle-nn/metal"]
flash-attn = ["cuda", "dep:candle-flash-attn"]

0 comments on commit 967b7f2

Please sign in to comment.