ray.train.context.TrainContext.get_trial_id#
- TrainContext.get_trial_id() str [source]#
Trial id for the corresponding trial.
PublicAPI (beta): This API is in beta and may change before becoming stable.
Warning
DEPRECATED: This API is deprecated and may be removed in future Ray releases.
get_trial_id
is deprecated because the concept of aTrial
will soon be removed in Ray Train (see here: ray-project/enhancements#57). Ray Train will no longer assume that it’s running within a Ray TuneTrial
in the future.