Skip to content

Commit

Permalink
Merge branch 'main' into feat/burn-vision
Browse files Browse the repository at this point in the history
  • Loading branch information
wingertge committed Feb 3, 2025
2 parents 11c8f1f + 9f00320 commit ee5ad73
Show file tree
Hide file tree
Showing 8 changed files with 495 additions and 98 deletions.
178 changes: 90 additions & 88 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ globwalk = "0.9.1"
hashbrown = "0.15.2"
hound = "3.5.1"
image = "0.25.5"
indicatif = "0.17.9"
indicatif = "0.17.11"
js-sys = "0.3.72"
libm = "0.2.11"
log = { default-features = false, version = "0.4.25" }
Expand Down Expand Up @@ -145,19 +145,19 @@ uuid = { version = "1.12.1", default-features = false }

libc = "0.2.169"
nvml-wrapper = "0.10.0"
sysinfo = "0.32.1"
sysinfo = "0.33.1"
systemstat = "0.2.3"
tch = "0.15.0"

ahash = { version = "0.8.11", default-features = false }
portable-atomic-util = { version = "0.2.4", features = ["alloc"] }

### For the main burn branch. ###
# cubecl = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "e0734dadca994b02b7dce3b77a575edb1fb2232e" }
# cubecl-common = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "e0734dadca994b02b7dce3b77a575edb1fb2232e" }
cubecl = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "ff94be8c9a79d1ac2e44829c2b4ec5a7e91b82e2" }
cubecl-common = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "ff94be8c9a79d1ac2e44829c2b4ec5a7e91b82e2" }
### For local development. ###
cubecl = { path = "../cubecl/crates/cubecl", default-features = false }
cubecl-common = { path = "../cubecl/crates/cubecl-common", default-features = false }
# cubecl = { path = "../cubecl/crates/cubecl", default-features = false }
# cubecl-common = { path = "../cubecl/crates/cubecl-common", default-features = false }
### For the release. ###
# cubecl = { version = "0.4.0", default-features = false }
# cubecl-common = { version = "0.4.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion backend-comparison/src/persistence/system_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl BenchmarkSystemInfo {

fn enumerate_cpus() -> Vec<String> {
let system = sysinfo::System::new_with_specifics(
sysinfo::RefreshKind::new().with_cpu(sysinfo::CpuRefreshKind::everything()),
sysinfo::RefreshKind::nothing().with_cpu(sysinfo::CpuRefreshKind::everything()),
);
let cpu_names: HashSet<String> = system
.cpus()
Expand Down
1 change: 1 addition & 0 deletions burn-book/src/building-blocks/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,3 +294,4 @@ Burn comes with built-in modules that you can use to build your own modules.
| `CrossEntropyLoss` | `nn.CrossEntropyLoss` |
| `MseLoss` | `nn.MSELoss` |
| `HuberLoss` | `nn.HuberLoss` |
| `PoissonNllLoss` | `nn.PoissonNLLLoss` |
2 changes: 2 additions & 0 deletions crates/burn-core/src/nn/loss/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ mod binary_cross_entropy;
mod cross_entropy;
mod huber;
mod mse;
mod poisson;
mod reduction;

pub use binary_cross_entropy::*;
pub use cross_entropy::*;
pub use huber::*;
pub use mse::*;
pub use poisson::*;
pub use reduction::*;
Loading

0 comments on commit ee5ad73

Please sign in to comment.