<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>TailorNode Documentation – GPU付きVMを利用するにあたって</title><link>https://documents.tailornode.com/docs/user_guide/user_points/driver/</link><description>Recent content in GPU付きVMを利用するにあたって on TailorNode Documentation</description><generator>Hugo -- gohugo.io</generator><language>ja</language><atom:link href="https://documents.tailornode.com/docs/user_guide/user_points/driver/index.xml" rel="self" type="application/rss+xml"/><item><title>Docs: NVIDIA GPUドライバのインストール</title><link>https://documents.tailornode.com/docs/user_guide/user_points/driver/nvidia_install_driver/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://documents.tailornode.com/docs/user_guide/user_points/driver/nvidia_install_driver/</guid><description>
&lt;div class="pageinfo pageinfo-primary">
&lt;p>以下の環境にNVIDIA GPUドライバをインストールする手順です。&lt;br>&lt;/p>
&lt;ul>
&lt;li>GPU: NVIDIA A100&lt;br>&lt;/li>
&lt;li>OS: Ubuntu20.04&lt;br>&lt;/li>
&lt;li>GPU Driver: 550.x (LTS)&lt;/li>
&lt;/ul>
&lt;/div>
&lt;h2 id="1-nvidia-gpuドライバのみのインストール">1. NVIDIA GPUドライバのみのインストール&lt;/h2>
&lt;h3 id="11-パッケージのダウンロード">1.1. パッケージのダウンロード&lt;/h3>
&lt;ol>
&lt;li>
&lt;p>NVIDIAの公式ドライバダウンロードサイトにアクセスします。&lt;br>&lt;a href="https://www.nvidia.com/ja-jp/drivers/">NVIDIA 公式ドライバーのダウンロード | NVIDIA &lt;/a>&lt;br>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>ドライバーの手動検索欄に &lt;code>A100&lt;/code> と記入いただき、それぞれ次の項目を選択ください。&lt;br>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;ul>
&lt;li>製品カテゴリ：Data Center / Tesla&lt;/li>
&lt;li>製品シリーズ：A-Series&lt;/li>
&lt;li>製品： NVIDIA A100&lt;/li>
&lt;li>OS：Linux 64-bit Ubuntu 20.04&lt;/li>
&lt;/ul>
&lt;ol start="3">
&lt;li>
&lt;p>必要なバージョンのドライバをダウンロードします。&lt;br>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>ダウンロードにはNVIDIAの規約への同意が必要ですので、同意の上ダウンロードしてください。&lt;br>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;br>
&lt;h3 id="12-インストール">1.2. インストール&lt;/h3>
&lt;ol>
&lt;li>
&lt;p>ダウンロードした .deb ファイルを対象サーバーにコピーします。&lt;/p>
&lt;/li>
&lt;li>
&lt;p>サーバー上で以下のコマンドを実行します。&lt;/p>
&lt;/li>
&lt;/ol>
&lt;pre tabindex="0">&lt;code>sudo dpkg -i &amp;lt;ダウンロードしたファイル&amp;gt;.deb
sudo cp /var/nvidia-driver-local-repo-ubuntu2004-550.xx.xx/nvidia-driver-local-xxxxxx-keyring.gpg /usr/share/keyrings/
## dpkgコマンド実行時に表示されるcpコマンドの部分をコピーして実行ください
sudo apt update
sudo apt install nvidia-driver-550
sudo reboot
&lt;/code>&lt;/pre>&lt;ol start="3">
&lt;li>
&lt;p>サーバーが再起動したら、 &lt;code>nvidia-smi&lt;/code> コマンドを実行し、GPUのリストが取得出来れば、インストールは完了です。&lt;/p>
&lt;/li>
&lt;li>
&lt;p>意図しないサスペンドによりマシンもしくはGPUにアクセス出来なくなることなどのリスクを防ぐため、下記コマンドも実行ください。&lt;/p>
&lt;/li>
&lt;/ol>
&lt;pre tabindex="0">&lt;code>sudo systemctl enable multi-user.target --force
sudo systemctl set-default multi-user.target
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
sudo reboot
&lt;/code>&lt;/pre>&lt;h2 id="2-cuda-toolkitのインストール">2. CUDA Toolkitのインストール&lt;/h2>
&lt;p>CUDAが必要な場合は、下記のサイトで必要なバージョンを選択し、インストール手順に従ってインストールを行ってください。&lt;/p>
&lt;p>&lt;a href="https://developer.nvidia.com/cuda-toolkit-archive">CUDA Toolkit Archive&lt;/a>&lt;/p></description></item></channel></rss>