Tools around Bluebild@EPFL
Project description
bluebild-tools
Tools around Bluebild@EPFL
Installation
pip install bluebild-tools --upgrade
Usage
Check whether CuPy can be used
import bluebild_tools import as bbt
use_cupy = bbt.cupy.is_cupy_available()
You can set the MUST_CUPY environment variable to influence the behavior of the function. With MUST_CUPY unset or set to 0, the puse_cupy with be set to False if CuPy can't be used and set to True if CuPy can be used. If MUST_CUIPY is set to 1, the process will be killed if CuPy is not usable. With MUST_CUPY set to 0, no attempt will be made to use CuPy (i.e. use_cupy will be set to False, always).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bluebild-tools-0.0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for bluebild_tools-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e90989976fad65342916faf5259c2e8a3100ead2b78a0a36e12c84f7c98dd4 |
|
MD5 | 1d8abe0c54867832889cc8daa72f4f5a |
|
BLAKE2b-256 | dfd565f92d50d565d9d4b67d81a8d50f61353d4b4cda4fa11732b0d9750abc23 |