-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Describe your changes Fix ort nightly pipeline - Upgrade to cuda 12.6 + TensorRT 10.5. - Fix python 3.8 example test. - Fix & skip some tests. - Fix yaml format. ## Checklist before requesting a review - [ ] Add unit tests for this change. - [ ] Make sure all tests can pass. - [ ] Update documents if necessary. - [ ] Lint and apply fixes to your code by running `lintrunner -a` - [ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes. - [ ] Is this PR including examples changes? If yes, please remember to update [example documentation](https://github.com/microsoft/Olive/blob/main/docs/source/examples.md) in a follow-up PR. ## (Optional) Issue link
- Loading branch information
1 parent
3d6e731
commit b0896bb
Showing
17 changed files
with
206 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,42 +8,42 @@ parameters: | |
doc_version: 'latest' | ||
|
||
jobs: | ||
- job: ${{parameters.job_name}} | ||
displayName: ${{parameters.display_name}} | ||
pool: ${{ parameters.pool}} | ||
variables: | ||
PIP_CACHE_DIR: $(Pipeline.Workspace)/.cache/pip | ||
- job: ${{parameters.job_name}} | ||
displayName: ${{parameters.display_name}} | ||
pool: ${{ parameters.pool}} | ||
variables: | ||
PIP_CACHE_DIR: $(Pipeline.Workspace)/.cache/pip | ||
|
||
steps: | ||
- template: olive-setup-template.yaml | ||
parameters: | ||
python_version: '3.9' | ||
onnxruntime: 'onnxruntime' | ||
torch: 'torch' | ||
steps: | ||
- template: olive-setup-template.yaml | ||
parameters: | ||
python_version: '3.9' | ||
onnxruntime: 'onnxruntime' | ||
torch: 'torch' | ||
|
||
# checkout release branch if doc_version provided | ||
- script: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "olivedevteam" | ||
git fetch origin rel-${{parameters.doc_version}} | ||
git checkout rel-${{parameters.doc_version}} | ||
displayName: Checkout release branch | ||
condition: ne('${{parameters.doc_version}}', 'latest') | ||
# checkout release branch if doc_version provided | ||
- script: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "olivedevteam" | ||
git fetch origin rel-${{parameters.doc_version}} | ||
git checkout rel-${{parameters.doc_version}} | ||
displayName: Checkout release branch | ||
condition: ne('${{parameters.doc_version}}', 'latest') | ||
- script: | | ||
# set -e, otherwise make html fails but the build continues | ||
set -e | ||
cd docs | ||
python -m pip install -r requirements.txt | ||
make html | ||
make linkcheck | ||
make schema | ||
displayName: Make Docs | ||
- script: | | ||
# set -e, otherwise make html fails but the build continues | ||
set -e | ||
cd docs | ||
python -m pip install -r requirements.txt | ||
make html | ||
make linkcheck | ||
make schema | ||
displayName: Make Docs | ||
- task: PublishPipelineArtifact@1 | ||
inputs: | ||
path: $(Build.SourcesDirectory)/docs/build/html | ||
artifactName: olive_doc_src | ||
artifactType: pipeline | ||
displayName: Publish Docs to Pipeline Artifact | ||
condition: and(succeeded(), eq('${{ parameters.publish_docs }}', 'true')) | ||
- task: PublishPipelineArtifact@1 | ||
inputs: | ||
path: $(Build.SourcesDirectory)/docs/build/html | ||
artifactName: olive_doc_src | ||
artifactType: pipeline | ||
displayName: Publish Docs to Pipeline Artifact | ||
condition: and(succeeded(), eq('${{ parameters.publish_docs }}', 'true')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.