-
Notifications
You must be signed in to change notification settings - Fork 9
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
Define a linear partition, and use in FD stencils #2002
Conversation
3a8464b
to
eaa7c4a
Compare
For now, this fully reverts using the multi-dimensional thread-block to using a dynamic |
Here: https://buildkite.com/clima/climacoupler-amip/builds/56 |
Looks like it's broken on an unrelated land component. |
The update in Thermodynamics broke the coupler tests, so we cannot (trivially) merge the fix for this. I'll merge them manually |
I fixed it, but now it crashed because of the new thermodynamics |
This is running: https://buildkite.com/clima/climacoupler-amip/builds/64#019229f8-e641-4bc4-b733-99e276fb74d9 (at the time of writing, this is the only job running and only GPU being used) |
There seems to be a ~2% increase in SYPD in this run compared with the current main. Not sure if it is significant? |
I can try reverting more kernel launches, we don't have any microbenchmarks for the TDMA and multiple field solves. That should only account for an additional 4%, though, since Atmos was partially responsible for the slowdown (I believe @szy21 mentioned 8% total, 6% from ClimaCore, and 2% from Atmos). If that fails to recover the last few percent, then we can just revert all of ClimaCore back to that commit and reapply changes since. |
I'd like to iterate on this more quickly, how can I run this job interactively? |
Zhaoyi is already factoring out the contribution from ClimaAtmos here. This job has SYPD of 0.892 at week 13. If you run an identical job but with ClimaCore 0.14.12, the SYPD ws 0.956 (7% faster). If you run an identical job but with ClimaCore 0.14.13, the SYPD was 0.869 (2.5% slower).
|
local notes: # julia --project=experiments/ClimaEarth/
empty!(ARGS)
ENV["CLIMACOMMS_DEVICE"] = "CUDA";
push!(ARGS, "--config_file", "config/amip_configs/amip.yml")
push!(ARGS, "--job_id", "amip")
using Revise; include("experiments/ClimaEarth/run_amip.jl") |
eaa7c4a
to
6adeb1d
Compare
Superseded by #2055. |
A performance regression was found in #1969. Concretely,
Main
3fd62e1
Most notably:
main
3fd62e1
This PR is an attempt to fix this regression by reverting the prescribed thread-block configuration for stencils to use a linear partition.