在Ubuntu20.04下OpenVINO找不到11代CPU的集成顯卡

問題:在Ubuntu20.04.05LTS下, 運行print(core.available_devices),找不到i7-1165G7的集成顯卡

解決方式:升級intel-opencl-icd ≥ 21.42.021270

具體步驟:
第一步,創建一個臨時文件夾,下載intel-opencl-icd 21.42.021270相關庫

mkdir neo
cd neo
wget https://github.com/intel/compute-runtime/releases/download/21.42.21270/intel-gmmlib_21.2.1_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.8744/intel-igc-core_1.0.8744_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.8744/intel-igc-opencl_1.0.8744_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/21.42.21270/intel-opencl-icd_21.42.021270_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/21.42.21270/intel-level-zero-gpu_1.2.021270_amd64.deb

第二步, sha256 sums 校驗

wget https://github.com/intel/compute-runtime/releases/download/21.42.21270/ww42.sum
sha256sum -c ww42.sum

第三步,安裝intel-opencl-icd 21.42.021270相關計算庫

sudo dpkg -i *.deb

第四步,重啓系統,然後運行print(core.available_devices),可以找到GPU了。

現在您可以在Ubuntu20.04 LTS下使用OpenVINO在11代CPU的集成顯卡上做AI推理計算了。

參考鏈接:https://github.com/intel/compute-runtime

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章