Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.77 KB

INSTALL.md

File metadata and controls

37 lines (25 loc) · 1.77 KB

Installation

Requirements

All the codes are tested in the following environment:

Install

a. Clone this repository.

b. Install the dependent libraries as follows:

  • Install the SparseConv library, we use the implementation from [spconv].
    • If you use PyTorch 1.1, then make sure you install the spconv v1.0 with (commit 8da6f96) instead of the latest one.
    • If you use PyTorch 1.3+, then you need to install the spconv v1.2. As mentioned by the author of spconv, you need to use their docker if you use PyTorch 1.4+.
    • You could also install latest spconv v2.x with pip, see the official documents of spconv.
  • Install the torch-scatter library, we use the the implementation from [pytorch_scatter].

c. Install this library and its dependent libraries by running the following command:

python setup.py develop

d. We recommend the users to check the version of numba. We find using numba==0.48.0 can significantly save memory.