ez_azml.cloud_runs.cloud_run.CloudRun
- class ez_azml.cloud_runs.cloud_run.CloudRun(compute: AmlCompute | None = None, environment: Environment | None = None, ml_client: MLClient | None = None, inputs: dict[str, azure.ai.ml.entities._inputs_outputs.input.Input] | None = None, outputs: dict[str, azure.ai.ml.entities._inputs_outputs.output.Output] | None = None)
Bases:
ABCAbstract class representing any process that runs on the cloud.
- Parameters:
compute – Compute used to execute the run
environment – Environment used to host the run
ml_client – Client in charge of interacting with the cloud provider
- __init__(compute: AmlCompute | None = None, environment: Environment | None = None, ml_client: MLClient | None = None, inputs: dict[str, azure.ai.ml.entities._inputs_outputs.input.Input] | None = None, outputs: dict[str, azure.ai.ml.entities._inputs_outputs.output.Output] | None = None) None
Methods
__init__([compute, environment, ml_client, ...])on_register_end()Hook called after a component has been registered.
on_register_start()Hook called before a component has been registered.
on_run_end(output)Hook called once run has been submitted.
on_run_start()Hook called before run is submitted.
register()Registers the run as a reusable component.
run()Submits and runs the job.