-
Notifications
You must be signed in to change notification settings - Fork 38
Update install notes #749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Update install notes #749
Changes from all commits
57e92be
6fef8ec
c68c0bf
2194083
ee754c8
4952a13
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| .. _contributing: | ||
|
|
||
| ****************** | ||
| Contributing Guide | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,9 @@ | |
| Basic Installation | ||
| ****************** | ||
|
|
||
| The following will show how to install both SmartSim and SmartRedis. | ||
| The following instructions guide you through installing SmartSim and SmartRedis. | ||
| SmartSim, despite being a Python-library, has a second build step for Redis and | ||
| RedisAI. Please follow these instructions carefully. | ||
|
|
||
| .. note:: | ||
|
|
||
|
|
@@ -30,30 +32,29 @@ The base prerequisites to install SmartSim and SmartRedis wtih CPU-only support | |
|
|
||
| .. note:: | ||
|
|
||
| GCC 9, 11-13 is recommended (here are known issues compiling with GCC 10). For | ||
| CUDA 11.8, GCC 9 or 11 must be used. | ||
|
|
||
| .. warning:: | ||
|
|
||
| Apple Clang 15 seems to have issues on MacOS with Apple Silicon. Please modify | ||
| your path to ensure that a version of GCC installed by brew has priority. Note | ||
| this seems to be hardcoded to `gcc` and `g++` in the Redis build so ensure that | ||
| `which gcc g++` do not point to Apple Clang. | ||
| We suggest using GCC to build Redis, RedisAI, and the ML backends. For specific | ||
| version requirements see the :ref:`Requirements <requirements>` section. | ||
|
|
||
| SmartRedis can be compiled with GCC, Intel, Cray, and Nvidia compilers. | ||
|
|
||
| ML Library Support | ||
| ================== | ||
|
|
||
| We currently support both Nvidia and AMD GPUs when using RedisAI for GPU inference. The support | ||
| for these GPUs often depends on the version of the CUDA or ROCm stack that is availble on your | ||
| machine. In _most_ cases, the versions backwards compatible. If you encounter problems, please | ||
| contact us and we can build the backend libraries for your desired version of CUDA and ROCm. | ||
| SmartSim supports using Nvidia and AMD GPUs when using RedisAI for GPU | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| inference. GPU support often depends on the version of the CUDA or ROCm stack | ||
| that is available on your machine. In _most_ cases, the versions of the ML | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like most is not rendering correctly in readthedocs and is showing up exactly as is - instead try |
||
| frameworks are backwards compatible. If you encounter problems, please contact | ||
| us at (smartsim at hpe dot com) and we can build the backend libraries for your | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for pointing them on how to contact us, what are your thoughts on pointing them to this area of the docs? https://www.craylabs.org/docs/contributing.html#how-to-connect so they have multiple options? ALSO! what are your thoughts on changing (smartsim at hpe dot com) to instead |
||
| desired version of CUDA and/or ROCm. | ||
|
|
||
| CPU backends are provided for Apple (both Intel and Apple Silicon) and Linux (x86_64). | ||
|
|
||
| Be sure to reference the table below to find which versions of the ML libraries are supported for | ||
| your particular platform. Additional, see :ref:`installation notes <install-notes>` for helpful | ||
| information regarding various system types before installation. | ||
| Be sure to reference the table below to find which versions of the ML libraries | ||
ashao marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| are supported for your particular platform. Additionally, see :ref:`Platform | ||
| Installation Guide <platform-installation>` for helpful information regarding | ||
ashao marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| specific systems. | ||
|
|
||
| .. _requirements: | ||
|
|
||
| Linux | ||
| ----- | ||
|
|
@@ -64,7 +65,7 @@ Linux | |
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I notice in the Linux tabs, there are additional requirements for CUDA 11 and CUDA 12 but not for ROCm or CPU - just raising this just incase!
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh also why does ROCm 6 have N/A for two columns?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CPU seems a little out of place, what are your thoughts on splitting this table into two with
|
||
| Additional requirements: | ||
|
|
||
| * GCC <= 11 | ||
| * GCC <= 11 (except 10) | ||
| * CUDA Toolkit 11.7 or 11.8 | ||
| * cuDNN 8.9 | ||
|
|
||
|
|
@@ -86,6 +87,7 @@ Linux | |
|
|
||
| Additional requirements: | ||
|
|
||
| * GCC >= 11 | ||
| * CUDA Toolkit 12 | ||
| * cuDNN 8.9 | ||
|
|
||
|
|
@@ -287,8 +289,7 @@ combination. | |
|
|
||
| GPU builds can be troublesome due to the way that RedisAI and the ML-package | ||
| backends look for the CUDA Toolkit and cuDNN libraries. Please see the | ||
| :ref:`Platform Installation Section <install-notes>` section for guidance. | ||
|
|
||
| :ref:`Install Troubleshooting <installation-troubleshooting>` section for guidance. | ||
|
|
||
| .. _dragon_install: | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,21 @@ | ||
| .. _install-notes: | ||
| .. _platform-installation: | ||
|
|
||
| Installation on specific platforms | ||
| ================================== | ||
| Platform Install Guide | ||
| ====================== | ||
|
|
||
| The following describes installation details for various systems and platforms | ||
| that SmartSim may be used on. | ||
|
|
||
| .. include:: platform/generic.rst | ||
|
|
||
| .. include:: platform/nonroot-linux.rst | ||
| HPC platforms often provide modules that enable user to avoid retrieving all | ||
| build dependencies themselves. Additionally, some machines require environment | ||
| variables and/or configuration settings that need to be set for optimal | ||
| performance. The below machines have vetted instructions. Please feel free to | ||
| contribute instructions for your own platform (see :ref:`Contributing Guide | ||
| <contributing>`). | ||
|
|
||
| .. include:: platform/frontier.rst | ||
|
|
||
| .. include:: platform/perlmutter.rst | ||
|
|
||
| .. include:: platform/pml-scylla.rst | ||
| .. include:: platform/cray.rst | ||
|
|
||
| .. include:: platform/ncar-cheyenne.rst | ||
|
|
||
| .. include:: platform/olcf-summit.rst | ||
|
|
||
| .. include:: platform/pml-scylla.rst | ||
|
|
||
| .. _site_installation: | ||
|
|
||
| .. include:: site-install.rst | ||
|
|
||
|
|
||
|
|
||
| .. include:: site-install.rst |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it does not look like there is a Requirements section, and it instead takes you to the ML Library Support/Linux section -> should this link instead point to the ML Library Support section?