Skip to content

Commit

Permalink
add package name for cuda 12
Browse files Browse the repository at this point in the history
  • Loading branch information
ajindal1 committed Nov 20, 2023
1 parent a24010c commit 87d9500
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,9 @@ def finalize_options(self):
# Training ROCM package for ADO feeds is called onnxruntime-training-rocm
package_name = "onnxruntime-training-rocm"

if cuda_version and cuda_version.split(".")[0] == "12":
package_name = "onnxruntime-training-cuda12"

if package_name == "onnxruntime-tvm":
packages += ["onnxruntime.providers.tvm"]

Expand Down

0 comments on commit 87d9500

Please sign in to comment.