DatacacheHydrationTracker Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

DatacacheHydrationTracker is used to keep track of the hydration job.

It can be used to wait on the the completion of the hydration process before consuming the datacache in the training job.

Create the datacache hydration tracker object.

Inheritance
builtins.object
DatacacheHydrationTracker

Constructor

DatacacheHydrationTracker(workspace, datacache_store, dataset, replica_count, run_id)

Parameters

Name Description
workspace
Required

The workspace.

name
Required
str

The name of the datacachestore.

dataset
Required

The dataset that is being hydrated.

replica_count
Required
<xref:Int>

Number of replicas requested for the hydration job.

run_id
Required
str

Run id of the hydration job to track.

Methods

wait_for_completion

Wait for the requested replicas to be hydrated.

wait_for_completion

Wait for the requested replicas to be hydrated.

wait_for_completion(show_output=False)

Parameters

Name Description
show_output
bool, <xref:Defaults to False>

Indicates whether to provide more verbose output.

default value: False

Returns

Type Description

The status object.