-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add CUDA v12 support for Java onnxruntime_gpu build #20011
base: main
Are you sure you want to change the base?
Add CUDA v12 support for Java onnxruntime_gpu build #20011
Conversation
@microsoft-github-policy-service agree company="Translated" |
@jchen351, please help review. |
Hello! Any updates on this PR? I would like to follow up with a second PR that build onnxruntime for Java on ROCm. |
/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 |
/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 |
Azure Pipelines successfully started running 10 pipeline(s). |
Azure Pipelines successfully started running 9 pipeline(s). |
/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 |
/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 Modelsa |
Azure Pipelines successfully started running 10 pipeline(s). |
Azure Pipelines successfully started running 9 pipeline(s). |
Description
348e3c7 Add Dockerfile for Java release build with CUDA
c9974ef Add CUDA version to Java artifact version
Motivation and Context
Java build for the latest
onnxruntime v1.17.1
is not (yet) available. Moreover existing Maven artifacts are not compatible with CUDA 12. This PR aims to fix this by providing two updates to onnxruntime:java/build.gradle
to automatically postfix the build tag to the version number (-cuXX
for CUDA and-rocm
for ROCM).onnxruntime
with the--build_java
option from scratch using the*-ubi8
base image for maximum compatibilityThis PR fixes issue #19960 "Add CUDA12 support for Java's onnxruntime_gpu dependency"