タグ

2024年7月21日のブックマーク (2件)

  • Ubuntu22.04へCUDA11.8環境を作る|Teruaki Ishizaki

    Ubuntu22.04へCUDA 11.5がaptで入手できますが、CUDA 11.5だとうまくビルドができない問題にハマった。どうやらCUDA11.8だとうまく行くようなので構築してみようと思っても以外と情報がない。 ということで、すぐに忘れそうなので色々と調べながら試行錯誤してうまく行った結果を残しておこう。 とはいっても、だいぶ以下の記述に助けられた気がする。 すでに色々と開発環境が入っているから関連する手順は飛ばしているかもしれないが以下に備忘録として。 まずは環境最新化と余計なNVIDIAドライバ・cudaが入ってしまっている場合は、一旦削除してから始める。ドハマりしたあとに手順を踏んだので、初回インストール時は不要な気もする。 sudo apt -y update sudo apt -y upgrade sudo apt remove --purge -y nvidia-* s

    Ubuntu22.04へCUDA11.8環境を作る|Teruaki Ishizaki
  • Swapfiles by default in Ubuntu

    By default, in Ubuntu, we usually create a swap partition. Back in the day of 4MB RAM cards this made total sense, as the ration of RAM to disk space, was still very low. Things have changed since. Server, desktop, embedded systems have migrated to newer generations of both RAM and persistent storage. On the high performance side of things we see machines with faster storage in the form of NVMe an

    Swapfiles by default in Ubuntu