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

Separate xgrid and model generation within model trainer #1644

Merged
merged 3 commits into from
Dec 7, 2022

Conversation

scarlehoff
Copy link
Member

Right now the xgrid that is used as input for the PDF (which is a concatenation of all the points in x the fktables ask for) was being prepared just before the observable generation.

There was no reason for that, it just happened to be there. For #1622 we need to generate the photon in all those x-points. While technically it doesn't matter where luxqed is called, I think it is better to call it from the top(est?) possible level. In this case, just after the grid of x-points is prepared.

@Zaharid
Copy link
Contributor

Zaharid commented Dec 7, 2022

Should this be cheched by the fitbot?

@scarlehoff scarlehoff added the run-fit-bot Starts fit bot from a PR. label Dec 7, 2022
@scarlehoff
Copy link
Member Author

scarlehoff commented Dec 7, 2022

It is actually just a reordering of the code with absolutely no changes, but it is "free" so... why not.

@Zaharid
Copy link
Contributor

Zaharid commented Dec 7, 2022

LGTM.

@RoyStegeman
Copy link
Member

Seems fine to me as well. Let's wait for the bot and then merge

@github-actions
Copy link

github-actions bot commented Dec 7, 2022

Greetings from your nice fit 🤖 !
I have good news for you, I just finished my tasks:

Check the report carefully, and please buy me a ☕ , or better, a GPU 😉!

@Zaharid Zaharid merged commit 74f9413 into master Dec 7, 2022
@Zaharid Zaharid deleted the separate_xgrid_from_model branch December 7, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactoring run-fit-bot Starts fit bot from a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants