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

install the onnxruntime explicitly to support ORT 1.15 and nightly build #593

Merged
merged 26 commits into from
Sep 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
52d06bf
specify the onnxruntime explicitly
guotuofeng Sep 21, 2023
21712db
fix typo
guotuofeng Sep 21, 2023
129f48a
fix ci pipeline syntax error
guotuofeng Sep 21, 2023
cf422f8
fix azurecli syntax
guotuofeng Sep 21, 2023
ecfc002
fix typo
guotuofeng Sep 21, 2023
455da93
install ORT for unit test
guotuofeng Sep 21, 2023
cc88abc
fix windows multiple EP
guotuofeng Sep 21, 2023
0993db5
add call for batch
guotuofeng Sep 21, 2023
38f67a8
add ort 1.15.1 test suites
guotuofeng Sep 22, 2023
feabf30
try to fix the name issue
guotuofeng Sep 22, 2023
ddd4bbf
fix naming issue
guotuofeng Sep 22, 2023
4052ee7
add nightly ort support
guotuofeng Sep 22, 2023
3c2327c
add pr none
guotuofeng Sep 22, 2023
79347c9
try to use alternative connection
guotuofeng Sep 22, 2023
825cded
install the ort-nightly dependencies
guotuofeng Sep 22, 2023
3743ef0
update link
guotuofeng Sep 22, 2023
2df5ed8
add ort for multiple EP
guotuofeng Sep 22, 2023
0561e3c
remove needless examples in night pipeline
guotuofeng Sep 22, 2023
a7dd357
fix syntax error
guotuofeng Sep 22, 2023
bbb6787
change multiple ep nightly check
guotuofeng Sep 22, 2023
fa37d8b
refactor ci pipeline
guotuofeng Sep 22, 2023
db7b1b7
remove nightly examples for aml and docker
guotuofeng Sep 22, 2023
fd66b39
fix template path
guotuofeng Sep 22, 2023
b98e93b
remove integration test in nightly since most of them are aml
guotuofeng Sep 22, 2023
4742dbd
cleanup examples for nightly
guotuofeng Sep 22, 2023
b0ccbce
Merge branch 'main' into myguo/ci_pip
jambayk Sep 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add ort 1.15.1 test suites
  • Loading branch information
guotuofeng committed Sep 22, 2023
commit 38f67a8851a6dfaf5239b2beef76c039fa8035e2
8 changes: 4 additions & 4 deletions .azure_pipelines/job_templates/olive-build-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parameters:
jobs:
- template: olive-test-template.yaml
parameters:
name: ${{parameters.name}}_Unit_Test_Olive
name: ${{parameters.name}}_${{parameters.onnxruntime}}_Unit_Test_Olive
pool: ${{parameters.pool}}
device: ${{parameters.device}}
WINDOWS: ${{parameters.windows}}
Expand All @@ -18,14 +18,14 @@ jobs:

- template: olive-test-template.yaml
parameters:
name: ${{parameters.name}}_Integration_Test_Olive
name: ${{parameters.name}}_${{parameters.onnxruntime}}_Integration_Test_Olive
pool: ${{parameters.pool}}
device: ${{parameters.device}}
WINDOWS: ${{parameters.windows}}
test_type: 'integ_test'
onnxruntime: ${{parameters.onnxruntime}}

- job: ${{parameters.name}}_Test_Examples
- job: ${{parameters.name}}_${{parameters.onnxruntime}}_Test_Examples
timeoutInMinutes: 300
pool:
name: ${{ parameters.pool}}
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

- template: olive-test-template.yaml
parameters:
name: ${{parameters.name}}_Multiple_EP_Test_Olive
name: ${{parameters.name}}_${{parameters.onnxruntime}}_Multiple_EP_Test_Olive
pool: ${{parameters.pool}}
device: ${{parameters.device}}
WINDOWS: ${{parameters.windows}}
Expand Down
70 changes: 70 additions & 0 deletions .azure_pipelines/olive-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,76 @@ jobs:
exampleFolder: bert
exampleName: bert_cuda_gpu

- template: job_templates/olive-build-template.yaml
guotuofeng marked this conversation as resolved.
Show resolved Hide resolved
parameters:
name: Linux_CI
pool: $(OLIVE_POOL_UBUNTU2004)
windows: False
onnxruntime: onnxruntime==1.15.1
guotuofeng marked this conversation as resolved.
Show resolved Hide resolved
examples:
bert_ptq_cpu:
exampleFolder: bert
exampleName: bert_ptq_cpu
bert_ptq_cpu_aml:
exampleFolder: bert
exampleName: bert_ptq_cpu_aml
bert_ptq_cpu_docker:
exampleFolder: bert
exampleName: bert_ptq_cpu_docker
cifar10_openvino_intel_hw:
exampleFolder: cifar10_openvino_intel_hw
exampleName: cifar10_openvino_intel_hw
resnet_ptq_cpu:
exampleFolder: resnet
exampleName: resnet_ptq_cpu
resnet_vitis_ai_ptq_cpu:
exampleFolder: resnet
exampleName: resnet_vitis_ai_ptq_cpu
resnet_qat:
exampleFolder: resnet
exampleName: resnet_qat
whisper:
exampleFolder: whisper
exampleName: whisper

- template: job_templates/olive-build-template.yaml
parameters:
name: Windows_CI
pool: $(OLIVE_POOL_WIN2019)
windows: True
onnxruntime: onnxruntime==1.15.1
examples:
bert_ptq_cpu:
exampleFolder: bert
exampleName: bert_ptq_cpu
bert_ptq_cpu_aml:
exampleFolder: bert
exampleName: bert_ptq_cpu_aml
cifar10_openvino_intel_hw:
exampleFolder: cifar10_openvino_intel_hw
exampleName: cifar10_openvino_intel_hw
resnet_ptq_cpu:
exampleFolder: resnet
exampleName: resnet_ptq_cpu
resnet_qat:
exampleFolder: resnet
exampleName: resnet_qat
whisper:
exampleFolder: whisper
exampleName: whisper

- template: job_templates/olive-build-template.yaml
parameters:
name: Linux_GPU_CI
pool: $(OLIVE_POOL_UBUNTU2004)
windows: False
device: gpu
onnxruntime: onnxruntime-gpu==1.15.1
examples:
bert_cuda_gpu:
exampleFolder: bert
exampleName: bert_cuda_gpu

- template: job_templates/olive-build-doc-template.yaml
parameters:
job_name: Test_BuildDocs
Expand Down