Ray Launcher¶
The experiment launcher is graphids.exp.ray_backend. It accepts a typed
RunConfig, constructs Ray TorchTrainer directly, and runs the worker loop
that builds data/model/trainer objects from YAML config.
Current stages:
fit/test-> Lightning trainer launch with config-driven data/model instantiation, Ray Lightning strategy/environment, and Ray checkpoint/metric reporting.
graphids.exp.ray_backend¶
ray_backend ¶
Ray Train launcher for GraphIDS experiment YAML.
RunSummary
dataclass
¶
RunSummary(run_dir: str, status: str, stage: str, name: str, last_event: str | None = None, error: str | None = None, extra: dict[str, Any] = dict())
Minimal status summary for UI/readout code.
build_component ¶
Resolve a spec and call build() when the resolved object supports it.
Source code in graphids/exp/ray_backend.py
launch_run ¶
Run a GraphIDS experiment through Ray Train.
Source code in graphids/exp/ray_backend.py
probe_ray_train_imports ¶
Import the Ray APIs GraphIDS relies on and return their module paths.
Source code in graphids/exp/ray_backend.py
resolve_spec ¶
Resolve a nested primitive/class-path spec without calling build().