Skip to content

v2.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Mar 13:23
· 124 commits to master since this release
v2.2.0

v2.2.0 (2024-03-28)

Bug Fixes

  • cli: Wrong prefix Error History parameters name
  • handler: Fix ValueError when no HWPCReport left for the sample
  • handler: Fix wrong input report format in global power predict

Build System

  • Bump SmartWatts package version to 2.2.0
  • Dockerfile: Pin PowerAPI base image tag to sha256 digest
  • deps: Bump docker/metadata-action from 5.5.0 to 5.5.1
  • deps: Bump powerapi/powerapi from 2f0afe6 to d81766e
  • deps: Bump codecov/codecov-action from 4.1.0 to 4.1.1
  • deps: Bump powerapi/powerapi from 2.3.0 to 2.4.0
  • deps: Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10
  • deps: Bump docker/setup-buildx-action from 3.1.0 to 3.2.0
  • deps: Bump docker/build-push-action from 5.2.0 to 5.3.0
  • deps: Bump docker/login-action from 3.0.0 to 3.1.0
  • deps: Bump softprops/action-gh-release from 2.0.3 to 2.0.4
  • deps: Bump softprops/action-gh-release from 2.0.2 to 2.0.3
  • deps: Fix version number comment for softprops/action-gh-release
  • deps: Bump docker/build-push-action from 5.1.0 to 5.2.0
  • deps: Bump softprops/action-gh-release from 1 to 2
  • deps: Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14
  • deps: Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12
  • deps: Bump docker/setup-buildx-action from 3.0.0 to 3.1.0
  • deps: Bump powerapi/powerapi from 2.4.0 to 2.5.0
  • deps: Bump codecov/codecov-action from 4.0.1 to 4.0.2
  • deps: Bump powerapi/powerapi from 2.2.0 to 2.3.0
  • deps: Bump codecov/codecov-action from 4.0.0 to 4.0.1
  • deps: Bump docker/setup-buildx-action from 2.9.1 to 2.10.0
  • deps: Bump codecov/codecov-action from 3.1.6 to 4.0.0
  • deps: Bump codecov/codecov-action from 3.1.5 to 3.1.6
  • deps: Bump actions/checkout from 3 to 4
  • deps: Bump codecov/codecov-action from 4.0.2 to 4.1.0
  • deps: Bump codecov/codecov-action from 3.1.4 to 3.1.5
  • deps: Bump docker/metadata-action from 5.4.0 to 5.5.0
  • deps: Bump docker/metadata-action from 5.3.0 to 5.4.0
  • deps: Bump github/codeql-action from 2 to 3
  • deps: Bump docker/build-push-action from 4.1.1 to 4.2.1
  • deps: Bump powerapi/powerapi from 2.1.0 to 2.2.0
  • deps: Bump actions/setup-python from 4 to 5
  • deps: Bump docker/metadata-action from 5.2.0 to 5.3.0
  • deps: Bump docker/metadata-action from 5.0.0 to 5.2.0
  • deps: Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11
  • deps: Bump docker/build-push-action from 5.0.0 to 5.1.0
  • deps: Bump docker/build-push-action from 4.2.1 to 5.0.0
  • deps: Bump docker/metadata-action from 4.6.0 to 5.0.0
  • deps: Bump docker/login-action from 2.2.0 to 3.0.0
  • deps: Bump docker/setup-buildx-action from 2.10.0 to 3.0.0
  • deps-dev: Bump powerapi[everything] from 2.1.0 to 2.2.0
  • deps-dev: Bump powerapi[everything] from 2.2.0 to 2.3.0
  • deps-dev: Bump powerapi[everything] from 2.3.0 to 2.4.0
  • deps-dev: Bump powerapi[everything] from 2.4.0 to 2.5.0
  • pyproject: Add Python 3.12 support to classifiers
  • ruff: Fix deprecated top-level linter settings

Code Refactoring

  • Use callable objects instead of nested functions for actors factory
  • Use clf instead of model for sklearn regressor
  • actor: Rename formula factory class and parameters
  • actor: Add docstring to formula factory class
  • handler: Access power model methods from Frequency Layer
  • handler: Remove metadata default value in PowerReport generator
  • handler: Use a generator in _get_nearest_frequency_layer method
  • model: Rename report history file
  • model: Rename samples history module
  • model: Rename attributes name of report history
  • model: Use integer instead of float for the frequencies in CPU topology
  • model: Use the samples_history terminology everywhere
  • model: Remove unused typing dependency
  • model: Fix ruff no-else-return warning in ErrorHistory

Continuous Integration

  • release: Add Docker image build for arm64 target platform
  • release: Fix warning about deprecation of print_hash for pypa/gh-action-pypi-publish
  • release: Disable generation of provenance attestation for container image
  • release: Remove container image signature
  • release: Use vars instead of secrets to get the Docker Hub username
  • release: Sign the container image digest once per repository

Features

  • actor: Add Error History configuration parameters
  • cli: Add support of PowerAPI Pre-Processors
  • cli: Add CLI arguments for Error History configuration
  • handler: Use Error History to trigger new power model learning
  • model: Clear error history when learning a new power model
  • model: Add Error History support to Frequency Layer
  • model: Add Error History class
  • model: Add Frequency Layer to manage model and reports history

Miscellaneous Chores

  • Use the same license format in every files

Tests

  • model: Fix Sonar S1244 error about equality on floating points values
  • model: Remove redundant test of reports history
  • model: Update CPU topology tests to use integer instead of float for frequencies