tvm icon indicating copy to clipboard operation
tvm copied to clipboard

[Bug] Python 3.12 installation

Open yonikremer opened this issue 4 months ago • 1 comments

Hi, I am using uv with python 3.12 on WSL to install tvm using uv pip install apache-tvm I get the error:

(flashinfer) user@yoni-laptop:/mnt/c/Users/user/PycharmProjects/flashinfer$ uv pip install apache-tvm
  × No solution found when resolving dependencies:
  ╰─▶ Because all versions of apache-tvm have no wheels with a matching Python ABI tag (e.g., `cp312`) and you require apache-tvm, we can conclude that your requirements are
      unsatisfiable.

      hint: Pre-releases are available for `apache-tvm` in the requested range (e.g., 0.14.dev273), but pre-releases weren't enabled (try: `--prerelease=allow`)

      hint: You require CPython 3.12 (`cp312`), but we only found wheels for `apache-tvm` (v0.12.0) with the following Python ABI tags: `cp37m`, `cp38`, `cp39`, `cp310`, `cp311`

Can you please release to pypi the wheels?

yonikremer avatar Oct 10 '25 18:10 yonikremer

We are no longer offering pre-built wheels. However, I personally build nightly wheels using GitHub Actions. You can find them at https://github.com/mshr-h/tvm-builder But I recommend to build from source.

mshr-h avatar Dec 10 '25 04:12 mshr-h