Config¶
Typed configuration follows module ownership:
graphids.exp.configdefines experiments, resolved runs, resources, outputs, and the fit/test payload (RunPayload).graphids.data.config.CANEventDataConfigdefines event data loading and chronological stream batching.graphids.models.config.EventGraphMambaConfigdefines the graph-Mamba model and its training objectives.graphids.data.representation.CANEventRepresentationConfigdefines the message-preserving event contract.
Experiments may extend one relative base YAML. See configuration composition for merge rules, expanded config snapshots, and standalone compatibility.
graphids.exp.run resolves the built-in YAML types can_event_dm and
event_graph_mamba directly to their config classes. Custom components and
callbacks use class_path with optional init_args. Config builders and direct
data/model constructors share validation; checkpoint reconstruction uses the
same model settings.
Python imports use the domain packages above. The old graphids.core and
graphids.primitives* modules have been removed without forwarding aliases.
Input YAML and checkpoint contracts are preserved. Current run manifests use
schema 2 for saved results; readers also accept historical manifests and MLflow
ingest payloads. Configuration objects do not write files or format tracking data.
config ¶
Typed experiment config objects.
This is intentionally framework-agnostic: CLI, SLURM, and future adapters consume the same domain config.
ExperimentConfig ¶
Bases: _StrictModel
Top-level experiment description.
This is the domain entrypoint: compose here, then resolve to one
RunConfig.
OutputConfig ¶
Bases: _StrictModel
Filesystem layout for a run.
ResourceConfig ¶
Bases: _StrictModel
Execution resources for a run.
RunConfig ¶
Bases: _StrictModel
Resolved launch config for a single run.
RunPayload ¶
Bases: _StrictModel
Typed payload for fit/test launches.
load_experiment_yaml ¶
Expand a single relative base before validating the experiment.
Source code in graphids/exp/config.py
merge_config ¶
Merge overrides without carrying arguments across component identities.