PrunaAI/pruna

[DOC] Add a tutorial on benchmarking sustainability

Chiusa

#602 aperta il 30 mar 2026

 (7 commenti) (0 reazioni) (1 assegnatario)Python (94 fork)auto 404
documentationfirst-prunegood first issue

Metriche repository

Star
 (1244 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

‼️ If you want to work on this issue, please comment below and wait until a maintainer assigns this issue to you before opening a PR to avoid several contributions on the same issue. Thanks! 😊


What You’ll Do

Pruna already provides several evaluation metrics. Your task is to create a clear, practical tutorial showing how to prepare, run, and analyze a benchmark, for example, a sustainability benchmark using metrics such as CO2_emissions, total_time, and energy_consumed.

The tutorial should help users understand not only how to run a benchmark, but also why benchmarks matter, which metrics to look at, and how to interpret and visualize the results.

You can do this by following this overview:

  • Select 1 or 2 small models to compare, and define a clear benchmarking goal, such as comparing two compression methods
  • Define a baseline and apply Pruna optimizations to evaluate efficiency tradeoffs
  • Introduce and explain the metrics used in the benchmark
  • Run the evaluation agent
  • Present the results with clear visualizations
  • Interpret the results and highlight the main takeaways

Add the final tutorial notebook under docs/tutorials


🤖 Useful Resources


Acceptance Criteria

  • It follows the style guidelines.
  • It contains all the information in a clear and coherent way.

And don’t forget to give us a ⭐️!


❓ Questions?

Feel free to jump into the #contributing Discord channel if you hit any roadblocks. Can’t wait to see your contribution! 🚀


Share on Socials

Share on X

Guida contributor