Legate is available from conda on the legate channel.
Note
conda version >= 24.1 required
You will probably also want to install some downstream libraries built on top of Legate, e.g. cuPyNumeric:
Important
Packages are offered for Linux (x86_64 and aarch64) and macOS (aarch64, pip wheels only), supporting Python versions 3.11 to 3.14. Windows is only supported through WSL.
Nightly top-of-tree builds of Legate are available on a separate channel, legate-nightly:
Refer to the nightly docs when using these.
Important
These builds are only lightly validated. Use them at your own risk.
conda automatically installs the right variant for the system: * CPU variant if no NVIDIA GPU is detected * GPU variant if an NVIDIA GPU is detected
To override this behavior and force install a version with GPU support, use the following (with the desired CUDA version):
Legate is also available as a Python wheel. To install the Legate wheel, use the pip package manager:
The Legate wheel comes with GPU support and UCX-based networking support. Similarly to the Conda packages, the Legate wheel will probably be installed alongside downstream libraries, such as cuPyNumeric, which is also available as a wheel:
Important
Packages are offered for Linux (x86_64 and aarch64) and macOS (aarch64, pip wheels only), supporting Python versions 3.11 to 3.14. Windows is only supported through WSL.
Building Legate from source has multiple steps and can involve different dependencies, depending on your system configuration. For the most up to date instructions for the latest source code, see Building Legate from Source.
The following table lists Legate’s supported version range for major dependencies. The listed versions are being tested regularly, and supported by our downloadable packages.
CPU architecture |
|
OS |
|
Compilers |
|
GPU architecture |
Volta and later |
CUDA toolkit |
12.2 and later |
Python |
|
NumPy |
1.22 and later |
You may be able to build Legate from source and run under other configurations, but no guarantees are given that Legate will work properly in that case. We may not actively work to fix any incompatibilities discovered under unsupported configurations, but we accept contributions that fix such incompatibilities.
In particular, if you try to use Legate on Pascal (or earlier) GPUs, there could be issues due to lack of independent thread scheduling. Please report any such issues by opening a bug.
Please install Legate, then run the following command to install a default Jupyter kernel:
If installation is successful, you will see some output like the following:
Legate_SM_GPU is the default kernel name.
This project will download and install additional third-party open source software projects at install time. Review the license terms of these open source projects before use.
For license information regarding projects bundled directly, see Third-party notices.