Skip to content

Commit 9c7226e

Browse files
committed
build(personfit): avoid benchmark-only dependency expansion
1 parent 8e7c71a commit 9c7226e

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

crates/mlsirm-core/Cargo.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,17 @@ time = { version = "0.3", features = ["formatting", "parsing"] }
2323
uuid = "1"
2424

2525
[features]
26+
# GPGPU acceleration of the neg-loglik + gradient hot path via wgpu.
27+
# Enabled by default so the published wheel gains GPU execution; the code
28+
# always falls back to the CPU implementation at runtime when no GPU adapter
29+
# is available (e.g. CI). Build with --no-default-features for a CPU-only
30+
# core with no wgpu dependency graph.
2631
default = ["gpu"]
2732
gpu = ["dep:wgpu", "dep:pollster", "dep:bytemuck"]
2833

2934
[lints.rust]
3035
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(coverage)"] }
3136

3237
[dev-dependencies]
33-
proptest = "1"
34-
criterion = "0.5"
35-
36-
[[bench]]
37-
name = "personfit_np_benchmark"
38-
harness = false
38+
# proptest is dual MIT / Apache-2.0 licensed -- permissive, matches this crate.
39+
proptest = "1"

0 commit comments

Comments
 (0)