mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-09 00:30:53 +00:00
1. Upgrade nodejs from 16.x to 18.x for Windows pipelines 2. Avoid using Azure DevOps "NodeTool" on Linux. The tool installs nodejs from internet or local disk cache. But we already moved all Linux tests to docker. So we do not need the installer anymore. 3. Remove some other unused code.
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- main
|
|
- rel-*
|
|
paths:
|
|
exclude:
|
|
- docs/**
|
|
- README.md
|
|
- CONTRIBUTING.md
|
|
- BUILD.md
|
|
- 'js/web'
|
|
- 'onnxruntime/core/providers/js'
|
|
pr:
|
|
branches:
|
|
include:
|
|
- main
|
|
- rel-*
|
|
paths:
|
|
exclude:
|
|
- docs/**
|
|
- README.md
|
|
- CONTRIBUTING.md
|
|
- BUILD.md
|
|
- 'js/web'
|
|
- 'onnxruntime/core/providers/js'
|
|
#### end trigger ####
|
|
|
|
jobs:
|
|
- template: templates/linux-ci.yml
|
|
parameters:
|
|
AgentPool : 'Onnxruntime-Linux-GPU-NC6sv3'
|
|
JobName: 'Onnxruntime_Linux_GPU_Training'
|
|
RunDockerBuildArgs: >
|
|
-o ubuntu20.04 -d gpu
|
|
-t onnxruntime_orttraining_ortmodule_tests_image
|
|
-u
|
|
-e
|
|
-x "
|
|
--enable_training
|
|
--config Release
|
|
--use_cuda --cuda_version=11.8 --cuda_home=/usr/local/cuda-11.8 --cudnn_home=/usr/local/cuda-11.8
|
|
--build_wheel
|
|
--enable_nvtx_profile
|
|
--cmake_extra_defines CMAKE_CUDA_ARCHITECTURES=70
|
|
"
|
|
RunInjectedPipeline: 'true'
|
|
InjectedPipeline: 'orttraining-linux-gpu-test-ci-pipeline.yml'
|
|
DockerImageTag: 'onnxruntime_orttraining_ortmodule_tests_image'
|
|
TimeoutInMinutes: 140
|
|
# Enable unreleased onnx opsets in CI builds
|
|
# This facilitates testing the implementation for the new opsets
|
|
AllowReleasedOpsetOnly: '0'
|