MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.29k stars 21.47k forks source link

"_prepare_to_copy" none intuitive step with sdk (no documentation) #102714

Open FlorianPydde opened 1 year ago

FlorianPydde commented 1 year ago

[Enter feedback here] Why do we need to use "_prepare_to_copy" with the SDK. Could you expand on a it a bit ? What happens if don't use an MFLow model but sklearn or onnx ?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

RamanathanChinnappan-MSFT commented 1 year ago

@spottedmahn

Thanks for your feedback! We will investigate and update as appropriate.

RamanathanChinnappan-MSFT commented 1 year ago

@FlorianPydde

I've delegated this to content author @ManojBableshwar to review and share his valuable insights.

FlorianPydde commented 1 year ago

Any update ?

fkriti commented 1 year ago

@FlorianPydde "_prepare_to_copy" was to share an Azure Mahine Learning asset (ex: model) from a Azure Machine Learning workspace to Azure Machine Learning registry. However, this syntax no longer exists and instead share() can be used.

# share the model from registry to workspace ml_client.models.share(name="nyc-taxi-model", version=1, registry_name=<registry_name>, share_with_name=<new-name>, share_with_version=<new-version>)

Check out this article to learn more