33
44### Prerequisites
55- Python>=3.11.0,<3.14.0
6+ - Git and curl
67- Ubuntu-24.04 for Blackwell GPUs
78
89Below are installation methods for different operating systems.
@@ -14,36 +15,40 @@ Below are installation methods for different operating systems.
1415| macOS | ❌️ | ✅️ | ❌️ |
1516
1617### From Source
17- #### For Linux/WSL (GPU):
18- Note: If you are using DGX Spark, please refer to the Docker installation section
18+
19+ The source install script installs ` uv ` if needed, creates ` .venv ` , installs
20+ Parallax, and builds the ` vllm-rs ` frontend binary into ` .venv/bin ` .
21+
1922``` sh
2023git clone https://github.com/GradientHQ/parallax.git
2124cd parallax
22- pip install -e ' .[gpu]'
25+ ./install.sh
26+ source .venv/bin/activate
2327```
2428
25- #### For macOS (Apple silicon):
26-
27- We recommend macOS users to create an isolated Python virtual environment before installation.
29+ The script automatically installs ` mac ` extras on macOS and ` gpu ` extras on
30+ Linux. You can also choose explicitly:
2831
2932``` sh
30- git clone https://github.com/GradientHQ/parallax.git
31- cd parallax
33+ # Linux/WSL GPU
34+ ./install.sh --extras gpu
3235
33- # Enter Python virtual environment
34- python3 -m venv ./venv
35- source ./venv/bin/activate
36-
37- pip install -e ' .[mac]'
36+ # macOS Apple silicon
37+ ./install.sh --extras mac
3838```
3939
40- Next time to re-activate this virtual environment, run ``` source ./venv/bin/activate ``` .
41-
42- #### Extra step for development:
40+ For development dependencies:
4341``` sh
44- pip install -e ' .[dev]'
42+ ./install.sh --extras gpu,dev
43+ # or
44+ ./install.sh --extras mac,dev
4545```
4646
47+ To use a specific supported Python version, pass ` --python ` , for example
48+ ` ./install.sh --python 3.12 ` .
49+
50+ Next time to re-activate this virtual environment, run ``` source .venv/bin/activate ``` .
51+
4752### Windows Application
4853[ Click here] ( https://github.com/GradientHQ/parallax_win_cli/releases/latest/download/Parallax_Win_Setup.exe ) to get latest Windows installer.
4954
0 commit comments