Skip to content

Conversation

mattf
Copy link
Collaborator

@mattf mattf commented Sep 17, 2025

the commit to be reverted is an public api behavior change to something we should not support.

instead of allowing silent updates (the caller cannot see the log messages), we should be sending an error to the caller that they must first unregister the model before reusing the same name w/ a different backend.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 17, 2025
@mattf mattf changed the title Revert "fix: Added a bug fix when registering new models" fix: Revert "fix: Added a bug fix when registering new models" Sep 17, 2025
@mattf mattf marked this pull request as ready for review September 17, 2025 14:42
@mattf
Copy link
Collaborator Author

mattf commented Sep 17, 2025

cc @ashwinb @omaryashraf5

Copy link
Collaborator

@franciscojavierarceo franciscojavierarceo left a comment

Choose a reason for hiding this comment

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

instead of allowing silent updates (the caller cannot see the log messages), we should be sending an error to the caller that they must first unregister the model before reusing the same name w/ a different backend.

agreed

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants