Skip to content

Commit 2194083

Browse files
committed
Update installation guides
1 parent c68c0bf commit 2194083

File tree

17 files changed

+244
-120
lines changed

17 files changed

+244
-120
lines changed

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
overview
1414
installation_instructions/basic
15-
installation_instructions/install_notes
1615
installation_instructions/platform
16+
installation_instructions/troubleshooting/troubleshooting
1717
contributing
1818
smartsim_zoo
1919

doc/installation_instructions/basic.rst

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
Basic Installation
55
******************
66

7-
The following will show how to install both SmartSim and SmartRedis.
7+
The following instructions serve as a guide for installing both SmartSim and
8+
SmartRedis. SmartSim, despite being a Python-library, has a second build
9+
step for Redis and RedisAI. Please follow these instructions carefully.
810

911
.. note::
1012

@@ -30,30 +32,26 @@ The base prerequisites to install SmartSim and SmartRedis wtih CPU-only support
3032

3133
.. note::
3234

33-
GCC 9, 11-13 is recommended (here are known issues compiling with GCC 10). For
34-
CUDA 11.8, GCC 9 or 11 must be used.
35-
36-
.. warning::
37-
38-
Apple Clang 15 seems to have issues on MacOS with Apple Silicon. Please modify
39-
your path to ensure that a version of GCC installed by brew has priority. Note
40-
this seems to be hardcoded to `gcc` and `g++` in the Redis build so ensure that
41-
`which gcc g++` do not point to Apple Clang.
42-
35+
GCC is recommended to build the backends for SmartSim. CUDA 11.8 requires GCC
36+
9 or 11, CUDA 12 requires GCC 11 or higher. SmartRedis can be compiled with
37+
GCC, Intel, Cray, and Nvidia compilers.
4338

4439
ML Library Support
4540
==================
4641

47-
We currently support both Nvidia and AMD GPUs when using RedisAI for GPU inference. The support
48-
for these GPUs often depends on the version of the CUDA or ROCm stack that is availble on your
49-
machine. In _most_ cases, the versions backwards compatible. If you encounter problems, please
50-
contact us and we can build the backend libraries for your desired version of CUDA and ROCm.
42+
We currently support both Nvidia and AMD GPUs when using RedisAI for GPU
43+
inference. The support for these GPUs often depends on the version of the CUDA
44+
or ROCm stack that is availble on your machine. In _most_ cases, the versions of
45+
the ML frameworks are backwards compatible. If you encounter problems, please
46+
contact us and we can build the backend libraries for your desired version of
47+
CUDA and ROCm.
5148

5249
CPU backends are provided for Apple (both Intel and Apple Silicon) and Linux (x86_64).
5350

54-
Be sure to reference the table below to find which versions of the ML libraries are supported for
55-
your particular platform. Additional, see :ref:`installation notes <install-notes>` for helpful
56-
information regarding various system types before installation.
51+
Be sure to reference the table below to find which versions of the ML libraries
52+
are supported for your particular platform. Additionally, see :ref:`Platform
53+
Installation Guide <platform-installation>` for helpful information regarding
54+
for specific systems.
5755

5856
Linux
5957
-----
@@ -287,8 +285,7 @@ combination.
287285

288286
GPU builds can be troublesome due to the way that RedisAI and the ML-package
289287
backends look for the CUDA Toolkit and cuDNN libraries. Please see the
290-
:ref:`Platform Installation Section <install-notes>` section for guidance.
291-
288+
:ref:`Install Troubleshooting <installation-troubleshooting>` section for guidance.
292289

293290
.. _dragon_install:
294291

doc/installation_instructions/install_notes.rst

Lines changed: 0 additions & 16 deletions
This file was deleted.

doc/installation_instructions/install_notes/nonroot-linux.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _platform-installation:
2+
13
Platform Install Guide
24
======================
35

@@ -9,18 +11,10 @@ instructions, please feel free to contribute instructions for your own
911
machine.
1012

1113
.. include:: platform/frontier.rst
12-
1314
.. include:: platform/perlmutter.rst
14-
15-
.. include:: platform/cray.rst
16-
1715
.. include:: platform/pml-scylla.rst
18-
16+
.. include:: platform/cray.rst
1917
.. include:: platform/olcf-summit.rst
2018

2119
.. _site_installation:
22-
23-
.. include:: site-install.rst
24-
25-
26-
20+
.. include:: site-install.rst

doc/installation_instructions/platform/frontier.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
OLCF Frontier
2-
=============
1+
Frontier (OLCF)
2+
---------------
33

44
Known limitations
55
^^^^^^^^^^^^^^^^^
@@ -63,7 +63,7 @@ these instructions, being sure to set the following variables
6363

6464
.. code:: bash
6565
66-
smart build ^^device=rocm-6
66+
smart build --device=rocm-6
6767
6868
**Step 5:** Check that SmartSim has been installed and built correctly:
6969

@@ -76,7 +76,7 @@ these instructions, being sure to set the following variables
7676
mkdir -p $MIOPEN_USER_DB_PATH
7777
7878
# Run the install validation utility
79-
smart validate ^^device gpu
79+
smart validate --device gpu
8080
8181
The following output indicates a successful install:
8282

doc/installation_instructions/platform/olcf-summit.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
Summit at OLCF
3-
--------------
2+
Summit (OLCF)
3+
-------------
44

55
Since SmartSim does not have a built PowerPC build, the build steps for an IBM
66
system are slightly different than other systems.

doc/installation_instructions/platform/perlmutter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
NERSC Perlmutter
2-
----------------
1+
Perlmutter (NERSC)
2+
------------------
33

44
One-time Setup
55
^^^^^^^^^^^^^^

doc/installation_instructions/platform/pml-scylla.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
PML Scylla
2-
----------
1+
Scylla (PML)
2+
------------
33

44
.. warning::
55
As of September 2024, the software stack on Scylla is still being finalized.

doc/installation_instructions/site-install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ from source with the following steps replacing ``COMPILER_VERSION`` and
1212
module use -a /lus/scratch/smartsim/local/modulefiles
1313
module load cudatoolkit/11.8 cudnn smartsim-deps/COMPILER_VERSION/SMARTSIM_VERSION
1414
pip install smartsim
15-
smart build --skip-backends --device gpu [--onnx]
15+
smart build --skip-backends --device gpu

0 commit comments

Comments
 (0)