Skip to main content

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


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)

Uploaded Source

Built Distribution

bluebild_tools-0.0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page