Installation#
For users#
Installation#
The package works with Python 3.11+ and can be installed from both PyPI and/or conda-forge.
To install the package using the pip package manager, run the following command:
$ pip install bluesky-adaptive
To install the package using the conda package manager, run the following command:
$ conda install -c conda-forge bluesky-adaptive
Optional Extras#
bluesky-adaptive is modular — install only what you need by appending one or more extras:
Extra |
Installs |
Notes |
|---|---|---|
|
|
GPU torch by default; pair with |
|
|
GPU torch by default; pair with |
|
|
Transport layer only; pair with |
|
(uv index routing) |
Routes |
|
All backends + |
No dev tooling; will grow as new backends are added |
|
|
For contributors |
PyTorch Acceleration Options#
By default, bluesky-adaptive installs PyTorch with GPU support (~7GB). For environments without GPU support,
or to reduce installation size, you can install a CPU-only version (~900MB) using uv:
$ pip install uv
$ uv pip install bluesky-adaptive[cpu]
This is particularly useful for:
Containerized deployments without GPU access
CI/CD pipelines
Development environments on laptops without NVIDIA GPUs
Edge computing scenarios
Note
The CPU-only installation requires uv, a fast Python package installer.
If you prefer to use standard pip, the default installation will include GPU support.
For conda users who want CPU-only PyTorch:
$ conda install -c conda-forge bluesky-adaptive pytorch cpuonly -c pytorch