Hello Helenhwl,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you would like to install Python (Pip) Security Update for torch and Ubuntu Security Patch for VM in Azure machine learning studio.
- Azure Machine Learning manages the host OS virtual machine (VM) images for compute instances, compute clusters, and Data Science Virtual Machines. These images are updated monthly with the latest patches from the original OS publisher (Canonical for Ubuntu images) and any necessary system package updates.
- Base Docker images maintained by Azure Machine Learning receive frequent security patches to address newly discovered vulnerabilities. Updates for supported images are released every two weeks.
- Azure Machine Learning applies hotfixes within 72 hours for compute clusters and within a week for compute instances if vulnerabilities surface.
- Given that your endpoints use the Standard_D2a_v4 SKU, these updates and patches are managed by Azure Machine Learning. You don't need to manually install these patches yourself.
- If you have specific environments or custom containers, you might need to manage those separately. For custom environments, you can use a private package repository to ensure your packages are up-to-date.
For all the information above, you can read more right in the link below:
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.