ray.tune.Trainable.trial_resources
ray.tune.Trainable.trial_resources#
- property Trainable.trial_resources: Optional[ray.tune.execution.placement_groups.PlacementGroupFactory]#
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