Skip to content

Conversation

rmarquis
Copy link
Contributor

What does this PR address?

Fix keras framework version comparison. A Keras 3 compatibility fix has been introduced previously in #4922. However, the version check that was added is sloppy: a string comparison is done lexicographically, not numerically, which make it breaks with the Keras version 3.10.0 release last May.

This introduce proper version comparison.

Fixes #4922

Before submitting:

@rmarquis rmarquis requested a review from a team as a code owner June 24, 2025 11:25
@rmarquis rmarquis requested review from ssheng and removed request for a team June 24, 2025 11:25
@rmarquis rmarquis changed the title Fix keras version comparison fix: Adjust keras version comparison Jun 24, 2025
@aarnphm aarnphm merged commit 1b81ddd into bentoml:main Jun 24, 2025
51 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.

3 participants