nirs4all.pipeline.dagml.host_hpo_candidate module

Candidate-local Python process for host HPO callbacks and RNG isolation.

class nirs4all.pipeline.dagml.host_hpo_candidate.HostHpoCandidate(index: int, *, provider: Any, dataset: Any, identity: Any, graph: dict[str, Any], operator_seed: int)[source]

Bases: object

Keep one candidate’s provider, view handles, models and RNG in one child.

call(kind: str, payload: dict[str, Any]) → dict[str, Any][source]

Exchange one view or operator callback with this candidate’s child.

close() → None[source]

Reap the candidate process and remove its private request and log.