Skip to content

Conversation

@mart-r
Copy link
Collaborator

@mart-r mart-r commented Jan 14, 2026

This is normally not a good idea. The user is expected only to push models if/when they've made changes to them.

However, when pushing a brand new model (e.g when moving models between back ends / syncing) we need to do that. Otherwise the resulting model would have a different model card due to the changes in the description.
Normally this isn't much of an issue (the hash and the rest of the model card still remain the same). However, when syncing we do want to ensure that we end up with the same exact models.
Though - somewhat notably - the re-saving of a model will still change the Last Modified On and (potentially) MedCAT Version values. But I've left them be for now.

@tomolopolis
Copy link
Member

Copy link
Member

@tomolopolis tomolopolis left a comment

Choose a reason for hiding this comment

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

lgtm

@mart-r mart-r merged commit 3400ac0 into main Jan 16, 2026
10 checks passed
@mart-r mart-r deleted the feat/medcat-den/CU-869bt6xtk-allow-pushing-without-change branch January 16, 2026 10:55
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