Skip to content

Commit df59a9a

Browse files
clessigsimone99n
andauthored
Clessig/simone99n/simone99n/dev/new config integration test (ecmwf#1511)
* new config for multi integration test * new conf multi-integration test - align with big merge * increased samples_per_validation * [1458] fix single integration test * [1435] fix single-integration test --------- Co-authored-by: simone99n <simone.norberti@gmail.com> Co-authored-by: Simone Norberti <63310821+simone99n@users.noreply.github.com>
1 parent 67b5309 commit df59a9a

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

integration_tests/small1.yaml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,27 @@ model_path: "./models"
44
loss_fcts: [["mse", 1.0]]
55
loss_fcts_val: [["mse", 1.0]]
66
num_mini_epochs: 1
7-
samples_per_mini_epoch: 100
8-
samples_per_validation: 5
9-
lr_steps: 4
10-
lr_steps_warmup: 2
7+
samples_per_mini_epoch: 128
8+
samples_per_validation: 32
9+
lr_steps_warmup: 4
1110
lr_steps_cooldown: 2
1211
loader_num_workers: 8
1312

14-
forecast_offset : 0
15-
# len_hrs: 6
16-
# step_hrs: 6
13+
# forecast_offset: 0
14+
forecast_offset : 1
15+
forecast_steps: 2
16+
forecast_policy: "fixed"
17+
forecast_freeze_model: False
18+
forecast_att_dense_rate: 1.0
19+
fe_num_blocks: 2
20+
fe_num_heads: 16
21+
fe_dropout_rate: 0.1
22+
fe_with_qk_lnorm: True
23+
fe_layer_norm_after_blocks: []
24+
impute_latent_noise_std: 0.0
25+
26+
healpix_level: 4
27+
training_mode: "forecast"
1728

1829
train_log:
1930
log_interval: 1

integration_tests/small1_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def infer(run_id):
8484
def infer_with_missing(run_id):
8585
logger.info("run inference")
8686
inference_from_args(
87-
["-start", "2022-10-10", "-end", "2022-10-11", "--samples", "10", "--mini_epoch", "0"]
87+
["-start", "2021-10-10", "-end", "2022-10-11", "--samples", "10", "--mini_epoch", "0"]
8888
+ [
8989
"--from_run_id",
9090
run_id,

integration_tests/small_multi_stream.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ loss_fcts: [["mse", 1.0]]
55
loss_fcts_val: [["mse", 1.0]]
66
num_mini_epochs: 1
77
samples_per_mini_epoch: 128
8-
samples_per_validation: 4
8+
samples_per_validation: 32
99
lr_steps_warmup: 4
1010
lr_steps_cooldown: 2
1111
loader_num_workers: 8

0 commit comments

Comments
 (0)