Skip to content

Add model saving and loading unit tests#2446

Open
bkowalskiINTEL wants to merge 1 commit intomasterfrom
dev/bkowalsk/jax_test_load_save
Open

Add model saving and loading unit tests#2446
bkowalskiINTEL wants to merge 1 commit intomasterfrom
dev/bkowalsk/jax_test_load_save

Conversation

@bkowalskiINTEL
Copy link
Copy Markdown
Contributor

This PR adds jax unit tests for model saving and loading.

Signed-off-by: Bartosz Kowalski <bartosz.kowalski@intel.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a dedicated JAX test suite to validate that quantized Keras models can be saved to the .keras format and loaded back while preserving both inference behavior and quantization configuration.

Changes:

  • Add dynamic-quant save/load round-trip tests across several dtype/config combinations.
  • Add static-quant save/load round-trip tests including calibration flow.
  • Add repeated save→load round-trip tests to ensure serialization stability over multiple cycles.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@anko-intel anko-intel left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants