Commit Graph

15 Commits

Author SHA1 Message Date
Daniel Nagy
d6ec92f8bf onnxruntime: 1.12.1 -> 1.13.1 2022-12-31 12:13:22 +01:00
Frederik Rietdijk
34d1d336ad onnnxruntime, python3Packages.onnxruntime: improve packaging
The Python bindings to onnxruntime were added by me in #193188.

Adding Python support this way is not a good way. Here a wheel was
created (which is fine) and installed in a python output. The
propagated-build-inputs file is put in the dev output. That's fine,
except that stdenv.mkDerivation does not automatically add dev when
python is included, because other outputs are only added when no
output is explicitly selected. This means that when you want to use
these bindings in another Python package, pip will complain it cannot
find the dependencies of the bindings.

In this PR, the onnxruntime derivation outputs a wheel in the dist output.
Then, in python-packages.nix we have a separate onnxruntime package
which installs the bindings.

The Python bindings have quite some dependencies which, depending on
your use case, are not required. Thus the dependency relax hook is
used to remove some of these dependencies.

Note there is also an issue with protobuf versions. The onnxruntime
bindings require an older protobuf and Python protobuf which we
cannot offer. Thus protobuf is also removed as Python dependency.
2022-10-04 10:33:48 +02:00
Frederik Rietdijk
d2356bf415 onnxruntime: add Python support 2022-09-28 10:27:50 +02:00
Christian Kögler
0d873b3716 onnxruntime: fix paths in pkg-config file 2022-09-27 12:33:45 +02:00
Christian Kögler
da9cf977b7 onnxruntime: 1.10.0 -> 1.12.1 2022-08-16 19:19:03 -07:00
Brian McKenna
579237dbf5 onnxruntime: init at 1.10.0 (resurrected) 2022-08-16 19:19:03 -07:00
Jonathan Ringer
bc2b132f98
onnxruntime: remove
Poor cmake and git hygiene has made maintaining this difficult, see:
https://github.com/microsoft/onnxruntime/issues/5966
https://github.com/microsoft/onnxruntime/issues/5967
2020-12-04 21:40:19 -08:00
Jonathan Ringer
a83d217703 onnxruntime: enable lto 2020-07-15 17:09:30 -07:00
Jonathan Ringer
e3761b651c
onnxruntime: 1.2.0 -> 1.3.1
Co-authored by: @marsam
2020-06-30 11:51:29 -07:00
Jonathan Ringer
d0f556a2ff onnxruntime: 1.1.2 -> 1.2.0 2020-03-27 19:59:51 -07:00
Jonathan Ringer
efcab647ab onnxruntime: 1.1.1 -> 1.1.2 2020-03-06 14:38:15 -08:00
Jonathan Ringer
a01d0bc1a9 onnxruntime: 1.1.0 -> 1.1.1 2020-02-12 21:42:20 -08:00
Jonathan Ringer
e306ee4a56 onnxruntime: 1.0.0 -> 1.1.0 2020-01-14 01:50:51 -08:00
Jonathan Ringer
65db5ce85c onnxruntime: 0.5.0 -> 1.0.0 2019-11-05 09:32:27 -08:00
Jonathan Ringer
e38f32a468
onnxruntime: init at 0.5.0 2019-10-02 00:47:58 -07:00