ray.train.get_context#
- ray.train.get_context() TrainContext#
Get or create a singleton training context.
The context is only available within a function passed to Ray Train.
See the
TrainContextAPI reference to see available methods.
Site Navigation
uv for Python package management in KubeRayGet or create a singleton training context.
The context is only available within a function passed to Ray Train.
See the TrainContext API reference to see available methods.