在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

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