Open levicki opened 2 months ago
Your setup.py
is using -std=c++17
for CXX options — MSVC syntax is -std:c++17
or /std:c++17
, using GNU syntax leads to a warning about unrecognized compiler option (and probably compilation without C++17 support). Also, -O3
doesn't exist for MSVC.
The culprit is CUDA 12.6 — I can build with CUDA 12.4.1 just fine.
tracking. Does 3.5.1 also fail with the same issue?
tracking. Does 3.5.1 also fail with the same issue?
@thakkarV I don't see a tag for 3.5.1 and it's not in releases yet?
Main is 3.5.1. We will tag soon
Main is 3.5.1. We will tag soon
@thakkarV Hopefully not before this issue is root-caused and at least worked around?
It appears to be a CUDA toolkit issue. If you could try out with main that would be great cause there were some MSVC fixes in 3.5.1 too
If you could try out with main that would be great cause there were some MSVC fixes in 3.5.1 too
If you mean with CUDA 12.6, can you give repro steps for some minimal build that triggers it so I don't have to run the full build?
Even better if you can isolate just relevant code part which causes compiler errors so I can try to build just that from the developer command prompt.
EDIT: If I remember correctly I tried with main as well, didn't make any difference.
Any update on it? It's blocking to build onnxruntime with CUDA 12.6 (microsoft/onnxruntime#21676)
Any update on it? It's blocking to build onnxruntime with CUDA 12.6 (microsoft/onnxruntime#21676)
I asked on the ticket, no response yet from engineering team.
Describe the bug I initially reported this issue to xformers since xformers build was failing for me without realizing error was in CUTLASS submodule. After some back and forth and more testing on my end I realized the issue seems to be with CUTLASS 3.5.0.
Steps/Code to reproduce bug
git clone https://github.com/NVIDIA/cutlass
cd cutlass
git checkout v3.5.0
cmake-gui
Expected behavior Build should succeed, it is failing on this (please ignore
C:/BUILD/xformers
prefix -- the same compilation errors happen from within Visual Studio build):Note that there might be other build errors as well, this was just the first place where building a project failed. It seems as if there might be some compiler issue with latest Visual Studio update?
Environment details (please complete the following information):
Additional context
cl.exe Version 19.41.34120 for x64