Code Monkey home page Code Monkey logo

nn_deploy_env's Introduction

NN部署环境配置

opencl驱动

intel核显推理需要要安装核显的opencl驱动.

./opencl/download_opencl.sh

如果下载超时可以手动浏览器下载所有的deb包,检查文件完整后可以进行安装:

./opencl/install_opencl.sh

查看核显loading: sudo intel_gpu_top

查看cpu loading: htop

openvino

openvino develop toolkit

用于openvino模型转换和优化,脚本使用python env配置虚拟环境.

./openvino/ovdt/install_ovdt.sh

激活环境命令: ovenv_activate 或: source ~/venv/openvino_env/bin/activate

openvino runtime

openvino cpp推理器.

./openvino/ovrt/install_ovrt.sh

如果工程到了openvino runtime库,在cmake之前需要执行以下命令(否则会报错找不到库):

ovrt_setsource /opt/intel/openvino_2022.3.0/setupvars.sh

onnxruntime with dnnl

主要希望使用到dnnl库中的avx512 cpu优化

首先需要升级cmake到3.25.0版本: ./onnxruntime_dnnl/update_cmake.sh

检查cmake版本是否切换,如果切换到了3.25.0,可以开始安装onnxruntime_dnnl: ./onnxruntime_dnnl/install_ort_dnnl.sh

nn_deploy_env's People

Contributors

thinvy avatar

Stargazers

Zhibo Duan avatar Guiyong Zheng avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.