Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the power models and added tests #222

Merged

Conversation

DanteNiewenhuis
Copy link
Contributor

Summary

  • Updated the power models, removing unnecessary code.
  • Fixed a problem that caused the square root model to return NaN values.
  • Added tests for power models

Implementation Notes ⚒️

The square root model could return NaN values.
This was caused by negative utilization values being passed to the model.
The utilization was negative due to floating point errors, creating a very small negative number.
The utilization value is now always clamped in (0.0, 1.0).

External Dependencies 🍀

N / A

Breaking API Changes ⚠️

The changes to the power models can result in very small value differences.

Simply specify none (N/A) if not applicable.

@DanteNiewenhuis DanteNiewenhuis merged commit 7ffa975 into atlarge-research:master Apr 22, 2024
4 checks passed
@DanteNiewenhuis DanteNiewenhuis deleted the power_model_fix branch April 22, 2024 12:32
@DanteNiewenhuis DanteNiewenhuis linked an issue Apr 22, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix square root power model
2 participants