Skip to main content

set CUDA_VISIBLE_DEVICES in ipython

Project description

# cuda-device-ipython-magic
A ipython-magic for set CUDA_VISIBLE_DEVCIES in ipython

## Usage

```
In []: %load_ext cuda_device

In []: %CUDA_VISIBLE_DEVICES 0,1
```

## Installation

```
pip install cuda-devices-ipython-magic
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cuda-device-ipython-magic, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size cuda_device_ipython_magic-0.1.1-py3-none-any.whl (1.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page