Update kepler-model-db link, serve model by spec, kepler-model-db integration CI, visualize power curve #244
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces multiple significant changes to kepler-model-server to fill the model serving cycle and CI.
1. update Kepler-model-db link
For release v0.7, we expand power model ranges with SPECpower database and ec2 spot instance.
As specpower has only acpi (platform) energy source while ec2 has only intel_rapl (component) energy source, we need to refer to two pipelines for each energy source.
This PR also updates the config in manifest file from 0.6 to 0.7 (refer to #242)
2. serve model by spec
This PR provides a simplified version to serve a power model based on the number of CPU cores. If the power model is not available, the power model which is trained by machine with maximum number of cores will be selected as candidates.
3. kepler-model-db integration
To discover incompatibility between this repository and kepler-model-db, I added the CI with
DB
opt to determine whether the kepler-model-db is considered. (refer to #243)This added CI can confirm the update on 1. should fix the deployment issue sustainable-computing-io/kepler#1306.
4. visualize power curve on export
To quickly validate whether the trained power model make sense or not, I provided a new function to plot power curve on export. (refer to #241)
This PR is WIP until the follow items are done:
Signed-off-by: Sunyanan Choochotkaew [email protected]