Skip to content

Windows build w/ CUDA failing #23704

Answered by amarin16
carsonswope asked this question in EP Q&A
Feb 14, 2025 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

These are the commands that I successfully used today to build with CUDA on Windows (using the latest changes on the main branch):

> git clean -xdf
> .\build.bat --config Debug --build_shared_lib --parallel --skip_submodule_sync  --skip_tests --use_cuda  --cudnn_home "C:\Program Files\NVIDIA\CUDNN\v9.4" --cuda_home "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.6"

See https://onnxruntime.ai/docs/build/eps.html#cuda

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@carsonswope
Comment options

Comment options

You must be logged in to vote
2 replies
@aboccag
Comment options

@amarin16
Comment options

Answer selected by amarin16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
EP Q&A
Labels
None yet
3 participants