-
Notifications
You must be signed in to change notification settings - Fork 755
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
libvmaf with CUDA -- how to build and use #1227
Comments
Hi all, can somebody please point me to some documentation about building libvmaf with CUDA support if it exists? Thanks! |
You don't need one for building, but you will need a card for executing. Also you need driver stub libraries, which are included in a CUDA docker container. |
Could you |
Wait did you apply https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230807/29cf249a/attachment.obj to ffmpeg ? See #1232. |
I tried that however I still got a compilation error:
Any guess ? |
I've been trying to build libvmaf with CUDA support into a Windows build that's being cross-compiled on an Ubuntu WSL / Docker container. I was doing this through ffmpeg-windows-build-helpers. After installing CUDA (I tried 10.2, 11.6, 11.8, and 12.2) and NVCC, along with all the requirements for both libvmaf and the ffmpeg builder tool, I modified the ffmpeg build script to do the following three things:
After doing that, I get this issue:
I fixed the above issue by copying the After doing this, the
and adding Afterwards attempting to run the compile script again, I'm met with a different error, this one from
Not sure what the I've relayed this info to both the |
I have the same problem, Ubuntu 22.04, CUDA 12.3. It seems this is a problem with gcc and nvcc compaibility (see here) |
@damian101 I think i had your same issue. I compiled both vmaf and FFmpeg on Arch from the latest git version, however the filter It turns out that Before compiling FFmpeg, take a look at the output of the |
Is there a documentation explaining how to build libvmaf with support for CUDA and how it's been used?
The text was updated successfully, but these errors were encountered: