-
Notifications
You must be signed in to change notification settings - Fork 633
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
Failed to build xformers #748
Comments
Yes exactly. You'll need to use nvcc version 11.8. |
I would like CUDA 12 support. Is CUDA 12 in the roadmap? Currently fails to build with:
The sm90 results in errors. This builds fine though:
Thanks |
Hi, what error do you have? xFormers should build fine for H100 (although tested on CUDA 11.8 I believe) |
Here's my Dockerfile:
For information regarding base container refer to: Building this I get errors of this sort:
I'm able to build and use the container with xformers when I do this:
And xformers seems to function well with above workaround. I attached the full build log. |
@danthe3rd So I posted the error. Will you guys have a chance to look at it? Using 8.6+PTS will be suboptimal when running on Hopper. Thanks |
Can you post the full log on pastebin for instance? I believe the actual error happens before the extract you posted |
I posted the full log. Refer to this link: That's the full log, Nothing omitted. I run a docker build and that's what happens. If I were to build it interactively, exactly the same thing would happen. To replicate build the following dockerfile:
I also tested today with latest released:
|
I wonder if the build could be running out of memory? Could you try setting |
Please try to replicate my build issue. If you can't replicate my issue and you believe it's something on my end, I will gladly try whatever you suggest. I provided the full log and detailed enough instructions to replicate. |
We don't officially support Docker - now we're happy to help and try to diagnose your issues, but we don't have the bandwidth to run the things ourselves at this point ...
This is a possible issue, adding more architectures will use more memory at build-time. I would recommend trying with |
Ok then. I also had the same issue without docker. On the system I'm building on I have 140 GB RAM and 85 GB free disk space. So I highly doubt it's a memory issue. I'll try using |
Alright, this did build successfully. I built the following container:
I'll play around with the MAX_JOBS setting to speedup the build. Thank you! |
❓ Questions and Help
my cuda version is 12.1 but I install pytorch version 2.0.0 + cu118 for there is no cu121. when I build xformers it raise an error: The detected CUDA version (12.1) mismatches the version that was used to compile
PyTorch (11.8). Please make sure to use the same CUDA versions
do I have to change my CUDA to 11.8?
The text was updated successfully, but these errors were encountered: