Pytorch官網:https://pytorch.org/get-started/previous-versions/ Ubuntu 18.04 安裝Pytorch gpu版本 我是直接安裝在base環境,用pip安裝1.8.0版本 驗證gpu版本是否安裝成功 檢測程式如下: Ubuntu 18.04 安裝Pytorch gpu版本