
visual studio安装onnxruntime包
onnxruntime
microsoft/onnxruntime: 是一个用于运行各种机器学习模型的开源库。适合对机器学习和深度学习有兴趣的人,特别是在开发和部署机器学习模型时需要处理各种不同框架和算子的人。特点是支持多种机器学习框架和算子,包括 TensorFlow、PyTorch、Caffe 等,具有高性能和广泛的兼容性。
项目地址:https://gitcode.com/gh_mirrors/on/onnxruntime

·
输入命令
NuGet\Install-Package Microsoft.ML.OnnxRuntime -Source D:\source_package_code
命令中如果不设置-Source及后面路径,则会默认从网上下载安装
如果本地已下载好,可以运行这个命令
其中文件夹结构如下图所示,.nupkg包为下载下来的onnruntime包,下载地址为
onnxruntime包下载地址




microsoft/onnxruntime: 是一个用于运行各种机器学习模型的开源库。适合对机器学习和深度学习有兴趣的人,特别是在开发和部署机器学习模型时需要处理各种不同框架和算子的人。特点是支持多种机器学习框架和算子,包括 TensorFlow、PyTorch、Caffe 等,具有高性能和广泛的兼容性。
最近提交(Master分支:7 个月前 )
c19a4961
### Description
Upgrade Transformers to 4.48.0 for llama2, this version deprecated the
old format of past_key_value, the current format is DynamicCache. So, we
need to add patches to dynamo exporter in llama2.
Thanks to @xadupre who made the changes to add the patches to dynamo
exporter, and implements patches to transformers 4.48.0 which don't
export and convert dynamic_axes into dynamic shapes.
---------
Co-authored-by: xadupre <xadupre@microsoft.com>
Co-authored-by: Xavier Dupré <xadupre@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 18 小时前
689ec470
### Description
A new overload of CreateProvider() was added to the to handle the
extraction of EP options from the session option configurations.
### Motivation and Context
Allows use of new Compile API.
Refer to https://github.com/microsoft/onnxruntime/pull/24207 20 小时前
更多推荐
所有评论(0)