nemo_curator.backends.ray_data.diagnostics
nemo_curator.backends.ray_data.diagnostics
Runtime Ray Data scheduler diagnostics for the supported Ray release.
The diagnostics were developed as a Ray source patch, but Curator cannot
distribute a patched Ray wheel. This module installs the equivalent Python
hooks in the driver process. The hooks emit through child loggers of
ray.data so Ray’s SessionFileHandler writes them to
session_latest/logs/ray-data/ray-data.log.
All affected scheduler components run in the Ray Data driver. Worker environments therefore do not need modified Ray installations.
Module Contents
Classes
Functions
Data
API
Bases: enum.Enum
Result of attempting to enable Ray Data diagnostics.
Flatten Ray ExecutionResources into stable scalar fields.
Format an event as stable, parseable logfmt-like tokens.
Install driver-side diagnostics without modifying the Ray installation.
Diagnostics are opt-in through NEMO_CURATOR_RAY_DATA_DIAGNOSTICS.
The shim is intentionally restricted to the Ray version whose private APIs
it targets. A future Ray release containing the upstream diagnostics is
detected and left untouched.