sustainable-computing-io / kepler-model-server

Model Server for Kepler
Apache License 2.0
25 stars 25 forks source link

chore: use kepler_vm metrics as energy source #533

Closed rootfs closed 1 day ago

rootfs commented 1 day ago

When training models with kepler_vm_package_joules_total or similar, we use the trained_power_model as energy source, this fixes the issue of getting the proper energy from prom metrics.

Tested with the following command:

hatch run python cmd/main.py train --vm-train -e trained_power_model