Published April 7, 2026
| Version 0.22.0
Software
Open
clEsperanto/pyclesperanto: 0.22.0
Authors/Creators
- 1. Data Science Center ScaDS.AI, Uni Leipzig
- 2. German Bioimaging e.V.
- 3. ETH Zurich
- 4. Walter and Eliza Hall Institute of Medical Research
Description
New Backend support
clEsperanto now comes with support for CUDA 12 and Metal. While OpenCL remain the default backend, you can now install pyclesperanto with additional backend
pip install pyclesperanto // only install opencl
pip install pyclesperanto[cuda] // not available in MacOS
pip install pyclesperanto[metal] // only available in MacOS
pip install pyclesperanto[all] // install all possible configuration
and you can select and choose you backend at the start of the import:
import pyclesperanto as cle
cle.list_avaiable_backend()
>>> ['opencl', 'cuda']
cle.select_backend("cuda")
DLPack support
And now the Array object support DLPack which allows both way copy-free interoperability with other GPU library that uses same backend and support the same protocol (e.g. cupy, torch, ...)
import pyclesperanto as cle
import cupy as cp
cle.select_backend("cuda")
cp_array = cp.random.random((10,10), dtype=cp.float32)
cle_array = cle.from_dlpack(cp_array)
Full Changelog: https://github.com/clEsperanto/pyclesperanto/compare/0.21.4...0.22.0
Files
clEsperanto/pyclesperanto-0.22.0.zip
Files
(68.9 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:82c392c97ad2cfccc8173c27f9980356
|
68.9 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/clEsperanto/pyclesperanto/tree/0.22.0 (URL)
Software
- Repository URL
- https://github.com/clEsperanto/pyclesperanto