Commit 55f67b0d authored by Jeremy Reizenstein's avatar Jeremy Reizenstein Committed by Facebook GitHub Bot
Browse files

add accelerate dependency

Summary: Accelerate is an additional implicitron dependency, so document it.

Reviewed By: shapovalov

Differential Revision: D37786933

fbshipit-source-id: 11024fe604107881f8ca29e17cb5cbfe492fc7f9
parent 4261e59f
...@@ -27,7 +27,7 @@ Only configuration can be changed (see [Configuration system](#configuration-sys ...@@ -27,7 +27,7 @@ Only configuration can be changed (see [Configuration system](#configuration-sys
For this setup, install the dependencies and PyTorch3D from conda following [the guide](https://github.com/facebookresearch/pytorch3d/blob/master/INSTALL.md#1-install-with-cuda-support-from-anaconda-cloud-on-linux-only). Then, install implicitron-specific dependencies: For this setup, install the dependencies and PyTorch3D from conda following [the guide](https://github.com/facebookresearch/pytorch3d/blob/master/INSTALL.md#1-install-with-cuda-support-from-anaconda-cloud-on-linux-only). Then, install implicitron-specific dependencies:
```shell ```shell
pip install "hydra-core>=1.1" visdom lpips matplotlib pip install "hydra-core>=1.1" visdom lpips matplotlib accelerate
``` ```
Runner executable is available as `pytorch3d_implicitron_runner` shell command. Runner executable is available as `pytorch3d_implicitron_runner` shell command.
...@@ -49,7 +49,7 @@ Please follow the instructions to [install PyTorch3D from a local clone](https:/ ...@@ -49,7 +49,7 @@ Please follow the instructions to [install PyTorch3D from a local clone](https:/
Then, install Implicitron-specific dependencies: Then, install Implicitron-specific dependencies:
```shell ```shell
pip install "hydra-core>=1.1" visdom lpips matplotlib pip install "hydra-core>=1.1" visdom lpips matplotlib accelerate
``` ```
You are still encouraged to implement custom plugins as above where possible as it makes reusing the code easier. You are still encouraged to implement custom plugins as above where possible as it makes reusing the code easier.
......
...@@ -143,8 +143,15 @@ setup( ...@@ -143,8 +143,15 @@ setup(
install_requires=["fvcore", "iopath"], install_requires=["fvcore", "iopath"],
extras_require={ extras_require={
"all": ["matplotlib", "tqdm>4.29.0", "imageio", "ipywidgets"], "all": ["matplotlib", "tqdm>4.29.0", "imageio", "ipywidgets"],
"dev": ["flake8", "usort", "black==22.3"], "dev": ["flake8", "usort"],
"implicitron": ["hydra-core>=1.1", "visdom", "lpips", "matplotlib"], "implicitron": [
"hydra-core>=1.1",
"visdom",
"lpips",
"tqdm>4.29.0",
"matplotlib",
"accelerate",
],
}, },
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment