![]() If not sure you can use ubuntu-drivers devices to scan and list the drivers to install.Īfter packer was done I spun up VMs with Terraform and logged in to check: Sources:Īnsible (5) AWS (1) azure (14) azure devops (14) Business (3) ci/cd (9) Cloud (4) Containers (9) Data Science (1) DevOps (30) ElasticSearch (5) GCP (1) Github (1) Helm (3) IT Automation (14) IT Business (4) k8s (11) Kasm (2) Kubernetes (11) PowerShell (7) Programming & Scripting (2) Projects (3) Python (1) Security (2) Terraform (6) vsts agent (5) Yaml (4) "sudo DEBIAN_FRONTEND=noninteractive apt-get -qq install -y gcc nvidia-driver-470" " sudo add-apt-repository ppa:graphics-drivers/ppa", The easiest way for me was to add the Graphics Drivers PPA repo and use apt-get to pull the version I need. NVIDIA’s docs are also a little dated and recommend wget and running a shell script. NVIDIA Drivers and CUDA Toolkitĭocumentation from Microsoft is outdated, they provide an example for Ubuntu 16.04 and recommend to download the package with wget, etc. Usually you can do your gold image builds in a smaller machine than what you are going to deploy in PROD but in this case stick with the same so that the driver can install without issue, at least stay within the same VM series. Pick the OS from the Azure Marketplace Ubuntu 20.04 Packer selection from Azure Marketplace II. I am deploying the VM from an Azure DevOps pipeline using Hashicorp Packer and after trying a few ways I found a very easy way to deploy the VM, Driver and Cuda Toolkit which I will share in this article. I am building an analytics system that deploys containers on top of the Azure NCasT4_v3-series virtual machines which are powered by Nvidia Tesla T4 GPUs and AMD EPYC 7V12(Rome) CPUs.
0 Comments
Leave a Reply. |