Windows build w/ CUDA failing #23704
-
I'm trying to build locally on windows with CUDA enabled. It fails with this error:
(Note I downloaded my own copy of the CUDA SDK and put it in the build directory, and passed that path to I see that the onnxruntime/tools/ci_build/build.py Line 1290 in da6b950 Which I see was changed from this commit: #20987 This change seems reasonable enough on linux, but on windows executables are But clearly the CI windows build haven't been broken for 6 months.. So what am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, are you putting the root directory of cuda ? |
Beta Was this translation helpful? Give feedback.
-
These are the commands that I successfully used today to build with CUDA on Windows (using the latest changes on the main branch):
|
Beta Was this translation helpful? Give feedback.
These are the commands that I successfully used today to build with CUDA on Windows (using the latest changes on the main branch):
See https://onnxruntime.ai/docs/build/eps.html#cuda