mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
In this PR, we 1. create some APIs for creating NVTX objects 2. apply those APIs in pipeline-related operators and sequential executor. As a result, we can explicitly see how a pipeline schedule is run by GPUs in Nvidia's visual profiler. Note that these APIs are Linux only due to Nvidia's limited support.
32 lines
934 B
YAML
32 lines
934 B
YAML
trigger: none
|
|
|
|
jobs:
|
|
- template: templates/linux-ci.yml
|
|
parameters:
|
|
AgentPool : 'Linux-GPU-CUDA10'
|
|
JobName: 'Onnxruntime_Linux_GPU_Training'
|
|
SubmoduleCheckoutMode: 'recursive'
|
|
# TODO --skip_onnx_tests is used to disable onnx_test_runner test.
|
|
# onnx_test_runner test occasionally causes "CUDA failure 77: an illegal memory access was encountered"
|
|
# remove --skip_onnx_tests when the test failures are fixed.
|
|
BuildCommand: >
|
|
tools/ci_build/github/linux/run_dockerbuild.sh
|
|
-o ubuntu16.04 -d gpu -r $(Build.BinariesDirectory)
|
|
-x "
|
|
--enable_training
|
|
--config $(buildConfig)
|
|
--skip_onnx_tests
|
|
--build_wheel
|
|
--enable_nvtx_profile
|
|
"
|
|
DoNugetPack: 'false'
|
|
ArtifactName: 'drop-linux'
|
|
TimeoutInMinutes: 90
|
|
Strategy:
|
|
maxParallel: 2
|
|
matrix:
|
|
Debug:
|
|
buildConfig: Debug
|
|
Release:
|
|
buildConfig: Release
|
|
|