Skip to content

Commit 74aa856

Browse files
authored
[DOCS] Fix installation from source link some text (#9238)
Fix install from source link(pointed to matplotlib). Updated some wording. Move description of tlcpack to just a link so it can be kept from tlcpack side.
1 parent 322aad5 commit 74aa856

File tree

3 files changed

+23
-39
lines changed

3 files changed

+23
-39
lines changed

docs/install/from_source.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Build the Shared Library
5252
Our goal is to build the shared libraries:
5353

5454
- On Linux the target library are `libtvm.so` and `libtvm_runtime.so`
55-
- On macOS the target library are `libtvm.dylib` and `libtvm_runtime.dylib`
56-
- On Windows the target library are `libtvm.dll` and `libtvm_runtime.dll`
55+
- On macOS the target library are `libtvm.dylib` and `libtvm_runtime.dylib`
56+
- On Windows the target library are `libtvm.dll` and `libtvm_runtime.dll`
5757

5858
It is also possible to :ref:`build the runtime <deploy-and-integration>` library only.
5959

@@ -74,14 +74,14 @@ linux operating systems, execute (in a terminal):
7474
sudo apt-get update
7575
sudo apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake libedit-dev libxml2-dev
7676
77-
Use Homebrew to install the required dependencies for macOS running either the Intel or M1 processors. You must follow the post-installation steps specified by
77+
Use Homebrew to install the required dependencies for macOS running either the Intel or M1 processors. You must follow the post-installation steps specified by
7878
Homebrew to ensure the dependencies are correctly installed and configured:
7979

80-
.. code:: bash
80+
.. code:: bash
8181
82-
brew install gcc git cmake
83-
brew install llvm
84-
brew install python@3.8
82+
brew install gcc git cmake
83+
brew install llvm
84+
brew install python@3.8
8585
8686
8787
We use cmake to build the library.
@@ -303,20 +303,20 @@ like ``virtualenv``.
303303
304304
pip3 install --user tornado psutil xgboost cloudpickle
305305
306-
Note on M1 macs, you may have trouble installing xgboost / scipy. scipy and xgboost requires some additional dependencies to be installed,
307-
including openblas and its dependencies. Use the following commands to install scipy and xgboost with the required dependencies and
306+
Note on M1 macs, you may have trouble installing xgboost / scipy. scipy and xgboost requires some additional dependencies to be installed,
307+
including openblas and its dependencies. Use the following commands to install scipy and xgboost with the required dependencies and
308308
configuration. A workaround for this is to do the following commands:
309309

310-
.. code:: bash
310+
.. code:: bash
311311
312312
brew install openblas gfortran
313313
314-
pip install pybind11 cython pythran  
315-
316-
export OPENBLAS=/opt/homebrew/opt/openblas/lib/
317-
314+
pip install pybind11 cython pythran  
315+
316+
export OPENBLAS=/opt/homebrew/opt/openblas/lib/
317+
318318
pip install scipy --no-use-pep517
319-
319+
320320
pip install xgboost
321321
322322
Install Contrib Libraries

docs/install/index.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@
2020
Installing TVM
2121
==============
2222

23-
TVM is still pre-1.0 release software, meaning that it is under active
24-
development and is changing quickly. Because of this, it is best to
25-
:ref:`install TVM from source <install_from_source>` to guarantee you
26-
have the latest features and bug fixes. If you are interested in deploying to
27-
mobile or embedded devices, you do not need to install the entire TVM stack on
28-
your device. Instead, you only need the runtime and can install using the
23+
Checkout to :ref:`install TVM from source <install-from-source>`. Installing
24+
from source gives you the maximum flexibility to configure the build effectively from the official source releases.
25+
If you are interested in deploying to mobile or embedded devices, you do not need to
26+
install the entire TVM stack on your device. Instead, you only need the runtime and can install using the
2927
:ref:`deployment and integration guide <deploy-and-integration>`.
3028

3129
If you would like to quickly try out TVM or run some demo and tutorials, you
32-
can :ref:`install from Docker <docker-images>`, or install using the
33-
third-party :doc:`TLCPack Python and Conda packages <tlcpack>`
30+
can checkout :ref:`install from Docker <docker-images>`. You can also
31+
tryout pre-built from third-party :doc:`TLCPack Python and Conda packages <tlcpack>`.
3432

3533
.. toctree::
3634
:maxdepth: 2

docs/install/tlcpack.rst

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,5 @@
2020
TLCPack
2121
=======
2222

23-
The Tensor Learning Compiler binary Package (TLCPack) community builds and
24-
maintains third-party packaging based on Apache TVM. TLCPack is a community
25-
maintained release that does not contain any additional source code from the
26-
TVM source repository. It takes source code from Apache TVM and builds Pip and
27-
Conda binary packages with different build configurations, for both the stable
28-
release and the nightly release. Please note that additional licensing
29-
conditions may apply (for example, the CUDA EULA is enforced for the CUDA
30-
enabled package) when you use the binary builds.
31-
32-
TLCPack is not part of Apache and is run by thirdparty community volunteers.
33-
Please refer to the official Apache TVM website for Apache source releases.
34-
35-
Licenses for TVM and its dependencies can be found in the github repository.
36-
37-
More information on installing with TLCPack can be found on the `TLCPack site
38-
<https://tlcpack.ai>`_.
23+
TLCPack is a third-party conda and pip packaging based on TVM.
24+
Checkout more information on `TLCPack site <https://tlcpack.ai>`_.

0 commit comments

Comments
 (0)