-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TVM EP][CI] Integrate TVM EP into ORT public CI on Windows #12161
Conversation
Hello @xadupre! |
The problem seems to be on the |
Hello @xadupre! |
/azp run Windows CPU CI Pipeline, Windows GPU CI Pipeline, Windows GPU TensorRT CI Pipeline, Windows WebAssembly CI Pipeline, orttraining-amd-gpu-ci-pipeline, orttraining-linux-ci-pipeline, orttraining-linux-gpu-ci-pipeline, orttraining-ortmodule-distributed, onnxruntime-python-checks-ci-pipeline |
Azure Pipelines successfully started running 8 pipeline(s). |
/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, Linux Nuphar CI Pipeline, Linux OpenVINO CI Pipeline, MacOS CI Pipeline, ONNX Runtime Web CI Pipeline, onnxruntime-binary-size-checks-ci-pipeline, Linux TVM CI Pipeline |
Azure Pipelines successfully started running 9 pipeline(s). |
Sorry for the delay, I'm off today and the next day. |
@xadupre, ok, come back when you're available. |
submodules: true | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.8.x' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular reason you chose this version of python?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Ubuntu 20.04 this version comes out of the box. This version was the most tested (during development).
This version is also used in the Linux pipeline.
СС @snnn
Should I merge? |
@xadupre, |
Description
In our previous PR#11851 we added the ability to use
TVM EP
on Windows.This PR integrates tests for checking
TVM EP
on Windows into public ORT CI.Notes about LLVM
TVM EP
requiresLLVM
.LLVM
is already installed in Windows 2019 image we use to run the pipeline. However, this package is not suitable for buildingTVM EP
. This is due to the fact that the packages of officialLLVM
releases for Windows (from their official GitHub) contain only runtime components, but forTVM
we also need to have compilation libraries that are inLLVM-Dev
.This issue has been raised many times before:
To solve this problem on Windows, it is proposed to build
LLVM
yourself from the source code.However, there is a faster way -- use
Miniconda
to installLLVM-Dev
. And after installation, expandPATH
environment variable with the following value:<miniconda_dir>\Library\bin
.