ray.rllib.algorithms.algorithm.Algorithm.trial_resources#

property Algorithm.trial_resources: PlacementGroupFactory | None#

Resources currently assigned to the trial of this Trainable.

This is not set if not using Tune.

from ray.tune import Trainable

trial_resources = Trainable().trial_resources