56 Commits

Author SHA1 Message Date
Tianqi Chen cfb98e938c [CI] Simplify Jenkins pytest execution (#19947)
This PR simplifies Jenkins pytest execution around standard pytest-xdist
behavior.

- Runs each already-filtered CPU/GPU suite once with `-n auto`; the
broad suite keeps load-group scheduling because its order-sensitive
cases require it.
- Removes external sharding, wrapper/profile code, JUnit XML generation
and publication, the skipped-test XML consumer, obsolete suite naming,
and orphaned helpers.
- Retains one inert `task_clear_pytest.sh` entry point only because PR
jobs evaluate their Jenkinsfile from the trusted base branch before
checking out the PR; it performs no cleanup or reporting and can be
removed after this pipeline lands.
- Corrects stale broad-suite paths and explicit target guards, and
migrates a scalar stride test to the current `T.handle` pointer
semantics while preserving its negative lowering check.
- Prevents nested MetaSchedule/XGBoost unit tests from multiplying CPU
fanout without serializing the full suite.
- Builds only the `tvm_runtime` target for the secondary GPU
configuration and removes its unconsumed `gpu2` artifact upload.

The result reduces parallelism to one layer managed by pytest-xdist
while preserving GPU filtering and native failure visibility.
2026-07-05 09:59:51 -04:00
Tianqi Chen 5427e3c2de [CI] Remove stale GitHub automation (#19946)
Retire GitHub automation that is disabled, non-functional, unowned, or
explicitly no longer wanted, together with its orphaned support code and
tests.

This removes the optional Dependabot version-update config; automatic
team mentions and cc-review requests; last-successful and nightly branch
advancement; reviewer pings; the disabled PR-comment bot; and the unused
CI-resource upload path. Active CI, release, tvm-bot, and manual
Docker-update workflows remain, with narrower permissions and event
guards, plus refreshed issue-template and network-resource guidance.

The behavior change is intentional: reviewer requests and team routing
become manual, and the nightly and last-successful branches are no
longer advanced by this repository. Dependabot security updates remain
controlled by repository settings.
2026-07-04 22:21:10 -07:00
Shushi Hong f613161d72 [CI] Remove retired ci_lint Docker files (#19878)
Remove the retired ci_lint Docker image definition and its legacy lint
wrapper after the Jenkins matrix stopped building ci_lint in #19872.

Also remove the ci_lint entry from docker-images.ini, drop the
retired-image skip from the nightly Docker updater, and update the CI
test fixture accordingly.

Keep the temporary git_change_docker.sh ignore entries for the deleted
lint Docker files so this cleanup PR does not trigger an unnecessary
Docker image rebuild.
2026-06-25 15:40:31 -04:00
Ruihang Lai 96461a3e18 [CI][CMAKE] Install CUDA driver stub for libtvm_runtime_cuda (#19886)
The quay.io/manylinux_cuda image ships the CUDA toolkit but omits the
libcuda driver stub (cuda-driver-devel). Without it CMake's FindCUDA
leaves CUDA_CUDA_LIBRARY empty, and since a shared library links fine
with undefined symbols, libtvm_runtime_cuda built with no libcuda.so.1
dependency -- ldd/readelf did not list it -- breaking downstream use.

Install cuda-driver-devel-13-1 from the CUDA repo already configured in
the image (a ~45 KB package with no dependencies, not the full toolkit
download). The stub lands under /usr/local/cuda/.../stubs where FindCUDA
looks, so the sidecar links libcuda.so.1 again.

Also fail CMake configure with a clear error when CUDA_CUDA_LIBRARY is
unset, so a missing driver stub can never again silently ship a runtime
sidecar without its libcuda dependency.
2026-06-25 07:16:57 -04:00
Shushi Hong d40f8bf2b0 [CI] Stop building ci_lint Docker image (#19872)
This is the first step in retiring the unused `ci_lint` Docker image.

This PR removes `ci_lint` from the generated Jenkins Docker image matrix
so new Jenkinsfiles no longer resolve, build, or deploy that image. It
also skips `ci_lint` in the nightly Docker image updater and teaches
`git_change_docker.sh` to ignore the lint Docker files that will be
removed later.

The actual lint Docker files are intentionally kept in this PR for
compatibility with the current Jenkins PR bootstrap path. Some PR Docker
jobs may still run the main-branch pipeline while reading files from the
PR checkout, and that older pipeline still passes `ci_lint` to
`determine_docker_images.py` during prepare. Keeping the files and the
temporary `docker-images.ini` entry avoids failing before the updated
generated Jenkinsfiles take effect.

A follow-up PR can delete `docker/Dockerfile.ci_lint`,
`docker/install/ubuntu_install_clang_format.sh`, `docker/lint.sh`, and
the README lint Docker example after this lands.
2026-06-23 21:34:13 -04:00
Tianqi Chen b046e69a7f [CI] Remove Jenkins PR linter step (#19798)
The Jenkins PR title/body linter is comparatively heavy and can report
false positives before the normal CI signal is available.

This removes the check_pr step from the Jenkins prepare flow and drops
the now-unused script-level test coverage.
2026-06-16 15:33:06 -04:00
Shushi Hong 1c27ccf531 [CI] Drop redundant cmake/ninja install from the Linux wheel CUDA sidecar (#19761)
This pr is the follow-up pr of #19754. It removes the redundant `pip
install -U pip cmake ninja` (since those are already installed in
docker) and the unused python_bin variable, and update the comment to
match: the image provides the build tools, and PATH only needs the
bundled CPython (for the configure) plus the CUDA toolchain (for nvcc).

Also fixs a stale comment in the Windows sidecar: it claimed the conda
13.0.2 pin matched the Linux hook, but the Linux side is now CUDA 13.1
(from the image). The win-64 nvidia channel still caps at 13.0.x, so
Windows stays on 13.0.2 -- slightly behind Linux but harmless, since the
sidecar has no device code and links the CUDA runtime by soname only.
The Windows pip install is kept: that build uses the Ninja generator and
runs on a runner without the prebuilt CUDA image.
2026-06-14 07:46:42 -04:00
Shushi Hong 0ec36587af [CI] Updated cibw to 4.1.0 (#19754)
This pr follows the cibuildwheel 4.0 announcement, the official prebuilt
quay.io/manylinux_cuda images ship the CUDA toolkit preinstalled under
/usr/local/cuda on the same manylinux_2_28 baseline the wheel targets.

also switchs the Linux build_cuda_runtime sidecar legs to
quay.io/manylinux_cuda/manylinux_2_28_{x86_64,aarch64}_cuda13_1 and drop
the per-run NVIDIA local-repo RPM download plus dnf install of the
toolkit, which pulled several GB from developer.download.nvidia.com on
every run and was the main source of sidecar build-time variance. This
moves the Linux sidecar from CUDA 13.0.2 to 13.1; the soname stays
libcudart.so.13, so the repair-step glob excludes (libcudart.so.*) are
unaffected and the sidecar carries no device code. The Windows sidecar
keeps using conda and is unchanged.
2026-06-13 07:28:20 -04:00
Shushi Hong 5cbf50628b [CI] Add cibw-based wheel publishing to PyPI (#19656)
Add a workflow_dispatch pipeline that builds, tests, and publishes
manylinux/ macOS/Windows wheels via cibuildwheel with OIDC trusted
publishing.
2026-06-02 17:36:31 -04:00
Yong Wu 30c555bd20 [CI] Remove tvm-lint from tvm-bot (#19629)
Remove tvm-lint from tvm-bot
2026-05-28 07:04:15 -04:00
Tianqi Chen 4052880e7c [BUILD] Modularize device runtime into per-backend DSOs (#19594) 2026-05-22 16:04:26 -04:00
Tianqi Chen daefffcace [CI][REFACTOR] Decouple data.py from Jenkins script and docker images (#19445)
## Summary

`ci/jenkins/data.py` was carrying two unrelated concerns: artifact
bundle definitions for s3 staging, and the docker image tag registry.
This PR decouples both from the Jenkinsfile-generated code, making each
concern standalone and machine-readable without Python.

## Changes

### Part 1 — Bundle refactor (`10950ac192`)

- `ci/scripts/jenkins/s3.py` gains `--bundle <name>` (repeatable) that
resolves bundle names from `ci/jenkins/data.py::files_to_stash` at
runtime; `--items` preserved for back-compat
- `ci/jenkins/templates/utils/macros.j2` `upload_artifacts` macro emits
`--bundle <name>` flags instead of inlining the file list as `--items`
- Template callsites (cpu, gpu, arm) updated to pass `bundles=[...]`
names
- Generated `.groovy` files regenerated — no `build/` paths appear in
artifact upload blocks; only bundle names

### Part 2 — Docker image registry extraction (`6df22c09b9`)

- New `ci/docker-images.ini` (one `[ci_*]` section per image) is the
single source of truth for image tags
- `docker/dev_common.sh::lookup_image_spec` reads the ini directly with
`awk` — no Python invocation
- `ci/jenkins/data.py` drops the inline `docker_images` dict; loads it
via `configparser` from the ini, preserving the same nested-dict shape
so Jinja templates and the current `s3.py` module import keep working
unchanged
- `data.py __main__` is now the bundle-resolver CLI (`python3
ci/jenkins/data.py <bundle> [...]` → file paths, one per line) — no more
dual-purpose image-name lookup branch
- `ci/scripts/jenkins/open_docker_update_pr.py` updated to read/write
`ci/docker-images.ini` instead of `data.py`

## Acceptance

```
# No build/ artifact paths in generated Jenkinsfiles (bundle names only):
grep -rn "build/lib\|build/cpptest" ci/jenkins/generated/   # → nothing

# generate.py is byte-identical after the change:
python3 ci/jenkins/generate.py  # → "no changes made" for all 5 groovy files

# dev_common.sh resolves same tag as before:
bash -c 'source docker/dev_common.sh && lookup_image_spec ci_cpu'
# → tlcpack/ci-cpu:20251130-061900-c429a2b1
```
2026-04-25 19:22:27 -04:00
Tianqi Chen ab4ddd234d [CI] Remove legacy lint scripts and Apache RAT (#18848)
## Summary

Remove legacy lint scripts from `tests/lint/` that are now redundant
with the
pre-commit + ruff workflow. Also remove Apache RAT and Java from the
Docker
lint image since ASF header checking is now handled by Python directly.

## Changes

- Delete 8 legacy lint scripts (`cpplint.sh`, `pylint.sh`, `flake8.sh`,
etc.)
  and their configs (`pylintrc`, `rat-excludes`)
- Simplify `task_lint.sh` and `docker/lint.sh` to delegate to pre-commit
- Remove RAT/Java install from `Dockerfile.ci_lint` and legacy pip
packages
  (`cpplint`, `pylint`, `mypy`, `black`, `flake8`, `blocklint`)
2026-02-28 10:20:11 -05:00
Tianqi Chen 9a8320acbd [LINT][PYTHON] Modernize annotations with ruff UP rules (#18830)
This PR enables ruff pyupgrade (UP) rules with py310 target, auto-fixing
~5600 annotation modernizations (PEP 585 generics, PEP 604 unions,
deprecated typing imports).

Also removes from __future__ import annotations from ir/module.py and
rmsnorm.py, bumps requires-python to >=3.10, and removes absolute_import
aliases from topi/contrib files.
2026-02-27 21:29:47 -05:00
Tianqi Chen 33dcea1686 [REFACTOR][LINT] Modernize ruff config (#18810)
This PR removes the extra lint violations from the codebase so lint
aligns with the latest style
2026-02-23 07:29:21 -05:00
Tianqi Chen aa2e609136 [LINT] Modernize lint to use pre-commit hooks (#18807)
This PR migrates existing lint to use pre-commit hooks
2026-02-22 11:03:21 -05:00
Ruslan Baratov 04b351cfe8 [DOC] Unify GitHub naming (#18794)
Fix GitHub naming in documentation and comments

- Github -> GitHub
- github -> GitHub
2026-02-19 00:52:30 +08:00
Masahiro Hiramori 0291afa2ca [CI] Remove unity from tvm-bot (#18780)
Follow-up for #18755

tvm-bot rerun fails due to remaining tvm-unity
https://github.com/apache/tvm/pull/18775#issuecomment-3904314624
2026-02-15 22:35:06 +09:00
Shushi Hong 38a3f219a5 [CI] Move conda config files to tests/conda and remove unused conda build infrastructure (#18456)
## Summary

This PR reorganizes the conda-related files and removes unused conda
build infrastructure.

## Changes

### Moved Files
- `conda/build-environment.yaml` → `tests/conda/build-environment.yaml`
- `conda/condarc` → `tests/conda/condarc`

### Removed Files
- `conda/build_cpu.sh`, `conda/build_cuda.sh`, `conda/build_win.bat`
(build scripts)
- `conda/recipe/` (entire directory with conda package recipes)
- `conda/Dockerfile.template`, `conda/render_cuda_dockerfiles.py`

### Updated References
- `.github/actions/setup/action.yml` - Updated paths to reference
`tests/conda/`
- `tests/lint/blocklint.sh` - Removed reference to deleted
`conda/recipe/meta.yaml`
- `version.py` - Removed conda recipe version sync logic
- `ci/scripts/jenkins/git_skip_ci_globs.py` - Removed `conda/*` from
skip globs
- `.github/CODEOWNERSHIP` - Updated ownership path to `tests/conda/**`
2026-02-11 16:06:35 -05:00
Masahiro Hiramori 6f18e4ef77 [CI] Remove i386 and Hexagon from CI pipeline (1) (#18737)
Part of #18682
2026-02-11 08:54:45 -05:00
Guan-Ming (Wesley) Chiu c6e8b02edd [CI] Fix double newlines in nightly docker update (#18717)
## Related PR

https://github.com/apache/tvm/pull/18710

## Why

- f.readlines() returns lines that already have \n at the end
- Script then does "\n".join(content), which adds another \n between
each line
- Result: every line gets a blank line after it → file becomes malformed
→ lint fails

## How

- "\n".join(content) to "".join(content)

Signed-off-by: Guan-Ming Chiu <guanmingchiu@gmail.com>
2026-02-06 11:24:09 -05:00
Guan-Ming (Wesley) Chiu efdf2b2dbb [CI] Fix NameError in nightly docker update workflow (#18692)
## Why
The Nightly Docker Update CI workflow fails with NameError: name 'Sh' is
not defined because Sh is used but not imported.


https://github.com/apache/tvm/actions/workflows/nightly_docker_update.yml
## How
- Add Sh to the import from cmd_utils
- Sort the import with ruff
2026-02-03 07:12:07 -05:00
Guan-Ming (Wesley) Chiu 4c2249db91 [CI] Remove hardcoded user and repo values (#18549)
## Why

remove hard-code legacy code in ci
2025-12-05 13:49:10 -05:00
Guan-Ming (Wesley) Chiu 6785c8f131 [CI] Enable username checks in PR title and body (#18432)
Enable username checks in PR title and body
2025-11-13 01:32:01 -05:00
Tianqi Chen 1df8f9f4d7 [skip ci][CI] Update github tvmbot (#17675)
This PR updates github tvmbot to remove the stale pipeline checks.
2025-02-24 18:23:43 -08:00
Siyuan Feng f717c5655c [Refactor] Phase out microTVM (#17554) 2024-12-10 08:43:05 -05:00
Eric Lunderberg 538343f7f0 [CI] Reduce logging level when checking if docker image exists (#17221)
Prior to this commit, the `image_exists` utility in
`determine_docker_images.py` logged the full response for success, and
the full HTTP error if an exception is caught.  However, this is the
expected behavior when loading a docker image from `tlcpackstaging`,
such as the current images tagged with `20240428-060115-0b09ed018`.
Logging this fallback as an error makes it difficult to find the first
actual error that occurred in CI.

This commit updates these logging statments `logging.info` and
`logging.exception` to instead use `logging.debug`.
2024-07-31 10:35:13 -05:00
Siyuan Feng 00a2c7d325 [CI] Support tvm-bot rerun for tvm-unity task (#16502) 2024-02-01 12:55:30 -05:00
Eric Lunderberg ae8d398b88 [CI] In jenkins.cmd_utils.Sh.tee, check for failing subprocess (#16382)
Prior to this commit, the `Sh.tee` method was implemented by calling
`f"{cmd} | tee"` in `subprocess.run`.  While the `check=True` flag was
used, the return code was from `tee`, not from the command itself.
This causes failures in the command itself to be silently ignored,
such as in [this CI
pipeline](https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-i386/detail/PR-16183/37/pipeline)
in the `ci/scripts/jenkins/s3.py` step.

This commit updates `Sh.tee` to call `subprocess.Popen` for `cmd`, tee
the stdout, and check the return code.  (Roughly adapted from [this
stackoverflow post](https://stackoverflow.com/a/56484734).)
2024-01-11 17:25:28 -08:00
Florin Blanaru 227c4e87f3 [CI] Update the expected CI jobs list in the update_branch script (#14908) 2023-05-26 17:33:06 -04:00
Yong Wu 6c53d85f79 [CI] Fix doc deploy issue (#14780)
Fix for the doc deploy issue: https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-gpu/detail/main/617/pipeline/535
2023-05-05 23:16:39 -07:00
Yong Wu aa7d2bff6b [CI] Modify test cases to accommodate the CI upgrades (#14651)
* [CI] update all the images

* Update test_config

* Fix llvm_codegen_test err

* Update with newly built images

* update pylintrc

* Update i386 build

* Don't use ninja for i386

* Update torch tests

* Debug i386 platform

* check ec2 instance type for i386

* Remove gluoncv ssd example

* Update pylint

* Update test images

* Skip torch jit trace issue for arm

* Fix pylint

* update tests

* update i386 build

* update s3.py to skip non-existing files

* update pylint

* Update pylint

* Fix tests

* update clang-format to 15

* update tests for clang-format-15

* run with newly images

* skip oom test for i386

* Upgrade for DGL sample

* fix black

* Ignore a warning in doc

* New run with newly images

* Use newly generated tlcpackstaging images
2023-05-05 11:54:41 +01:00
Mehrdad Hessar b77d24c384 [microTVM][CRT]Separate CRT template project from standalone CRT build (#13812)
This PR separates the CRT template project for microTVM from CRT standalone library build. The CRT template project would move to build/microtvm_template_projects.

It also adds uploading microtvm_template_projects to S3 in few images that were missing this previously.
2023-01-23 10:12:27 -08:00
Florin Blanaru efa5a388ce [CI] Update rerun list for tvm-bot (#13817)
Update rerun list for tvm-bot
2023-01-20 14:56:01 -08:00
driazati 0dc26dd870 [ci][docker] Allow usage of ECR images in PRs (#13590)
This fixes `ecr_pull` so that `docker-images.ini` can be updated with Docker images from a previous CI run for testing purposes

Example run: https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-cortexm/detail/PR-13590/4/pipeline/#step-80-log-9
2022-12-09 20:15:28 -08:00
driazati c5b8ab2307 [ci][docker] Read docker image tags during CI runs (#13572)
Hardcoding the Docker images in the Jenkinsfiles has the downside that only trusted changes are actually run in CI. Since Docker image updates are pretty frequent, this makes for a pretty bad UX (e.g. CI runs but doesn't actually test the PR). The fix here makes it so the images are read from a different file during CI execution so updates from anyone are picked up.

This PR eliminates the need to use the batch jobs in Jenkins to update Docker images. Docker images are built as part of post-merge CI on `main` and anyone can trigger a validation run by filing a PR with changed Docker tags.
2022-12-08 16:08:51 -08:00
driazati acef2ed97d [ci] Make tvm-bot aware of platform specific jobs (#13571)
See #13337 for more context, this fixes `@tvm-bot rerun` to work with
the new jobs
2022-12-07 10:38:00 +00:00
driazati 9374738b29 [ci] Split Jenkinsfile into platform-specific jobs (#13300)
This breaks up the Jenkinsfile into ones for GPU, CPU, etc. This removes a false dependency between the build and test steps (e.g. before the GPU tests had to wait on the Hexagon build to complete) and makes the Jenkins UI a bit better since there's not 30 tests to scroll through to find a failure. An example can be found in my fork here: https://github.com/driazati/tvm/pull/38 in the checks box. Before this is merged https://github.com/tlc-pack/ci/blob/main/jenkins/jenkins-jobs/prod/tvm.yaml will need to be updated to accept webhooks from apache/tvm instead of my fork.

See #13337 for more context
2022-12-06 13:52:31 -08:00
driazati 8136173a63 [ci][docs] Fix docs deploy (#13442)
The docs deploy is broken following #13335:
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/4754/pipeline

This avoids downloading the whole docs directory (which is just used to
host documentation previews for PRs) and just grabs the `docs.tgz` which
is actually used to deploy the docs.

Co-authored-by: driazati <driazati@users.noreply.github.com>
2022-11-21 16:36:57 +09:00
driazati 490e0e3120 [ci] Split out C++ unittests (#13335)
* [ci] Split out C++ unittests

This makes C++ unittests follow the normal flow of build -> upload
artifacts -> download and run tests. To simplify the changes there is a
new utility for interacting with S3.

* Comments

Co-authored-by: driazati <driazati@users.noreply.github.com>
2022-11-18 10:02:55 -08:00
Benson Muite 52739ef8cd [ci][tvmbot] Fix spelling error, metionable -> mentionable (#13276)
In AUTH_CHECKS, "mentionable_users" was "metionable_users".
This pull request fixes this spelling error.
2022-11-16 08:32:09 -08:00
Florin Blanaru 5a767d053d [CI] Separate the ci scripts into Github and Jenkins scripts (#13368)
This PR is a duplicate of #12940 and #12941. For some reason, I am unable to reopen #12940.
2022-11-14 09:32:12 -08:00
Florin Blanaru b8384d105b [ci] Assert some tests are not skipped in the CI (#12915)
In this PR, the skipped tests script will also check if tests in the `required_tests_to_run.json` have not been skipped. If there are skipped tests, they will be added to the returned comment. 

I am not entirely sure where it's best to place the `required_tests_to_run` file, so I left it in `tvm/ci/scripts/`. I am happy to take suggestions.

Aims to prevent situations such as #12529
2022-11-12 17:09:10 -07:00
driazati 81e6e17ff0 [skip ci][ci] Ignore certain files for triggering docker builds (#13167)
These files have no effect on Docker image builds so if they are changed
we shouldn't be triggering a Docker image build. Right now if anything
in `docker/` is touched a build is run, this adds a short exclusion list
of some files (each of which is used for local testing or is exercised
already in CI).

Marked with `[skip ci]` since this runs during the Jenkins prepare step
anyways.

Co-authored-by: driazati <driazati@users.noreply.github.com>
2022-10-22 04:13:08 +09:00
driazati 46aa04f3f1 [ci] Wait longer during retries (#13102)
This bumps the wait time between failing network calls from `(10, 30)`
to `(30, 200)` seconds. A failing CI run is pretty costly so it makes
sense to wait a little longer and see if Docker/AWS/whoever starts
responding.

Motivated by
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/4495/pipeline
which saw 5 `docker pull` `500` errors in a row

Co-authored-by: driazati <driazati@users.noreply.github.com>
2022-10-22 04:12:25 +09:00
driazati a4840e7de3 [ci] Lint for trailing newlines and spaces (#13058)
This adds a short lint to ensure that all files have a single trailing newline and no trailing whitespaces. This PR is in two commits, one to add the check and another to fix currently offending files in the repo. See https://github.com/apache/tvm/pull/13058/commits/ba2c2e235e2a16d62fdeed959044c65012d9f942 for just the significant changes. Auto-corrections applied with

```
pre-commit run --all-files
```
2022-10-18 23:36:35 -07:00
driazati d9f7cf3539 Revert "[ci] Lint PR title/body for @ tags (#12840)" (#12848)
This reverts commit ecd003c742.

The check needs to ignore @ s in some cases, such as within code blocks.
2022-09-20 17:48:23 +01:00
driazati ecd003c742 [ci] Lint PR title/body for @ tags (#12840)
This ensures that no users are tagged directly in PR titles or
descriptions, which lets us finally turn this on
https://github.blog/changelog/2022-08-23-new-options-for-controlling-the-default-commit-message-when-merging-a-pull-request/
2022-09-20 08:10:59 -07:00
driazati e037ae4992 [ci] Add bot to post welcome comment (#12695)
This would post the comment that the tests bot and the docs comment bot
uses straightaway when a PR is posted. This will contain links to
generic info about posting PRs (and obviate the
`.github/PULL_REQUEST_TEMPLATE.md`) as well as dynamic info about the
specific PR (filled in later by the respective bots). This would make
things like the auto-cc bot more transparent since it would have a link
to the relevant issue.

Tested live here: https://github.com/driazati/tvm/pull/21#issuecomment-1236019529
2022-09-16 13:29:57 -07:00
Ashutosh Parkhi 8f8b6d8837 Fix for import requests and import caffe failures (#12813)
Recently virtual environments were introduced in the
docker images which was a great contribution to
localize errors: https://github.com/apache/tvm/pull/12663. In this fix, link to the caffe is
created inside this virtual env instead of adding it
to the system path of python. This fix also removes
importing request package where not needed.

Fixes #12663
2022-09-16 08:51:09 -07:00