mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-02 03:55:34 +00:00
Run nightly pipeline tests from the commit id. (#17162)
### Description The onnxruntime-CI-nightly-ort-pipeline encounters occasional failures due to synchronization discrepancies between the ACPT nightly image and the repository. We are addressing this by executing tests using the commit ID associated with the ort build within the ACPT image. --------- Co-authored-by: Adam Louly <adamlouly@microsoft.com@orttrainingdev9.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
This commit is contained in:
parent
f086bd7bff
commit
c647e3e8ab
1 changed files with 5 additions and 0 deletions
|
|
@ -13,6 +13,11 @@ jobs:
|
|||
|
||||
# Entry point for all ortmodule training tests
|
||||
- script: |
|
||||
COMMIT_ID=$(python3 -c "import onnxruntime; print(onnxruntime.get_build_info().split('git-commit-id=')[1].split(',')[0])")
|
||||
cd $(Build.SourcesDirectory)
|
||||
git checkout $COMMIT_ID
|
||||
git branch
|
||||
echo "Retrieved ONNX Runtime Commit ID: $COMMIT_ID"
|
||||
docker run \
|
||||
--gpus all \
|
||||
--rm \
|
||||
|
|
|
|||
Loading…
Reference in a new issue