Skip to content

Commit

Permalink
Merge pull request #88 from discord9/fix_profile
Browse files Browse the repository at this point in the history
fix: make profile actually working
  • Loading branch information
LaurentMazare authored Sep 20, 2024
2 parents ae34219 + 5fa20b8 commit 22fb6f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
7 changes: 7 additions & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ candle = { version = "0.6.0", package = "candle-core" }
candle-nn = "0.6.0"
candle-transformers = "0.6.0"
candle-flash-attn = "0.6.0"

[profile.release]
debug = true

[profile.release-no-debug]
inherits = "release"
debug = false
8 changes: 0 additions & 8 deletions rust/moshi-backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,3 @@ vergen = { version = "8.3.1", features = ["build", "cargo", "git", "gitcl", "rus
default = []
cuda = ["moshi/cuda", "candle/cuda", "candle-nn/cuda", "candle-transformers/cuda"]
metal = ["moshi/metal", "candle/metal", "candle-nn/metal", "candle-transformers/metal"]

[profile.release]
debug = true

[profile.release-no-debug]
inherits = "release"
debug = false

8 changes: 0 additions & 8 deletions rust/moshi-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,3 @@ crossterm = { version = "0.27.0", features = ["event-stream"] }
ratatui = "0.27.0"
tui-logger = "0.11.2"
futures = "0.3.28"

[profile.release]
debug = true

[profile.release-no-debug]
inherits = "release"
debug = false

7 changes: 0 additions & 7 deletions rust/moshi-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,3 @@ default = []
cuda = ["candle/cuda", "candle-nn/cuda", "cudarc"]
metal = ["candle/metal", "candle-nn/metal"]
flash-attn = ["cuda", "dep:candle-flash-attn"]

[profile.release]
debug = true

[profile.release-no-debug]
inherits = "release"
debug = false

0 comments on commit 22fb6f8

Please sign in to comment.