Skip to content

Commit fe5de00

Browse files
committed
chore: switch bimm-contracts to crates.io and enable LTO in release profile
- Updated `bimm-contracts` to use crates.io registry instead of git-based dependency. - Enabled Link Time Optimization (LTO) in Cargo release profile for improved performance. - Removed unused `TensorDescription` struct from `bimm-firehose-image`.
1 parent 4b6aa18 commit fe5de00

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

Cargo.lock

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ burn = "^0.18.0"
3232
burn-import = "^0.18.0"
3333
dirs = "^6.0.0"
3434

35-
# bimm-contracts = "^0.4.2"
36-
bimm-contracts = { branch = "main", git = "https://github.com/crutcher/bimm-contracts", version = "^0.4.3" }
35+
bimm-contracts = "^0.4.3"
3736

3837
# Burn coupled-dependencies
3938
globwalk = "^0.9.1"
@@ -67,3 +66,6 @@ csv = "^1.3.1"
6766
flate2 = "^1.1.2"
6867
tar = "^0.4.44"
6968

69+
[profile.release]
70+
lto = true
71+

crates/bimm-firehose-image/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ mod tests {
4040
use indoc::indoc;
4141
use std::sync::Arc;
4242

43-
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
44-
pub struct TensorDescription {
45-
pub shape: Vec<usize>,
46-
pub dtype: burn::tensor::DType,
47-
}
48-
4943
#[test]
5044
fn test_example() -> anyhow::Result<()> {
5145
let temp_dir = tempfile::tempdir().unwrap();

0 commit comments

Comments
 (0)