Files
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

1.6 KiB

TVM wheel packaging

The wheels are built by a standard cibuildwheel flow, configured in .github/workflows/publish_wheel.yml and pyproject.toml ([tool.cibuildwheel] and [tool.scikit-build]). This directory holds the few helper scripts that flow invokes:

  • manylinux_build_libtvm_runtime_cuda.sh — run by the build_cuda_runtime CI stage; builds the libtvm_runtime_cuda.so sidecar inside the prebuilt quay.io/manylinux_cuda image (CUDA toolkit preinstalled).
  • windows_build_libtvm_runtime_cuda.bat — the Windows equivalent (run with shell: cmd); installs the CUDA toolkit via conda and builds tvm_runtime_cuda.dll.
  • build-environment.yaml — conda environment for building the wheel.