Package Details: python-onnxruntime-cuda 1.8.2-3

Git Clone URL: https://aur.archlinux.org/python-onnxruntime.git (read-only, click to copy)
Package Base: python-onnxruntime
Description: Cross-platform, high performance scoring engine for ML models
Upstream URL: https://github.com/microsoft/onnxruntime
Licenses: MIT
Conflicts: python-onnxruntime
Provides: python-onnxruntime=1.8.2
Submitter: yan12125_2
Maintainer: yan12125 (lilac)
Last Packager: lilac
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-12 11:06
Last Updated: 2021-08-12 23:59

Required by (5)

Sources (10)

Pinned Comments

yan12125 commented on 2021-01-26 08:35

Prebuilt packages for python-onnxruntime and dependencies are available in the unofficial [archlinuxcn] repository [1]. python-onnxruntime in that repository is also maintained by me.

[1] https://github.com/archlinuxcn/repo/

Latest Comments

1 2 Next › Last »

yan12125 commented on 2021-09-15 08:27

nikisalli: mind to share your build logs? Missing flake8 only causes a warning. Most likely the error is from something else.

nikisalli commented on 2021-09-14 23:20

build fails due to flake8 errors, please remove all the "include(flake8.cmake)" in the cmakefiles

yan12125 commented on 2021-07-23 12:16

After trying out LTO, I disabled it as it does not work. If someone finds a way to make LTO work, I will remove '!lto' even if it takes almost 34GB of RAM.

cobaltspace commented on 2021-07-23 07:53

using lto causes linking to use > 32GB. The following line may need to be added:

options=('!lto')

yan12125 commented on 2021-01-26 08:39

snarfies: Thanks for further testing. The only cases I know for such issues are insufficient disk space or insufficient memory size, and I don't have time to dig it deeper in near future. Alternatively, prebuilt packages mentioned in the recently pinned message may be useful.

yan12125 commented on 2021-01-26 08:35

Prebuilt packages for python-onnxruntime and dependencies are available in the unofficial [archlinuxcn] repository [1]. python-onnxruntime in that repository is also maintained by me.

[1] https://github.com/archlinuxcn/repo/

snarfies commented on 2021-01-26 05:52

yan12125: Using yay, which builds in my home directory. I have 384GiB free at the moment. Just to make sure though, I temporarily upped the /tmp space from 16GB to 30GB, purged my cache, forced cleanbuild and started over, only to get an all new error:

[ 83%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/providers/cpu/controlflow/loop_test.cc.o

{standard input}: Assembler messages:

{standard input}:714346: Error: invalid operands (UND and .gcc_except_table._ZN11onnxruntime4test57GraphTransformationTests_EmbedLayerNormFusionFormat9_Test8TestBodyEv sections) for `-'

[ 83%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/providers/cpu/controlflow/scan_test.cc.o

c++: fatal error: Killed signal terminated program cc1plus

compilation terminated.

make[2]: *** [CMakeFiles/onnxruntime_test_all.dir/build.make:277: CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/optimizer/graph_transform_test.cc.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[1]: *** [CMakeFiles/Makefile2:267: CMakeFiles/onnxruntime_test_all.dir/all] Error 2

make: *** [Makefile:160: all] Error 2

==> ERROR: A failure occurred in build(). Aborting... error making: python-onnxruntime`

Given that this wasn't working out in yay, I decided to go the old fashioned way, makepkg -si. This failed even earlier:

[ 79%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/onnxruntime/python-onnxruntime/src/onnxruntime/onnxruntime/test/contrib_ops/matmul_integer_to_float_test.cc.o

{standard input}: Assembler messages:

{standard input}:317561: Warning: end of file not at end of a line; newline inserted

{standard input}:318596: Error: unknown pseudo-op: `.lb'

{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive

c++: fatal error: Killed signal terminated program cc1plus compilation terminated.

Sorry, I don't know a thing about python, I just know I need this library for another program that I DO understand.

yan12125 commented on 2021-01-24 13:58

snarfies: that looks like insufficient disk space. Note that some AUR helpers use /tmp for building packages, so building fails if /tmp is full.

snarfies commented on 2021-01-23 20:48

[ 86%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/providers/cpu/ml/binarizer_test.cc.o

{standard input}: Assembler messages:

{standard input}:1063902: Warning: end of file not at end of a line; newline inserted

c++: fatal error: Killed signal terminated program cc1plus compilation terminated.

make[2]: *** [CMakeFiles/onnxruntime_test_all.dir/build.make:277: CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/optimizer/graph_transform_test.cc.o] Error 1

make[2]: *** Deleting file 'CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/optimizer/graph_transform_test.cc.o'

make[2]: *** Waiting for unfinished jobs.... [ 86%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/providers/cpu/ml/cast_map_test.cc.o

make[1]: [CMakeFiles/Makefile2:267: CMakeFiles/onnxruntime_test_all.dir/all] Error 2 make: [Makefile:160: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: python-onnxruntime

yan12125 commented on 2020-10-22 03:40

Thank you for the reply, I will. Am I correct that flatbuffers-git is providing shared libraries?

Yep, that seems the case from its PKGBUILD.