This repository was archived by the owner on Jun 3, 2025. It is now read-only.
Commit 534b78e
authored
Generic Benchmark API (#352)
Generic benchmarking APIs for use with different frameworks.
Includes:
- BenchmarkResults class representing benchmark results, based on class in deepsparse
- Abstract BenchmarkRunner, which would be implemented using different SparseML frameworks
- Serialization via BenchmarkInfo
- Ability to run benchmarks via CLI
- Ability to run benchmarks via python API
- Ability to reload a BenchmarkInfo json and create a new run with the same conditions1 parent a574de1 commit 534b78e
File tree
6 files changed
+1705
-0
lines changed- src/sparseml/benchmark
- tests/sparseml/benchmark
6 files changed
+1705
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments