0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ROCm7.1.0から10.0.0(pytorch含む)へのVUP

0
Posted at

既存の古いROCMの完全削除

# 1. 旧ROCmのメタパッケージを削除
sudo apt autoremove rocm rocm-core

# 2. AMDGPU DKMSを削除
#    ※新しい導入手順で別ドライバ構成へ移る場合
sudo apt autoremove amdgpu-dkms

# 3. 旧ROCmで残っている設定ファイルを確認
dpkg -l | grep -E 'rocm|hip|rocblas|miopen|rccl'

# 4. rc 状態の旧ROCmパッケージをpurge
#    今回実際に残っていたもの
sudo apt purge rocm-opencl

# 5. ROCm 7.2のAPTリポジトリを削除
sudo rm -f /etc/apt/sources.list.d/rocm.list

# 6. APT情報を更新
sudo apt update

# 7. 旧ROCmリポジトリが残っていないことを確認
grep -R "repo.radeon.com/rocm" \
    /etc/apt/sources.list \
    /etc/apt/sources.list.d/ 2>/dev/null

# 8. 旧rocm-libsがAPT候補から消えていることを確認
apt-cache policy rocm-libs

# 9. 旧ROCmパッケージが残っていないことを確認
dpkg -l | grep -E '^ii.*(rocm|hip|rocblas|miopen|rccl)'

ROCm10.0.0のインストール

※EVO-X2のUbuntu24.04環境なので以下の手順に従う

対応版pytorchのインストール

(vevなりuvなり、対象の仮想環境に入った状態とする)
pip uninstall -y torch torchvision torchaudio triton

※EVO-X2のUbuntu24.04環境なので、インストールは以下の手順に従う

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?