This is an automated email from the ASF dual-hosted git repository.
ruihangl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new e0df8028bf [Docs] TFLite tests requiring Python 3.10 and specific
package versions to avoid core dumps (#19364)
e0df8028bf is described below
commit e0df8028bfe40bfdd5c84437bf516995968270e8
Author: Bana <[email protected]>
AuthorDate: Mon Apr 6 21:58:58 2026 +0300
[Docs] TFLite tests requiring Python 3.10 and specific package versions to
avoid core dumps (#19364)
partially fixes #19348
---
docs/install/from_source.rst | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/docs/install/from_source.rst b/docs/install/from_source.rst
index 72e12969b2..329ba219c1 100644
--- a/docs/install/from_source.rst
+++ b/docs/install/from_source.rst
@@ -71,6 +71,14 @@ one may simply use:
# enter the build environment
conda activate tvm-build-venv
+.. note::
+ **For Frontend Contributors (TFLite):** If you plan to run or contribute to
the frontend tests (e.g., ``test_frontend_tflite.py``), you must strictly use
**Python 3.10**.
+
+ The TFLite tests currently require ``tensorflow==2.9.0`` and
``numpy==1.26.4`` to prevent ``_ARRAY_API`` core dumps.
+ Because TensorFlow 2.9.0 does not provide pre-compiled binaries for Python
3.11 or newer,
+ setting up your environment with Python 3.11+ will force incompatible pip
upgrades
+ and cause C++ ABI crashes during testing.
+
Step 2. Get Source from GitHub
------------------------------
You can also choose to clone the source repo from GitHub.