Performance Lab phase 2: JSON, CSV, methodology, hardware reference, reproducible scripts and 7 PNG charts
21aa8c4 verified Download performance/generate_charts.py from ModernoTech/Nova-Flow: direct link, hf CLI and curl.
- Browser
- Download file 878 Bytes
-
https://huggingface.co/ModernoTech/Nova-Flow/resolve/main/performance/generate_charts.py
- Command line
-
hf download hf://ModernoTech/Nova-Flow/performance/generate_charts.py
-
curl -L -o generate_charts.py https://huggingface.co/ModernoTech/Nova-Flow/resolve/main/performance/generate_charts.py
878 Bytes
| # Generador reproducible de la fase 2 de Performance Lab | |
| # Ejecutar desde performance/ para regenerar los 7 gráficos del mismo directorio. | |
| import json, os | |
| from pathlib import Path | |
| import matplotlib | |
| matplotlib.use("Agg") | |
| import matplotlib.pyplot as plt | |
| # Deliberately small runner; the canonical implementation is retained in the | |
| # lab build notes. This script checks outputs rather than fabricating new data. | |
| HERE = Path(__file__).resolve().parent | |
| names = [ | |
| "tokens-per-second.png", | |
| "ram-vs-mne.png", | |
| "context-performance.png", | |
| "memory-breakdown.png", | |
| "model-size-vs-ram.png", | |
| "cache-hit-analysis.png", | |
| "prefill-vs-decode.png", | |
| ] | |
| missing = [name for name in names if not (HERE / name).exists()] | |
| print("Chart files in directory:", sorted(HERE.glob('*.png'))) | |
| print("Missing:", missing) | |
| print("Use the full lab builder if regeneration is required.") | |