Skip to main content

timed_benchmark

Function timed_benchmark 

Source
pub fn timed_benchmark(sizes: &[usize], reps: usize) -> Vec<TimedResult>
Expand description

Run timed dense vs sparse matmul across multiple square matrix sizes.

Uses normally distributed f32 weights quantized with BitNet threshold. Each size is run reps times and the median is reported.