hydra

Hydra utilities.

cneuromax.fitting.utils.hydra.get_launcher_config()[source]

Retrieves/validates this job’s hydra launcher config.

Ref: Hydra.

Return type:

LocalQueueConf | SlurmQueueConf

Returns:

The Hydra launcher config.

Raises:

TypeError – If the launcher config is not a dict or if the launcher is not supported.