azure

Getting started with azure

Remarks#

Azure is the brand name under which Microsoft is offering its cloud computing services. Some of the main services offered within the Microsoft Azure platform are:

  • Infrastructure as a Service (IaaS): Linux and Windows Azure Virtual Machines
  • Platform as a Service (PaaS): App Service provides a complete platform for app (Web and mobile) development,
  • Cloud Storage: SQL and noSQL storage services
  • Software as a Service (SaaS): scheduler, backup, analytics, Machine Learning, security and authentication

Here’s an infographic to view the main Azure offerings at-a-glance: https://azure.microsoft.com/en-us/resources/infographics/azure/. And here you can browse through and filter all Azure products by category.

Azure N-series(GPU) : install CUDA, cudnn, Tensorflow on UBUNTU 16.04 LTS

After spending more than 5 hours, i found this easy solution:

-To verify that the system has a CUDA-capable GPU, run the following command:

lspci | grep -i NVIDIA

You will see output similar to the following example (showing an NVIDIA Tesla K80/M60 card):

enter image description here

-Disabling the nouveau driver:

sudo -i
rmmod nouveau

-After a reboot: sudo reboot, verify the driver is installed properly by issuing:

lsmod | grep -i nvidia

-Next, download the CUDA package from Nvidia, …

wget https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb

-… make it known to apt-get and install the CUDA Toolkit:

sudo dpkg -i cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb
sudo apt-get update
sudo apt-get install -y cuda

-Now we can check the status of the GPU(s) by running:

nvidia-smi

Next, we download cuDNN

wget https://developer.download.nvidia.com/compute/redist/cudnn/v5.1/cudnn-8.0-linux-x64-v5.1.tgz

-… unzip, copy the lib64 and include folders:

tar -zxf cudnn-8.0-linux-x64-v5.1.tgz
sudo cp cuda/lib64/* /usr/local/cuda/lib64/
sudo cp cuda/include/* /usr/local/cuda/include/
sudo rm -R cuda

-Time to do some clean up and remove the downloaded archives:

rm cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb
rm cudnn-8.0-linux-x64-v5.1.tgz

To install Tensorflow with CPU/GPU , go here :

https://www.tensorflow.org/install/install_linux#installing_with_anaconda

Reference:

1.https://www.lutzroeder.com/blog/2016-12-27-tensorflow-azure 2.https://www.tensorflow.org/install/install_linux#installing_with_anaconda


This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow