Skip to content

Commit

Permalink
adjust activation function config
Browse files Browse the repository at this point in the history
  • Loading branch information
chebertpinard committed Feb 28, 2025
1 parent e1ceca2 commit 4f6003d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 5 additions & 1 deletion training/src/anemoi/training/config/model/gnn.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
activation: GELU
activation:
_target_: nn.torch.GELU
_partial_: True
#dim: ${model.num_channels} # for GLU functions

num_channels: 512
cpu_offload: False
output_mask: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
activation: GELU
activation:
_target_: nn.torch.GELU
_partial_: True

num_channels: 1024
cpu_offload: False
output_mask: null
Expand Down
5 changes: 4 additions & 1 deletion training/src/anemoi/training/config/model/transformer.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
activation: GELU
activation:
_target_: nn.torch.GELU
_partial_: True

num_channels: 1024
cpu_offload: False
output_mask: null
Expand Down

0 comments on commit 4f6003d

Please sign in to comment.