diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 8438b18..1e6c0ba 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -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 diff --git a/rust/moshi-backend/Cargo.toml b/rust/moshi-backend/Cargo.toml index b83779d..b15ff42 100644 --- a/rust/moshi-backend/Cargo.toml +++ b/rust/moshi-backend/Cargo.toml @@ -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 - diff --git a/rust/moshi-cli/Cargo.toml b/rust/moshi-cli/Cargo.toml index b43251a..e551767 100644 --- a/rust/moshi-cli/Cargo.toml +++ b/rust/moshi-cli/Cargo.toml @@ -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 - diff --git a/rust/moshi-core/Cargo.toml b/rust/moshi-core/Cargo.toml index 7bcc1f6..ab80075 100644 --- a/rust/moshi-core/Cargo.toml +++ b/rust/moshi-core/Cargo.toml @@ -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