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

问题:在Ubuntu20.04.05LTS下, 运行print(core.available_devices),找不到i7-1165G7的集成显卡

问题截图

解决方式:升级intel-opencl-icd ≥ 21.42.021270

查看intel-opencl-icd版本

具体步骤:
第一步,创建一个临时文件夹,下载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

sha256 sums 校验

第三步,安装intel-opencl-icd 21.42.021270相关计算库

sudo dpkg -i *.deb

第四步,重启系统,然后运行print(core.available_devices),可以找到GPU了。

找到GPU了

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

参考链接:https://github.com/intel/compute-runtime

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容