Skip to content

Commit

Permalink
Kaolin wheels documentation (#677)
Browse files Browse the repository at this point in the history
Signed-off-by: operel <operel@nvidia.com>

Signed-off-by: operel <operel@nvidia.com>
Co-authored-by: operel <operel@nvidia.com>
  • Loading branch information
orperel and operel committed Jan 23, 2023
1 parent a50ed13 commit 8d4718d
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 8 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ Kaolin library is part of a larger suite of tools for 3D deep learning research.

## Installation and Getting Started

Starting with v0.12.0, Kaolin supports installation with wheels:
```
# Replace TORCH_VERSION and CUDA_VERSION with your torch / cuda versions
pip install kaolin==0.12.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-{TORCH_VERSION}_cu{CUDA_VERSION}.html
```
For example, to install kaolin over torch 1.12.1 and cuda 11.3:
```
pip install kaolin==0.12.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-1.12.1_cu113.html
```

Visit the [Kaolin Library Documentation](https://kaolin.readthedocs.io/en/latest/) to get started!

## About the Latest Release (0.12.0)
Expand Down
4 changes: 4 additions & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
color: white;
}

table.center-align-center-col td {
text-align: center
}

</style>
{% endblock %}

Expand Down
59 changes: 51 additions & 8 deletions docs/notes/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,52 @@ Kaolin on other systems, only a fraction of operations will be available for a C
Requirements
------------

* Linux, macOS (CPU-only) or Windows
* Linux, Windows, or macOS (CPU-only)
* Python >= 3.7, <= 3.9
* `CUDA <https://developer.nvidia.com/cuda-toolkit>`_ >= 10.0 (with 'nvcc' installed) See `CUDA Toolkit Archive <https://developer.nvidia.com/cuda-toolkit-archive>`_ to install older version.
* torch >= 1.8, <= 1.13.1

Dependencies
------------
Quick Start (Linux, Windows)
----------------------------
| Make sure any of the supported CUDA and torch versions below are pre-installed.
| The latest version of Kaolin can be installed with pip:
.. code-block:: bash
$ pip install kaolin==0.12.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/{TORCH_VER}_{CUDA_VER}.html
.. Note::
Replace *TORCH_VER* and *CUDA_VER* with any of the compatible options below.


.. rst-class:: center-align-center-col

+------------------+-----------+-----------+-----------+-----------+-----------+
| **torch / CUDA** | **cu102** | **cu111** | **cu113** | **cu116** | **cu117** |
+==================+===========+===========+===========+===========+===========+
| **torch-1.13.1** | | | |||
+------------------+-----------+-----------+-----------+-----------+-----------+
| **torch-1.13.0** | | | |||
+------------------+-----------+-----------+-----------+-----------+-----------+
| **torch-1.12.1** || ||| |
+------------------+-----------+-----------+-----------+-----------+-----------+
| **torch-1.12.0** || ||| |
+------------------+-----------+-----------+-----------+-----------+-----------+
| **torch-1.11.0** || || | |
+------------------+-----------+-----------+-----------+-----------+-----------+
| **torch-1.10.2** |||| | |
+------------------+-----------+-----------+-----------+-----------+-----------+
| **torch-1.10.1** |||| | |
+------------------+-----------+-----------+-----------+-----------+-----------+
| **torch-1.10.0** |||| | |
+------------------+-----------+-----------+-----------+-----------+-----------+

For example, to install kaolin for torch 1.12.1 and CUDA 11.3:

.. code-block:: bash
$ pip install kaolin==0.12.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-1.12.1_cu113.html
* torch >= 1.8, <= 1.12.1
* cython == 0.29.20 (auto-installed)
* scipy >= 1.2.0 (auto-installed)
* Pillow >= 8.0.0 (auto-installed)
* usd-core >= 20.11 (auto-installed; required for USD I/O and 3D checkpoints with :class:`~kaolin.visualize.Timelapse`)
Installation from source
------------------------
Expand All @@ -36,6 +70,15 @@ Installation from source
$ conda create --name kaolin python=3.7
$ conda activate kaolin
Dependencies
^^^^^^^^^^^^

* torch >= 1.8, <= 1.13.1
* cython == 0.29.20 (auto-installed)
* scipy >= 1.2.0 (auto-installed)
* Pillow >= 8.0.0 (auto-installed)
* usd-core >= 20.11 (auto-installed; required for USD I/O and 3D checkpoints with :class:`~kaolin.visualize.Timelapse`)

1. Clone Repository
^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 8d4718d

Please sign in to comment.