Skip to content

[EP Perf] Customize onnx-tensorrt commit id when init CI tasks#20175

Merged
yf711 merged 13 commits into
mainfrom
yifanl/ep_perf_onnx_tensorrt_overwrite
Apr 10, 2024
Merged

[EP Perf] Customize onnx-tensorrt commit id when init CI tasks#20175
yf711 merged 13 commits into
mainfrom
yifanl/ep_perf_onnx_tensorrt_overwrite

Conversation

@yf711
Copy link
Copy Markdown
Contributor

@yf711 yf711 commented Apr 2, 2024

Description

Customize commit id of onnx-tensorrt in EP Perf CI variables when testing OSS parsers in different versions

To Verify

image

After assigning onnxTensorrtCommitId in EP Perf CI Variables,
CI would prompt during the step of Build latest ORT Image with TensorRT OSS parser:

Updated deps.txt with new commit id a43ce67187bab219520fd80f21af8bbd4354bc8c and hash 572535aefef477050f86744dfab1fef840198035

And CI would overwrite the line of onnx_tensorrt in deps.txt which was assigned as:

onnx_tensorrt;https://github.com/onnx/onnx-tensorrt/archive/a43ce67187bab219520fd80f21af8bbd4354bc8c.zip;572535aefef477050f86744dfab1fef840198035

Motivation and Context

To save time of modifying deps.txt and manually calculating zip hash

Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
Comment thread onnxruntime/python/tools/tensorrt/perf/build/build_image.py Fixed
@yf711 yf711 marked this pull request as ready for review April 8, 2024 04:29
@yf711 yf711 requested a review from a team April 8, 2024 04:29
@yf711 yf711 merged commit 9577fe4 into main Apr 10, 2024
@yf711 yf711 deleted the yifanl/ep_perf_onnx_tensorrt_overwrite branch April 10, 2024 16:46
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
…soft#20175)

### Description
<!-- Describe your changes. -->
Customize commit id of onnx-tensorrt in EP Perf CI variables when
testing OSS parsers in different versions

### To Verify

![image](https://github.com/microsoft/onnxruntime/assets/109183385/9dc650d8-377d-4223-8951-f0849b1fe984)

After assigning `onnxTensorrtCommitId` in EP Perf CI Variables, 
CI would prompt during the step of **[Build latest ORT Image with
TensorRT OSS
parser](https://aiinfra.visualstudio.com/Lotus/_build/results?buildId=438217&view=logs&j=b6bfa4e2-8141-507f-8ca1-59b3f929fa71&t=fc64e110-ab59-54e4-1c37-853e84a52a7e&l=396450)**:
```
Updated deps.txt with new commit id a43ce67187bab219520fd80f21af8bbd4354bc8c and hash 572535aefef477050f86744dfab1fef840198035
```
And CI would [overwrite the line of onnx_tensorrt in
deps.txt](https://aiinfra.visualstudio.com/Lotus/_build/results?buildId=438217&view=logs&j=b6bfa4e2-8141-507f-8ca1-59b3f929fa71&t=fc64e110-ab59-54e4-1c37-853e84a52a7e&l=396451)
which was assigned as:
```
onnx_tensorrt;https://github.com/onnx/onnx-tensorrt/archive/a43ce67187bab219520fd80f21af8bbd4354bc8c.zip;572535aefef477050f86744dfab1fef840198035

```


### 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. -->
To save time of modifying deps.txt and manually calculating zip hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants