Skip to content

Conversation

@Etherll
Copy link
Collaborator

@Etherll Etherll commented Sep 18, 2025

In the latest release, it seems that there was a bug with Bert models or any other models that does not have the 'model.generate' function.

This PR fixes it by checking if model.generate exists before adding the generation patches.

@danielhanchen danielhanchen merged commit 62abb02 into unslothai:main Sep 18, 2025
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