Skip to content

Add serialization utilities for qmodels#39

Merged
colorete87 merged 1 commit intomainfrom
frn/serialization
Jun 10, 2025
Merged

Add serialization utilities for qmodels#39
colorete87 merged 1 commit intomainfrom
frn/serialization

Conversation

@frneer
Copy link
Owner

@frneer frneer commented Jun 10, 2025

Fixes the GenerateConfig serialization and adds utilities and tests to verify quantized models can be store and retrieved.

The only supported save format is 'tf', since .keras is not supported by tensorflow-model-optimization and it's not working with .h5 because of a weird hierarchy, which makes the load of the weights compute incorrectly.

@frneer frneer requested a review from colorete87 June 10, 2025 10:56
@frneer frneer force-pushed the frn/serialization branch from bc17970 to 02b8916 Compare June 10, 2025 11:03
Copy link
Collaborator

@colorete87 colorete87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine!

@colorete87 colorete87 merged commit 334e7bd into main Jun 10, 2025
2 checks passed
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.

2 participants