-
Notifications
You must be signed in to change notification settings - Fork 49
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
Local cuda container build fails with "unsupported instruction `vpdpbusd'" #471
Comments
I examined a UBI 9 container with the toolset and the CUDA dev container and brute forced a few more exports for the build to complete. I don't think this is the right solution, but might serve as a pointer to one.
|
@nzwulfin good analysis. Did you also try doing In general, I have personally tested the building process on Ubuntu 24.04, Ubuntu 22.04 in WSL2, and Fedora 40 but I'm new to Rhel 9! |
Let's open a PR and get this change in, related issue: |
@bmahabirbu I did try the I didn't have any problems in a local version of the cuda:12.6.2-devel-ubi9 container:
It might be the bash invocation inside a running script. I found the
I'll report in once I have a local build |
Well if I had read the issue Eric linked, I could have saved all my testing this morning ;) Based on ggerganov/llama.cpp#5316 (comment) and ggerganov/llama.cpp#5316 (comment) I should have the right combo in this attempt:
|
The llama.cpp compile was a little noisy b/c of an enabled warning but it worked and was able to get llama3.2 working via notes in the discussion. I'll clean up my local repo and submit a PR so folks can look at it in context. Here's the warning I was seeing in case someone wants to think about silencing it.
|
@ericcurtin good find for that issue! I'm surprised I didn't come upon it during my search. @nzwulfin my apologies but thank you for testing my suggestion anyway! Guess scl enable doesn't properly give access to gcc toolket 12. It's good to know that using sources works. |
@bmahabirbu no worries, I wanted to make sure I didn't miss anything the first time I tried it! |
PR #473 submitted, thanks y'all! |
PR #473 was merged, local test confirmed the fix |
Trying to build on my home system,
./container_build.sh cuda
will fail with the following errorFrom what I can tell online, this is due to the binutils in RHEL 9 not being new enough to support the instruction.
I made some progress by adding the GCC Toolset 12 to the cuda portion of the dnf_install switch statement, but I'm not familiar enough with what needs to really get set to use the toolset correctly. I expect that
scl enable
is doing a lot more with the path than I exported.I've hit my limit for testing but thought I'd report the issue anyhow.
The text was updated successfully, but these errors were encountered: