mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Add Component Governance (#8794)
* Update linux-gpu-tensorrt-ci-perf-pipeline.yml for Azure Pipelines * Update linux-gpu-tensorrt-ci-perf-pipeline.yml for Azure Pipelines * Update linux-gpu-tensorrt-ci-perf-pipeline.yml for Azure Pipelines * Update linux-gpu-tensorrt-ci-perf-pipeline.yml for Azure Pipelines
This commit is contained in:
parent
19b82b438b
commit
4666a49106
1 changed files with 10 additions and 6 deletions
|
|
@ -42,7 +42,7 @@ parameters:
|
|||
- name: PublishWheel
|
||||
displayName: Publish Wheel
|
||||
type: boolean
|
||||
default: true
|
||||
default: false
|
||||
|
||||
- name: ModelGroups
|
||||
type: object
|
||||
|
|
@ -77,11 +77,6 @@ jobs:
|
|||
timeoutInMinutes: 3000
|
||||
|
||||
steps:
|
||||
|
||||
- ${{ if eq(parameters.MemTest, true) }}:
|
||||
- script: '$(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh -d ort-$(branch) -p $(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/mem_test/'
|
||||
displayName: 'Run Memory Test'
|
||||
workingDirectory: '$(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/mem_test/'
|
||||
|
||||
- ${{ if eq(parameters.BuildORT, true) }}:
|
||||
|
||||
|
|
@ -95,6 +90,11 @@ jobs:
|
|||
displayName: 'Build latest ORT'
|
||||
workingDirectory: '$(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/build'
|
||||
|
||||
- ${{ if eq(parameters.MemTest, true) }}:
|
||||
- script: '$(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh -d ort-$(branch) -p $(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/mem_test/'
|
||||
displayName: 'Run Memory Test'
|
||||
workingDirectory: '$(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/mem_test/'
|
||||
|
||||
- ${{ if eq(parameters.RunPython38, true) }}:
|
||||
- script: 'docker build --build-arg IMAGE=ort-$(branch) -t ort-$(branch) -f $(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/build/Dockerfile.python38 .'
|
||||
displayName: 'Build latest ORT Images'
|
||||
|
|
@ -135,6 +135,10 @@ jobs:
|
|||
displayName: 'Copy Artifacts'
|
||||
workingDirectory: '$(Build.SourcesDirectory)/onnxruntime/python/tools/tensorrt/perf/'
|
||||
|
||||
- template: templates/component-governance-component-detection-steps.yml
|
||||
parameters :
|
||||
condition : 'succeeded'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
pathtoPublish: '$(Build.SourcesDirectory)/Artifact'
|
||||
|
|
|
|||
Loading…
Reference in a new issue