Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions config/config_dinov2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ healpix_level: 5
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: False
distributed:
data_parallel:
with_ddp: False
with_fsdp: False
spatial_parallel:
size: 1
ddp_find_unused_parameters: False
attention_dtype: bf16
mixed_precision_dtype: bf16
Expand Down Expand Up @@ -92,7 +97,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
8 changes: 6 additions & 2 deletions config/config_era5_georing_avhrr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ rope_2D: False
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: True
distributed:
data_parallel:
with_ddp: False
with_fsdp: True
spatial_parallel:
size: 1
attention_dtype: bf16
mixed_precision_dtype: bf16
mlp_norm_eps: 1e-5
Expand Down Expand Up @@ -103,7 +108,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
8 changes: 6 additions & 2 deletions config/config_era5_georing_avhrr_masking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ rope_2D: False
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: True
distributed:
data_parallel:
with_ddp: False
with_fsdp: True
spatial_parallel:
size: 1
attention_dtype: bf16
mixed_precision_dtype: bf16
mlp_norm_eps: 1e-5
Expand Down Expand Up @@ -103,7 +108,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
8 changes: 6 additions & 2 deletions config/config_forecasting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ rope_2D: False
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: True
distributed:
data_parallel:
with_ddp: False
with_fsdp: True
spatial_parallel:
size: 1
attention_dtype: bf16
mixed_precision_dtype: bf16
mlp_norm_eps: 1e-5
Expand Down Expand Up @@ -103,7 +108,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
8 changes: 6 additions & 2 deletions config/config_forecasting_eerie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ rope_2D: False
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: True
distributed:
data_parallel:
with_ddp: False
with_fsdp: True
spatial_parallel:
size: 1
attention_dtype: bf16
mixed_precision_dtype: bf16
mlp_norm_eps: 1e-5
Expand Down Expand Up @@ -103,7 +108,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
2 changes: 0 additions & 2 deletions config/config_forecasting_finetuning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down Expand Up @@ -57,4 +56,3 @@ training_config:
offset: 1
num_steps: 8
policy: "fixed"

8 changes: 6 additions & 2 deletions config/config_jepa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ rope_2D: False
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: False
distributed:
data_parallel:
with_ddp: False
with_fsdp: False
spatial_parallel:
size: 1
ddp_find_unused_parameters: False
attention_dtype: bf16
mixed_precision_dtype: bf16
Expand Down Expand Up @@ -106,7 +111,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
8 changes: 6 additions & 2 deletions config/config_jepa_finetuning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ with_step_conditioning: True # False
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: False
distributed:
data_parallel:
with_ddp: False
with_fsdp: False
spatial_parallel:
size: 1
ddp_find_unused_parameters: False #True
attention_dtype: bf16
mixed_precision_dtype: bf16
Expand All @@ -54,7 +59,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
8 changes: 6 additions & 2 deletions config/config_jepa_forecasting_finetuning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ healpix_level: 5
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: False
distributed:
data_parallel:
with_ddp: False
with_fsdp: False
spatial_parallel:
size: 1
ddp_find_unused_parameters: False #True
attention_dtype: bf16
mixed_precision_dtype: bf16
Expand Down Expand Up @@ -58,7 +63,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
8 changes: 6 additions & 2 deletions config/config_operan_georing_avhrr_forecasting_lowres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ rope_2D: False
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: True
distributed:
data_parallel:
with_ddp: False
with_fsdp: True
spatial_parallel:
size: 1
attention_dtype: bf16
mixed_precision_dtype: bf16
mlp_norm_eps: 1e-5
Expand Down Expand Up @@ -105,7 +110,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
8 changes: 6 additions & 2 deletions config/config_physical_jepa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ healpix_level: 5
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: False
distributed:
data_parallel:
with_ddp: False
with_fsdp: False
spatial_parallel:
size: 1
ddp_find_unused_parameters: False
attention_dtype: bf16
mixed_precision_dtype: bf16
Expand Down Expand Up @@ -101,7 +106,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
13 changes: 11 additions & 2 deletions config/default_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ num_register_tokens: 0

healpix_level: 5

distributed:
data_parallel:
# Set at runtime from the launched world size.
with_ddp: False
with_fsdp: True
find_unused_parameters: True
spatial_parallel:
# Split the model's HEALPix/location dimension across this many consecutive
# distributed ranks.
size: 4

# Use 2D RoPE instead of traditional global positional encoding
# When True: uses 2D RoPE based on healpix cell coordinates (lat/lon)
# When False: uses traditional pe_global positional encoding
Expand All @@ -74,7 +85,6 @@ rope_2D: False
with_mixed_precision: True
with_flash_attention: True
compile_model: False
with_fsdp: True
attention_dtype: bf16
mixed_precision_dtype: bf16
mlp_norm_eps: 1e-5
Expand Down Expand Up @@ -108,7 +118,6 @@ general:
world_size: ???

# local_rank,
# with_ddp,
# data_path_*,
# model_path,
# run_path,
Expand Down
10 changes: 10 additions & 0 deletions config/spatial_parallel_4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# (C) Copyright 2025 WeatherGenerator contributors.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.

# Four consecutive ranks share one batch and each process one quarter of the
# HEALPix/location dimension through local assimilation.
distributed:
spatial_parallel:
size: 4
10 changes: 10 additions & 0 deletions config/spatial_parallel_8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# (C) Copyright 2025 WeatherGenerator contributors.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.

# Eight consecutive ranks share one batch and each process one eighth of the
# HEALPix/location dimension through local assimilation.
distributed:
spatial_parallel:
size: 8
Loading
Loading