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

Java CUDA 12 support #20583

Merged
merged 72 commits into from
May 10, 2024
Merged

Java CUDA 12 support #20583

merged 72 commits into from
May 10, 2024

Conversation

jchen351
Copy link
Contributor

@jchen351 jchen351 commented May 6, 2024

Description

  • This PR combine all CUDA 12 stage into the Zip-nuget-... pipeline.
  • It also enables the cuda12 support

Motivation and Context

@jchen351 jchen351 requested a review from a team as a code owner May 6, 2024 21:23
jchen351 added 15 commits May 9, 2024 15:14
…4.cuda-11.8

  - job: Set_Variables	  ${{ if eq(parameters.CudaVersion, '12.2') }}:
    pool:	    value: $(Agent.TempDirectory)\TensorRT-10.0.1.6.Windows10.x86_64.cuda-12.4
      vmImage: ubuntu-latest	- name: win_cuda_home
    steps:	  ${{ if eq(parameters.CudaVersion, '11.8') }}:
    - checkout: none	    value: $(Agent.TempDirectory)\v11.8
    - task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3	  ${{ if eq(parameters.CudaVersion, '12.2') }}:
      displayName: 'Clean Agent Directories'	    value: $(Agent.TempDirectory)\v12.2
      condition: always()
    - bash: |
        # Do not output ##vso[] commands with `set -x` or they may be parsed again and include a trailing quote.
        set +x
        if [[ "${{ parameters.IsReleaseBuild }}" = True && "${{ parameters.PreReleaseVersionSuffixString }}" != "none"  ]]; then
          if [[ "${{ parameters.PreReleaseVersionSuffixNumber }}" -eq 0 ]]; then
            echo "##vso[task.setvariable variable=ReleaseVersionSuffix;isOutput=true]-${{ parameters.PreReleaseVersionSuffixString }}"
          else
            echo "##vso[task.setvariable variable=ReleaseVersionSuffix;isOutput=true]-${{ parameters.PreReleaseVersionSuffixString }}.${{ parameters.PreReleaseVersionSuffixNumber }}"
          fi
        else
          echo "##vso[task.setvariable variable=ReleaseVersionSuffix;isOutput=true]"
        fi
      name: Set_Release_Version_Suffix
    - script: |
        # Extracting hours and minutes
        date=$(date +'%Y%m%d')
        # Set the hhmm value as a pipeline variable
        echo "##vso[task.setvariable variable=BuildDate;isOutput=true]$date"
      displayName: 'Set Start Date as Variable'
      name: Set_Build_Date
    - script: |
        # Extracting hours and minutes
        hhmm=$(date +'%H%M')
        # Set the hhmm value as a pipeline variable
        echo "##vso[task.setvariable variable=BuildTime;isOutput=true]$hhmm"
      displayName: 'Set Start Time as Variable'
      name: Set_Build_Time
    - template: templates/component-governance-component-detection-steps.yml
      parameters :
        condition : 'succeeded'
Copy link
Member

@snnn snnn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sophies927 sophies927 added triage:approved Approved for cherrypicks for release release:1.18.0 labels May 10, 2024
@jchen351 jchen351 merged commit 4fe565a into main May 10, 2024
151 of 158 checks passed
@jchen351 jchen351 deleted the Cjian/java12 branch May 10, 2024 21:16
yihonglyu pushed a commit that referenced this pull request May 14, 2024
### Description

- This PR combine all CUDA 12 stage into the Zip-nuget-... pipeline.
- It also enables the cuda12 support



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
yihonglyu pushed a commit that referenced this pull request May 14, 2024
### Description

- This PR combine all CUDA 12 stage into the Zip-nuget-... pipeline.
- It also enables the cuda12 support



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
@yihonglyu yihonglyu added the cherry-picked Cherry-picked for a cherrypicks branch label May 14, 2024
@yihonglyu yihonglyu added the rel-merged Cherrypicks merged into release label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked Cherry-picked for a cherrypicks branch rel-merged Cherrypicks merged into release release:1.18.0 triage:approved Approved for cherrypicks for release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants