Skip to content
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

Fix 1.20 cuda minimal build failure #22751

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

poweiw
Copy link
Contributor

@poweiw poweiw commented Nov 6, 2024

Description

Fixes build failure for the cuda minimal build

Motivation and Context

This change in 1.20 is causing build failures for the cuda minimal build.
Essentially, some cudnn logic was not guarded by the USE_CUDA_MINIMAL. Also the build is looking for cudnn while in the cuda minimal build it shouldn't depend on it, resulting in linking error.

cc @gedoensmax @chilo-ms

@chilo-ms
Copy link
Contributor

chilo-ms commented Nov 7, 2024

/azp run Windows ARM64 QNN CI Pipeline,Windows x64 QNN CI Pipeline,Windows CPU CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline,ONNX Runtime Web CI Pipeline,Linux CPU CI Pipeline,Linux CPU Minimal Build E2E CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline

@chilo-ms
Copy link
Contributor

chilo-ms commented Nov 7, 2024

/azp run Linux OpenVINO CI Pipeline,Linux QNN CI Pipeline,MacOS CI Pipeline,orttraining-amd-gpu-ci-pipeline,orttraining-linux-ci-pipeline,orttraining-linux-gpu-ci-pipeline,orttraining-ortmodule-distributed,onnxruntime-binary-size-checks-ci-pipeline,Big Models,Android CI Pipeline

@chilo-ms
Copy link
Contributor

chilo-ms commented Nov 7, 2024

/azp run Linux Android Emulator QNN CI Pipeline

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

Azure Pipelines successfully started running 9 pipeline(s).

Copy link

Azure Pipelines successfully started running 6 pipeline(s).

@chilo-ms
Copy link
Contributor

chilo-ms commented Nov 7, 2024

/azp run Windows GPU CUDA CI Pipeline,Windows GPU DML CI Pipeline,Windows GPU Doc Gen CI Pipeline

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@microsoft microsoft deleted a comment from azure-pipelines bot Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants