Skip to content

feat: implement sliding-window perplexity, SQNR, and Pareto benchmark - #5

Merged
Prajwal7-2002 merged 1 commit into
mainfrom
feature/eval-and-pareto
Oct 26, 2026
Merged

Prajwal7-2002 merged 1 commit into
mainfrom
feature/eval-and-pareto

Conversation

@Prajwal7-2002

Copy link
Copy Markdown
Owner

Summary

  • Introduces \quantbench.eval\ and \quantbench.bench\ evaluation suites:
    • SQNR (dB): Implements Signal-to-Quantization-Noise Ratio ( \log_{10}(P_{\text{signal}} / P_{\text{noise}})$) for layer-by-layer numerical fidelity tracking.
    • Sliding-Window Perplexity: Implements strided context evaluation ( < L$) eliminating artificial loss spikes from boundary chunk truncation.
    • Pareto Benchmark: Automated multi-precision sweep engine mapping (Compression Ratio, Footprint MB, Delta PPL, SQNR dB) across FP16, INT8, INT4 (G=128, G=64), BitNet Ternary, and 2:4 Structured Sparsity with ASCII table and terminal Rich visualization.
  • Adds CLI commands \eval\ and \pareto.
  • Adds 8 new test suites in \ ests/test_eval_and_pareto.py, achieving 95% total line test coverage across 47 tests.

Add strided sliding-window language model perplexity engine, Signal-to-Quantization-Noise Ratio (dB) layer metrics, and Pareto frontier quality-vs-compression sweep with CLI commands.
@Prajwal7-2002
Prajwal7-2002 merged commit 73e3fa1 into main Oct 26, 2026
7 checks passed
@Prajwal7-2002
Prajwal7-2002 deleted the feature/eval-and-pareto branch October 26, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant