
ONNXRUNTIME安装
onnxruntime
microsoft/onnxruntime: 是一个用于运行各种机器学习模型的开源库。适合对机器学习和深度学习有兴趣的人,特别是在开发和部署机器学习模型时需要处理各种不同框架和算子的人。特点是支持多种机器学习框架和算子,包括 TensorFlow、PyTorch、Caffe 等,具有高性能和广泛的兼容性。
项目地址:https://gitcode.com/gh_mirrors/on/onnxruntime
·
onnxruntime 安装笔记。
两个名称为microsoft.ml.onnxruntime.1.7.0.nupkg与microsoft.ml.onnxruntime.mklml.1.6.0.nupkg的文件,放在一个随意的文件夹中,vs创建好工程后。
工具-> NUGET包管理器 ->程序包管理器控制台

在控制台内输入如下指令(注意,此处的文件夹路径我放在d盘下了,诸位自便)
PM> Install-Package Microsoft.ML.OnnxRuntime.mklml -Source D:\ONNXTOEXE
PM> Install-Package Microsoft.ML.OnnxRuntime -Source D:\ONNXTOEXE
等待安装。大致时间10秒左右。
安装完成。
在项目中会产生一个package文件夹,packages\Microsoft.ML.OnnxRuntime.MKLML.1.6.0\runtimes\win-x64\native里面有你需要的onnxruntime名称的dll和lib以及mklml.dll。
点赞关注收藏我 谢谢。
microsoft/onnxruntime: 是一个用于运行各种机器学习模型的开源库。适合对机器学习和深度学习有兴趣的人,特别是在开发和部署机器学习模型时需要处理各种不同框架和算子的人。特点是支持多种机器学习框架和算子,包括 TensorFlow、PyTorch、Caffe 等,具有高性能和广泛的兼容性。
最近提交(Master分支:7 个月前 )
c5d1416e
6 小时前
aa87e34e
### Description
WebGPU, VitisAI, and DML are missing from the list.
### Motivation and Context
If users misspell a provider name this error should be showing them the
full possibilities. Leaving one out will lead to confusion.
I noticed it when testing new providers in GenAI that the error message
was not up to date. 7 小时前
更多推荐




所有评论(0)