mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Seperate benchmarks by enabled features (#1538)
* Use cfg to seperate benchmark results based on features * Remove allow pragma * Avoid some unnecessary returns. * Improve benchmarks layout * Derive bench_name from actual device * Run CPU benchmarks even when GPU feature is enabled --------- Co-authored-by: Laurent <laurent.mazare@gmail.com>
This commit is contained in:
4
candle-core/benches/bench_main.rs
Normal file
4
candle-core/benches/bench_main.rs
Normal file
@ -0,0 +1,4 @@
|
||||
mod benchmarks;
|
||||
|
||||
use criterion::criterion_main;
|
||||
criterion_main!(benchmarks::matmul::benches);
|
Reference in New Issue
Block a user