Skip to content

Commit

Permalink
Merge pull request #932 from CliMA/js/snowy_benchmark
Browse files Browse the repository at this point in the history
add snowy land benchmark
  • Loading branch information
juliasloan25 authored Dec 2, 2024
2 parents 5462eef + 867d312 commit 4f0ca04
Show file tree
Hide file tree
Showing 8 changed files with 500 additions and 9 deletions.
10 changes: 10 additions & 0 deletions .buildkite/target/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,13 @@ steps:
agents:
slurm_mem: 8GB
slurm_gpus: 1

- label: ":snow_capped_mountain: Snowy Land"
command: "julia --color=yes --project=.buildkite experiments/benchmarks/snowy_land.jl"
artifact_paths:
- "snowy_land_benchmark_gpu/*html"
env:
CLIMACOMMS_DEVICE: CUDA
agents:
slurm_mem: 8GB
slurm_gpus: 1
2 changes: 1 addition & 1 deletion experiments/benchmarks/bucket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ if ClimaComms.device() isa ClimaComms.CUDADevice
end

if get(ENV, "BUILDKITE_PIPELINE_SLUG", nothing) == "climaland-benchmark"
PREVIOUS_BEST_TIME = 1.2
PREVIOUS_BEST_TIME = 1.1
if average_timing_s > PREVIOUS_BEST_TIME + std_timing_s
@info "Possible performance regression, previous average time was $(PREVIOUS_BEST_TIME)"
elseif average_timing_s < PREVIOUS_BEST_TIME - std_timing_s
Expand Down
2 changes: 1 addition & 1 deletion experiments/benchmarks/land.jl
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ if ClimaComms.device() isa ClimaComms.CUDADevice
end

if get(ENV, "BUILDKITE_PIPELINE_SLUG", nothing) == "climaland-benchmark"
PREVIOUS_BEST_TIME = 4.7
PREVIOUS_BEST_TIME = 4.9
if average_timing_s > PREVIOUS_BEST_TIME + std_timing_s
@info "Possible performance regression, previous average time was $(PREVIOUS_BEST_TIME)"
elseif average_timing_s < PREVIOUS_BEST_TIME - std_timing_s
Expand Down
2 changes: 1 addition & 1 deletion experiments/benchmarks/richards.jl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ if ClimaComms.device() isa ClimaComms.CUDADevice
end

if get(ENV, "BUILDKITE_PIPELINE_SLUG", nothing) == "climaland-benchmark"
PREVIOUS_BEST_TIME = 5.1
PREVIOUS_BEST_TIME = 5.9
if average_timing_s > PREVIOUS_BEST_TIME + std_timing_s
@info "Possible performance regression, previous average time was $(PREVIOUS_BEST_TIME)"
elseif average_timing_s < PREVIOUS_BEST_TIME - std_timing_s
Expand Down
Loading

0 comments on commit 4f0ca04

Please sign in to comment.