docs: add sustainability benchmarking tutorial#711
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
| @@ -0,0 +1,433 @@ | |||
| { | |||
There was a problem hiding this comment.
Would it be possible to align the structure and getting started section with this tutorial (https://docs.pruna.ai/en/stable/docs_pruna/tutorials/reasoning_llm.html)? I mean, using the table and referencing the installation page if needed.
Reply via ReviewNB
| @@ -0,0 +1,433 @@ | |||
| { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,433 @@ | |||
| { | |||
There was a problem hiding this comment.
Could you add a short sentence about this stable-difussion model and why it's used?
Reply via ReviewNB
| @@ -0,0 +1,433 @@ | |||
| { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,433 @@ | |||
| { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,433 @@ | |||
| { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,433 @@ | |||
| { | |||
There was a problem hiding this comment.
sdiazlor
left a comment
There was a problem hiding this comment.
Overall, a really nice tutorial. Just some comments to improve the readability :)
Description
Adds a tutorial notebook demonstrating sustainability benchmarking with the
EvaluationAgent: astable-diffusion-v1-5baseline is compared againstdeepcacheandtorch_compileontotal_time,energy_consumed,co2_emissions, andclip_score, using a 10-sample subset ofLAION256on a T4. Includes side-by-side comparison figures and a takeaway on interpreting efficiency gains vs. quality cost (with a pointer to the CMMD tutorial for stricter quality evaluation). Also registers the notebook indocs/tutorials/index.rst.Related Issue
Fixes #602
Type of Change
Testing
uv run pytest -m "cpu and not slow")No library code is changed, so no unit tests were added. The notebook was executed end-to-end on a Colab T4 (pruna 0.3.4) with all cells completing; outputs are stripped per the convention in the existing tutorials. Comparison figures from the run are attached below for review.
ruff checkpasses on the notebook with the repo config.Checklist