Skip to content

Commit 97e1a64

Browse files
committed
Bump versions for the 0.19.0 release.
- Removed `activation_wrapper.rs`, `dyn_mapper.rs`, and `dyn_visitor.rs` modules from `crates/bimm/src/compat` and `crates/bimm/src/utility/burn/dynamic_modules`. - Eliminated accompanying tests and configurations.
1 parent d4320b2 commit 97e1a64

File tree

38 files changed

+1564
-2476
lines changed

38 files changed

+1564
-2476
lines changed

Cargo.lock

Lines changed: 1475 additions & 858 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 & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ members = [
1010

1111
[workspace.package]
1212
edition = "2024"
13-
version = "0.3.7"
13+
version = "0.19.0"
1414
repository = "https://github.com/crutcher/bimm"
1515
license = "MIT"
1616
rust-version = "1.88.0"
@@ -23,16 +23,12 @@ double_must_use = "allow"
2323
doc_markdown = "warn"
2424

2525

26-
# Patch to enable the gradient clipping cherry-pick
27-
# [patch.crates-io]
28-
# burn_support = { git = "https://github.com/tracel-ai/burn", rev = "250d5530c21e03909bd27f6e294dddb63ea0f6c8" }
29-
3026
[workspace.dependencies]
31-
burn = "^0.18.0"
32-
burn-import = "^0.18.0"
27+
burn = "^0.19.0"
28+
burn-import = "^0.19.0"
3329
dirs = "^6.0.0"
3430

35-
bimm-contracts = "^0.4.3"
31+
bimm-contracts = "^0.19.0"
3632

3733
# Burn coupled-dependencies
3834
globwalk = "^0.9.1"
@@ -66,6 +62,3 @@ csv = "^1.3.1"
6662
flate2 = "^1.1.2"
6763
tar = "^0.4.44"
6864

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

crates/bimm-firehose-image/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "bimm-firehose image processing support"
1212
workspace = true
1313

1414
[dependencies]
15-
bimm-firehose = { version = "0.3.7", path = "../bimm-firehose" }
15+
bimm-firehose = { version = "0.19.0", path = "../bimm-firehose" }
1616

1717
burn = { workspace = true, features = ["dataset", "vision", "ndarray"] }
1818
serde = { workspace = true, features = ["derive"] }

crates/bimm-firehose-image/src/burn_support/image_to_tensor_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl FirehoseOperator for ImageToTensorData {
5757
let pixvec = crate::burn_support::image_to_pixeldepth_vec(image);
5858
let data: Vec<f32> = pixvec
5959
.iter()
60-
.map(|p| pixeldepth_support::pixel_depth_to_f32(p.clone()))
60+
.map(|p| pixeldepth_support::pixel_depth_to_f32(*p))
6161
.collect();
6262

6363
let data = TensorData::new(data, shape);

crates/bimm-firehose-image/src/burn_support/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub fn image_to_f32_tensor<B: Backend>(
9494
let pixvec = image_to_pixeldepth_vec(image);
9595
let data: Vec<f32> = pixvec
9696
.iter()
97-
.map(|p| pixeldepth_support::pixel_depth_to_f32(p.clone()))
97+
.map(|p| pixeldepth_support::pixel_depth_to_f32(*p))
9898
.collect();
9999

100100
Tensor::from_data_dtype(

crates/bimm/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ let model: ResNet<Wgpu> = prefab
6767

6868
#### Recent Changes
6969

70+
* **0.19.0**
71+
* Bumped to track `burn` 0.19.0.
7072
* **0.3.3**
7173
* Preview of ResNet-18 support.
7274
* **0.3.2**

crates/bimm/src/cache/disk.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::io::Write;
99
use std::path::PathBuf;
1010

1111
/// Cache Policy
12-
#[derive(Config)]
12+
#[derive(Config, Debug)]
1313
pub struct DiskCacheConfig {
1414
/// Key for the root cache directory.
1515
#[config(default = "\"bimm\".to_string()")]

0 commit comments

Comments
 (0)