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

add GPU inference reproducer #2062

Merged
merged 2 commits into from
Oct 29, 2024
Merged

add GPU inference reproducer #2062

merged 2 commits into from
Oct 29, 2024

Conversation

juliasloan25
Copy link
Member

@juliasloan25 juliasloan25 commented Oct 28, 2024

Add a reproducer for the Field broadcasting bug initially found in CliMA/ClimaLand.jl#739

This is a type inference error that arises when a function is broadcast over one field and two structs that both have broadcastable extended using tuple. The problem is simplified here so the structs each contain one scalar value, and the called function itself does nothing. The reproducer was tested on multiple different field types, and reproduced the bug on all of them.

  • Code follows the style guidelines OR N/A.
  • Unit tests are included OR N/A.
  • Code is exercised in an integration test OR N/A.
  • Documentation has been added/updated OR N/A.

@charleskawczynski
Copy link
Member

Thanks, @juliasloan25, looks good!

@charleskawczynski charleskawczynski merged commit a802b34 into main Oct 29, 2024
32 of 33 checks passed
@charleskawczynski charleskawczynski deleted the js/gpu-repro branch October 29, 2024 13:06
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.

2 participants