You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2021/11/02 22:14:32 UTC
[tvm] branch main updated: [DOC] Add tip on mitigation for symbol
conflict with PyTorch (#9433)
This is an automated email from the ASF dual-hosted git repository.
tqchen 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 054fff5 [DOC] Add tip on mitigation for symbol conflict with PyTorch (#9433)
054fff5 is described below
commit 054fff5684f0d40afe3ac018e0c1e764844b3a14
Author: masahi <ma...@gmail.com>
AuthorDate: Wed Nov 3 07:13:59 2021 +0900
[DOC] Add tip on mitigation for symbol conflict with PyTorch (#9433)
---
docs/install/from_source.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/install/from_source.rst b/docs/install/from_source.rst
index 23be319..4fad42b 100644
--- a/docs/install/from_source.rst
+++ b/docs/install/from_source.rst
@@ -123,6 +123,9 @@ The configuration of TVM can be modified by editing `config.cmake` and/or by pas
- Note that apt-package append ``llvm-config`` with version number.
For example, set ``set(USE_LLVM llvm-config-10)`` if you installed LLVM 10 package
+ - If you are a PyTorch user, it is recommended to set ``(USE_LLVM "/path/to/llvm-config --link-static")`` and ``set(HIDE_PRIVATE_SYMBOLS ON)``
+ to avoid potential symbol conflicts between different versions LLVM used by TVM and PyTorch.
+
- We can then build tvm and related libraries.
.. code:: bash