You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.rst
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,7 @@
5
5
Welcome to ngc-learn's documentation!
6
6
=====================================
7
7
8
-
**ngc-learn** is a Python library for building, simulating, and analyzing
9
-
biomimetic and NeuroAI computational models, arbitrary predictive processing/coding models,
10
-
spiking neural networks, and general dynamical systems. This toolkit is built on top of
11
-
`JAX <https://github.com/google/jax>`_ and is distributed under the 3-Clause BSD license.
8
+
**ngc-learn** is a Python library for building, simulating, and analyzing biomimetic and NeuroAI computational models, arbitrary predictive processing/coding models, spiking neural networks, and general dynamical systems. This toolkit is built on top of `JAX <https://github.com/google/jax>`_ and is distributed under the 3-Clause BSD license.
in its entirety (including its supporting utilities),
8
-
requires that you ensure that you have installed the following base dependencies in
9
-
your system. Note that this library was developed and tested on Ubuntu 22.04 (and earlier versions on 18.04/20.04).
10
-
Specifically, ngc-learn requires:
5
+
<i>Setup:</i> <ahref="https://github.com/NACLab/ngc-learn">NGC-Learn</a>, in its entirety (including its supporting utilities), requires that you ensure that you have installed the following base dependencies in your system. Note that this library was developed and tested on Ubuntu 22.04 (with much earlier versions on Ubuntu 18.04/20.04).
* Scikit-learn (>=1.6.1), (for `ngclearn.utils.patch_utils` and `ngclearn.utils.density`)
18
14
19
-
Note that the above requirements are taken care of if one installs ngc-learn
20
-
through either `pip`. One can either install the CPU version of ngc-learn (if no JAX is
21
-
pre-installed or only the CPU version of JAX is installed currently) via
15
+
Note that the above requirements are taken care of if one installs NGC-Learn through either `pip`. One can either install the CPU version of NGC-Learn (if no JAX is pre-installed or only the CPU version of JAX is currently installed) via:
22
16
```console
23
17
$ pip install ngclearn
24
18
```
25
19
26
-
or install the GPU version of ngc-learn by first installing the
version of JAX</a> before running the above pip command.
20
+
or install the GPU version of NGC-Learn by first installing the <ahref="https://jax.readthedocs.io/en/latest/installation.html">CUDA 12 version of JAX</a> before running the above pip command.
29
21
30
-
Alternatively, one may locally, step-by-step (see below), install and setup
31
-
ngc-learn from source after pulling from the repo.
22
+
Alternatively, one may locally, step-by-step (see below), install and setup NGC-Learn from source after pulling from the repo.
32
23
33
-
Note that installing the official pip package without any form of JAX installed
34
-
on your system will default to downloading the CPU version of ngc-learn (see
35
-
below for installing the GPU version).
24
+
Note that installing the official pip package without any form of JAX installed on your system will default to downloading the CPU version of NGC-Learn (see below for installing the GPU version).
36
25
37
26
## Install from Source
38
27
39
-
0. Install ngc-sim-lib first (as an editable install); visit the repo
40
-
https://github.com/NACLab/ngc-sim-lib for details.
28
+
1. Install NGC-Sim-Lib first (as an editable install); visit the repo https://github.com/NACLab/ngc-sim-lib for details.
on the official JAX page to properly install the CUDA 11 or 12 version.
36
+
3. (<i>Optional</i>; only for GPU version) Install JAX for either CUDA 12 , depending on your system setup. Follow the <ahref="https://jax.readthedocs.io/en/latest/installation.html">installation instructions</a> on the official JAX page to properly install the CUDA 11 or 12 version.
52
37
53
-
<!--
54
-
3. (<i>Optional</i>) Install, a pre-package installation step (for only the
55
-
non-ngclearn dependencies), the base requirements (and a few extras for building
56
-
the docs) with:
57
-
```console
58
-
$ pip install -r requirements.txt
59
-
```
60
-
-->
61
-
62
-
3. Install the ngc-learn package via:
38
+
4. Install the NGC-Learn package via:
63
39
```console
64
40
$ pip install .
65
41
```
@@ -68,22 +44,21 @@ or, to install as an editable install for development, run:
68
44
$ pip install -e .
69
45
```
70
46
71
-
If the installation was successful, you should see the following if you test
72
-
it against your Python interpreter, i.e., run the <code>$ python</code> command
73
-
and complete the following sequence of steps as depicted in the screenshot below:<br>
If the installation was successful, you should see the following if you test it against your Python interpreter, i.e., run the <code>$ python</code> command and complete the following sequence of steps as depicted in the screenshot below:<br>
75
48
76
49
```console
77
50
Python 3.11.4 (main, MONTH DAY YEAR, TIME) [GCC XX.X.X] on linux
78
51
Type "help", "copyright", "credits" or "license" for more information.
79
52
>>> import ngclearn
80
53
>>> ngclearn.__version__
81
-
'2.0.2'
54
+
'3.0.0'
82
55
```
83
56
57
+
<!--
84
58
<i>Note</i>: If you do not have a JSON configuration file in place (see tutorials
85
59
for details) locally where you call the import to ngc-learn, a warning will pop
86
60
up containing within it "<i>UserWarning: Missing file to preload modules from.</i>";
87
61
this still means that ngc-learn installed successfully but you will need to
88
62
point to a JSON configuration when building projects with ngc-learn.
0 commit comments