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

Pass subset of ClimaAtmosParameters to detrainment #3445

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

charleskawczynski
Copy link
Member

This PR passes a subset of ClimaAtmosParameters to detrainment, as we are near hitting the limit of parameter memory space when running on the gpu.

Copy link
Member

@szy21 szy21 left a comment

Choose a reason for hiding this comment

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

Thanks! We can just replace turbconv_params with tc_params in some of the functions?

@charleskawczynski
Copy link
Member Author

Thanks! We can just replace turbconv_params with tc_params in some of the functions?

I renamed tc_params -> turbconv_params across the board.

@charleskawczynski charleskawczynski added this pull request to the merge queue Nov 21, 2024
@charleskawczynski charleskawczynski removed this pull request from the merge queue due to a manual request Nov 21, 2024
@szy21
Copy link
Member

szy21 commented Nov 22, 2024

Hmm, somehow the reproducibility test failed. I don't think this should change MSE though?

Fixes

More fixes

Rename tc_params -> turbconv_params
@charleskawczynski
Copy link
Member Author

Hmm, somehow the reproducibility test failed. I don't think this should change MSE though?

Yeah, that's strange. My best guess is that it ran on a different machine? Or there are still issues with the reproducibility test infrastructure that need worked out. I'm working on adding more unit tests now.

@charleskawczynski charleskawczynski added this pull request to the merge queue Nov 22, 2024
Merged via the queue into main with commit 5f3da9f Nov 22, 2024
16 checks passed
@charleskawczynski charleskawczynski deleted the ck/detrainment_param_mem2 branch November 22, 2024 16:52
@charleskawczynski
Copy link
Member Author

Please let me know if this was sufficient to get your example working (cc @szy21). If not, I can do a followup with updating the actual broadcast expression, which I think could have a bigger impact since the local geometry is passed in.

@szy21
Copy link
Member

szy21 commented Nov 22, 2024

Please let me know if this was sufficient to get your example working (cc @szy21). If not, I can do a followup with updating the actual broadcast expression, which I think could have a bigger impact since the local geometry is passed in.

Yes, it seems to work, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants