Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PacReq: libnvinfer-bin(-deb) #3309

Closed
Zahrun opened this issue May 8, 2023 · 2 comments
Closed

PacReq: libnvinfer-bin(-deb) #3309

Zahrun opened this issue May 8, 2023 · 2 comments
Labels
package request Request a pacscript

Comments

@Zahrun
Copy link
Contributor

Zahrun commented May 8, 2023

Types

Not sure if -bin or -deb

URL

https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/libnvinfer-bin_8.6.1.6-1+cuda12.0_amd64.deb

Building guide

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
sudo apt update
sudo apt install libnvinfer-bin

Additional context

I want to add this library to pacstall to create an alternative obs-backgroundremoval, which would have gpu support
I am not so sure how to package it
Basically, nvidia provides a repository for this
Is it ok to add the repository to sources in the pacscript and then install the package from there?
This package depends on cuda-toolkit-12-1-config-common cuda-toolkit-12-config-common cuda-toolkit-config-common libcublas-12-1 libcudnn8 libnvinfer-bin libnvinfer-dispatch8 libnvinfer-lean8 libnvinfer-plugin8 libnvinfer-vc-plugin8 libnvinfer8 libnvonnxparsers8 libnvparsers8, which are also in that repository.
The download is 1,223 MB and installs 3,104 MB, so it’s pretty big, that is why I would like to provide versions with and versions without the gpu support.

Help would be appreciated for this one.

@Elsie19
Copy link
Member

Elsie19 commented May 23, 2023

Is it ok to add the repository to sources in the pacscript and then install the package from there?

No.

@Zahrun
Copy link
Contributor Author

Zahrun commented May 23, 2023

Turns out the CPU only mode got much better and beats the GPU mode on my machine so I’ll skip this. Details at occ-ai/obs-backgroundremoval#301

@Zahrun Zahrun closed this as completed May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package request Request a pacscript
Projects
None yet
Development

No branches or pull requests

2 participants