Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving user-specific patching to after extramodel download #3695

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

danbarto
Copy link
Contributor

Addressing #3694

@bbilin
Copy link
Collaborator

bbilin commented May 3, 2024

What is the motivation to change this file? If it is for a specific model, I would suggest modifying it for your own use case.

@kdlong
Copy link
Collaborator

kdlong commented May 3, 2024

I don't think there was any particular reason to have it before he model loading in the past, so I don't see any reason not to accept this change (speaking as the one who implemented this ages ago).

@bbilin
Copy link
Collaborator

bbilin commented May 3, 2024

I don't think there was any particular reason to have it before he model loading in the past, so I don't see any reason not to accept this change (speaking as the one who implemented this ages ago).

Thanks @kdlong ! Our only concern is that the patches move after MG has been run in l267. Would there be any cases where this would be a problem? ./bin/mg5_aMC mgconfigscript

@danbarto
Copy link
Contributor Author

danbarto commented May 3, 2024

Thanks for the comments!
In my opinion there are two motivations to not just upload a new model: this way we are flexible in changing things as we need them, and it is also more transparent to the user what is changed wrt the "official" model release.
As mentioned in the issue, we could also move the model download earlier and leave the patching in the same place.

@bbilin
Copy link
Collaborator

bbilin commented May 3, 2024

Thanks for the comments! In my opinion there are two motivations to not just upload a new model: this way we are flexible in changing things as we need them, and it is also more transparent to the user what is changed wrt the "official" model release. As mentioned in the issue, we could also move the model download earlier and leave the patching in the same place.

Thanks, I would indeed prefer this option.

@menglu21 menglu21 merged commit 382e00c into cms-sw:master Jun 5, 2024
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.

4 participants