From b8bc4635632ab5b5015c254c586789e8d6ae295c Mon Sep 17 00:00:00 2001 From: Alex Cheema Date: Sun, 3 May 2026 18:13:12 +0100 Subject: [PATCH 1/4] feat(profilers): add ANE power and profiling --- .../src/lib/components/GpuRichBar.svelte | 17 +- .../src/lib/components/TopologyGraph.svelte | 37 +- dashboard/src/lib/stores/app.svelte.ts | 15 + src/exo/api/types/api.py | 3 + src/exo/shared/apply.py | 19 + src/exo/shared/types/profiling.py | 10 + src/exo/shared/types/state.py | 3 + src/exo/utils/info_gatherer/info_gatherer.py | 2 + src/exo/utils/info_gatherer/macmon.py | 1 + src/exo/utils/power_sampler.py | 4 + src/exo/utils/profilers/ane_profiler.py | 1057 +++++++++++++++++ src/exo/utils/profilers/profiler_manager.py | 38 + .../profilers/tests/test_ane_profiler.py | 28 + .../profilers/tests/test_apply_profiles.py | 23 +- src/exo/utils/tests/test_macmon_metrics.py | 31 + src/exo/utils/tests/test_power_sampler.py | 22 +- 16 files changed, 1295 insertions(+), 15 deletions(-) create mode 100644 src/exo/utils/profilers/ane_profiler.py create mode 100644 src/exo/utils/profilers/tests/test_ane_profiler.py create mode 100644 src/exo/utils/tests/test_macmon_metrics.py diff --git a/dashboard/src/lib/components/GpuRichBar.svelte b/dashboard/src/lib/components/GpuRichBar.svelte index 3831617a97..fc397949ea 100644 --- a/dashboard/src/lib/components/GpuRichBar.svelte +++ b/dashboard/src/lib/components/GpuRichBar.svelte @@ -1,5 +1,9 @@