DatacacheConsumptionConfig Class
Note
This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Represent how to deliver the datacache to the compute target.
Represent how to deliver the datacache to the compute target.
- Inheritance
-
builtins.objectDatacacheConsumptionConfig
Constructor
DatacacheConsumptionConfig(datacache_store, dataset, mode='mount', replica_count=None, path_on_compute=None, **kwargs)
Parameters
- mode
- str
Defines how the datacache should be delivered to the compute target. Only mount mode is supported currently.
- replica_count
- <xref:Int>, Optional, <xref:Defaults to 1>
Number of replicas to be used by the job.
The target path on the compute to make the data available at.
- mode
- str
Defines how the datacache should be delivered to the compute target. Only mount mode is supported currently.
The target path on the compute to make the data available at.
Methods
as_mount |
Set the datacache mode to mount from requested number of replicas. In the submitted run, required replicas will be mounted to local path on the compute target. The local path on the compute can be retrieved from the arguments in the run. |
as_mount
Set the datacache mode to mount from requested number of replicas.
In the submitted run, required replicas will be mounted to local path on the compute target. The local path on the compute can be retrieved from the arguments in the run.
as_mount(path_on_compute=None, replica_count=None)
Parameters
The target path on the compute to make the data available at.
- replica_count
- <xref:Int>
Number of replicas
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for