Skip to content

[Feature Request] Separate processor_layers for fine- and coarse-grained layers in hi_lam #744

Description

@jamesYu84

Hi, thank you for the excellent work on neural-lam!

I am currently experimenting with the hi_lam model and trying to reproduce the WaveGraph paper settings on a Mediterranean region dataset. I noticed that the current implementation uses a single parameter --processor_layers to control the number of message-passing steps for all layers (both fine- and coarse-grained graphs).

According to the WaveGraph paper:

Fine-grained graph: uses N_v = 2 message-passing steps.

Coarse-grained graph: uses N_u = 8 message-passing steps.

However, --processor_layers (default=4 in hi_lam) applies the same number of steps to both the fine and coarse branches, which makes it impossible to replicate the paper's exact architecture.

Questions:

Is this a known design choice or limitation?

Would it be possible to add separate parameters, e.g., --fine_processor_layers and --coarse_processor_layers, to better align with the original WaveGraph architecture?

In the meantime, is there a workaround to achieve this separation (e.g., by modifying the config file or model definition)?

I'd be happy to test and provide feedback if this feature is added.

Environment:

neural-lam version: 59c3e77

Python: 3.10

CUDA: 12.4

GPU: RTX 3090 24GB

Thank you for your time!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions