You are not logged in.

#1 2025-09-21 22:33:05

0815
Member
Registered: 2021-11-05
Posts: 23

Onnxruntime(-opt) requests to be replaced by onnxruntime(-opt)-cuda

I had onnxruntime installed as a firefox dependency, but in recent pacman -Syu I've had the prompt to "Replace onnxruntime with extra/onnxruntime-cuda", although I have no relevant hardware installed.

My system is a laptop with an AMD cpu with integrated Graphics, no CUDA-supported hardware. I replaced onnxruntime with onnxruntime-opt for the new split package, but this prompt is still shown. Am I missing something here or is this a packaging error?

Offline

#2 2025-09-21 22:40:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,087

Re: Onnxruntime(-opt) requests to be replaced by onnxruntime(-opt)-cuda

onnxruntime-opt is one of the old package, you need one of the new ones in the testing repos.

FTR, onnxruntime is not required for firefox.

Online

#3 2025-09-21 22:58:22

0815
Member
Registered: 2021-11-05
Posts: 23

Re: Onnxruntime(-opt) requests to be replaced by onnxruntime(-opt)-cuda

It is? I thought that was just the base onnxruntime package I had installed.

I do not wish to use testing packages, what would I use without installing cuda or rocm libraries?

I am aware it is not a required dependency, just an optional one, however one I do use.

Last edited by 0815 (2025-09-21 22:59:55)

Offline

#4 2025-09-21 23:02:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,087

Re: Onnxruntime(-opt) requests to be replaced by onnxruntime(-opt)-cuda

Look here: https://archlinux.org/packages/?q=onnxruntime

You can see that the -opt package you installed doesn't exist in testing, and indeed is actually behind the other packages in Extra. It's a left-over that shouldn't even exist. Pick one of the current packages.

Thinking about it more, I'm not certain even that will get rid of the prompt, though. I don't think 'replaces' is being used correctly here.

Last edited by Scimmia (2025-09-21 23:04:21)

Online

#5 2025-09-22 08:15:19

0815
Member
Registered: 2021-11-05
Posts: 23

Re: Onnxruntime(-opt) requests to be replaced by onnxruntime(-opt)-cuda

Thanks, I've installed onnxruntime-cpu now, which doesn't prompt anymore. Does this mean that this package has the AVX2 CPU optimisations? Or are those now only available with either rocm or cuda?

The 'Replaces: ' tag is only added to onnxruntime-(opt-)cuda, none of the others.

One thing that also still surprises me is that the openmpi dependency is gone for onnxruntime-cpu, that seems to be gone for all the new packages, has support for something been dropped there?

Last edited by 0815 (2025-09-22 08:22:01)

Offline

Board footer

Powered by FluxBB