Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.21 KB

INSTALLING.md

File metadata and controls

26 lines (22 loc) · 1.21 KB

Installing GRACE

To use GRACE with Horovod 0.18.2, it is required to apply the patch provided. This patch was created from this version of Horovod. After applying the patch it is required to rebuild and reinstall Horovod. To avoid all this hassle, we provide these Docker images with the patch applied and GRACE pre-installed.

To use GRACE via Docker, just pull the latest image with:

docker pull sandslab/grace

The following assumes you want to install it manually. GRACE comes as an installable pip package. It is recommended to install it with:

git clone https://github.com/sands-lab/grace.git && cd grace_dl
pip3 install --user -e .

This way, Python will use the local directory as a package, which allows experimentation with the codebase.

Here is another dirty way to apply the patch (to avoid rebuilding and reinstalling Horvod). Since only python files are affected, you can apply the patch at the local installation of Horovod. The location of your installation can be found with this command:

python3 -c 'import horovod; print(horovod.__path__)'