1

How do I tell if I have Onnx 1.5 installed? Why doesn't the onnxruntime.dll have it's "fileversion" set which would make things simple. Is there an API call (in C/C++) to ask the version number?

Tullhead
  • 565
  • 2
  • 7
  • 17

2 Answers2

1
pranavsharma
  • 1,085
  • 2
  • 10
  • 18
0

Which package are you using? If you are using python packages then the easiest way to get the version number is :

You can either use pip list to find the version for example : pip list | findstr onnx (on Windows and grep on Linux)

Alternatively you can also query the __version__ attribute of the module. For example import onnx (or onnxruntime) onnx.__version__ (or onnxruntime.__version__)

If you are using nuget packages then the package name should have the version. You can also use nuget package explorer to get more details for the package.

akhade
  • 26
  • 1