Thanks for the question, For your first question, you can specify the required packages for your custom training scripts in Azure by creating a requirements.txt file alongside your Python script. You then need to set the AZUREML_EXTRA_REQUIREMENTS_TXT environment variable in your Azure Machine Learning environment to the location of the requirements.txt file You can also define your required packages in a requirements.txt file within a folder structure like this: image_build -> requirements.txt
As for your second question, to ensure that your VM recognizes and utilizes the T4 GPU effectively, you need to install the appropriate NVIDIA GPU drivers. The Azure NVIDIA GPU Driver Extension installs the appropriate NVIDIA CUDA or GRID drivers on an N-series VM. For the NCasT4_v3-series VMs, which are powered by Nvidia Tesla T4 GPUs, you must install Nvidia GPU drivers If you’re still facing issues, you might want to try setting your GPU to WDDM mode via cmd (by default it’s in TCC mode).