Skip to content

Commit

Permalink
Merge pull request #918 from google/py-prepare-release
Browse files Browse the repository at this point in the history
Prepare python release 0.6.1-rc0
  • Loading branch information
reyammer authored Jan 23, 2025
2 parents 4552756 + 422f5d6 commit c928cfd
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 6 deletions.
6 changes: 4 additions & 2 deletions python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ Note that for version number starting with a `0`, i.e., `0.x.y`, a bump of `x`
should be considered as a major (and thus potentially breaking) change. See
semver guidelines for more details about this.

## [Unreleased]
## [0.6.1-rc0] - 2025-01-23

- Upgrade model from `standard_v2_1` to `standard_v3_0`. This should result in a 3x faster inference speed, with the same overall accuracy. This new model should also be ~20% faster than `standard_v1`.
- Upgrade model from `standard_v2_1` to `standard_v3_0`. This should result in a 3x faster inference speed, with the same overall accuracy. This new model should also be ~20% faster than `standard_v1`. More details in the [models' changelog notes](../assets/models/CHANGELOG.md).
- With this release, we build a wheel for ubuntu, windows, macos (as we did for 0.6.0-rcX), and now an additional pure-python wheel to support the remaining platforms. The first three wheels ship the rust client; the pure-python wheel falls back to the (slower) python client. Both ship with the same new `standard_v3_0` model and same functionality.
- New API: `get_output_content_types()`. This API returns the list of all possible outputs by the module. I.e., all possible values for `MagikaResult.prediction.output.label`. This is the list that is relevant for most clients.
- New API: `get_model_content_types()`. This API returns the list of all possible outputs of the deep learning model. I.e., all possible values for `MagikaResult.prediction.dl.label`. Note that, in general, the list of "model outputs" is different than the "tool outputs" as in some cases the model is not even used, or the model's output is overwritten due to a low-confidence score, or other reasons. This API is useful mostly for debugging purposes; the vast majority of client should use `get_output_content_types()`.
- `MagikaPrediction` now has an `overwrite_reason` field, specifying why and if the model's prediction was overwritten.


## [0.6.0-rc3] - 2024-11-20

- Fixed problems with installing Magika via `uv` on MacOS.
Expand Down
1 change: 0 additions & 1 deletion python/scripts/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
PYTHON_ROOT_DIR = Path(__file__).parent.parent

PUBLISHED_MODELS_NAMES = [
"standard_v2_1",
"standard_v3_0",
]

Expand Down
2 changes: 1 addition & 1 deletion python/src/magika/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.


__version__ = "0.6.1-dev"
__version__ = "0.6.1-rc0"


import dotenv
Expand Down
1 change: 0 additions & 1 deletion python/src/magika/models/fast_v2_1/config.min.json

This file was deleted.

Binary file removed python/src/magika/models/fast_v2_1/model.onnx
Binary file not shown.
1 change: 0 additions & 1 deletion python/src/magika/models/standard_v2_1/config.min.json

This file was deleted.

Binary file not shown.

0 comments on commit c928cfd

Please sign in to comment.