- class ray.train.context.TrainContext#
Context for Ray training executions.
Experiment name for the corresponding trial.
Get the local rank of this worker (rank of the worker on its node).
Get the local world size of this node (i.e.
User metadata dict passed to the Trainer constructor.
Get the rank of this node.
StorageContextstorage context which gives advanced access to the filesystem and paths configured through
Log directory corresponding to the trial directory for a Tune session.
Trial id for the corresponding trial.
Trial name for the corresponding trial.
Trial resources for the corresponding trial.
Get the world rank of this worker.
Get the current world size (i.e.