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

分享
源码 2024-10-1 16:47:57 94 0 来自 中国
题目:在Ubuntu20.04.05LTS下, 运行print(core.available_devices),找不到i7-1165G7的集成显卡

1.png
解决方式:升级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
您需要登录后才可以回帖 登录 | 立即注册

Powered by CangBaoKu v1.0 小黑屋藏宝库It社区( 冀ICP备14008649号 )

GMT+8, 2024-12-4 16:42, Processed in 0.175170 second(s), 35 queries.© 2003-2025 cbk Team.

快速回复 返回顶部 返回列表