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/source/guide/install/install.md
+5-29Lines changed: 5 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -8,49 +8,25 @@ EvoX is available at Pypi and can be installed via:
8
8
pip install evox
9
9
```
10
10
11
-
To install EvoX with optional dependencies:
12
-
13
-
```bash
14
-
pip install evox[<feature1>,<feature2>]
15
-
```
16
-
17
-
available features are `gymnasium`, `neuroevolution`, `envpool`, `distributed`, and `full` which concludes all features.
18
-
For example, to install EvoX with all features, do:
19
-
20
-
```bash
21
-
pip install evox[full]
22
-
```
23
-
24
11
## Install JAX with accelerator support
25
12
26
-
`EvoX` relies on `JAX` to provide hardware acceleration.
13
+
`EvoX` relies on `torch` to provide hardware acceleration.
27
14
The overall architecture of these Python packages looks like this:
28
15
29
16
```{mermaid}
30
17
stateDiagram-v2
31
-
jaxlibCuda : jaxlib-cuda
18
+
torch : torch
32
19
gpu : NVIDIA GPU
33
20
34
21
direction LR
35
22
36
-
evox --> jax
37
-
jax --> jaxlib
38
-
jax --> jaxlibCuda
39
-
jaxlib --> CPU
40
-
jaxlibCuda --> gpu
23
+
evox --> torch
24
+
torch --> gpu
41
25
```
42
26
43
-
`JAX` itself is pure Python, and `jaxlib` provides the C/C++ code.
44
-
To utilize JAX's hardware acceleration ability, make sure to install the correct `jaxlib` version.
45
-
46
27
To summarize, you will need the follow 3 things to enable accelerator support:
47
28
1. GPU driver
48
29
2. CUDA libraries
49
-
3. The correct jaxlib version (the one with accelerator support).
50
-
51
-
```{seealso}
52
-
For more information, e.g. other platforms, please check out JAX's [official installation guide](https://github.com/google/jax/?tab=readme-ov-file#installation).
53
-
```
54
30
55
31
### CPU only
56
32
@@ -186,7 +162,7 @@ If you see something like this, then you are good to go.
0 commit comments