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

remove HydrologyEarthParameters struct #982

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

juliasloan25
Copy link
Member

Purpose

This PR removes the HydrologyEarthParameters struct, which was introduced in #739 to fix a GPU inference issue. Here, we instead update the interface of phase_change_source to take in the full model parameters as its final argument. This both fixes the inference issue we saw before, and removes the allocating use of HydrologyEarthParameters.

closes #975

@kmdeck
Copy link
Member

kmdeck commented Jan 15, 2025

What a mysterious bug! I thought it was from broadcasting over too many structs, but here it seems like we passed another as an argument, and it fixes it

@juliasloan25
Copy link
Member Author

What a mysterious bug! I thought it was from broadcasting over too many structs, but here it seems like we passed another as an argument, and it fixes it

Unfortunately I don't think we fixed it, it looks like the most recent buildkite has the same error that we were seeing originally.

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.

The workaround for GPU inference failure allocates new fields
2 participants