Skip to main content

get_gpu

get_gpu is a Python package that simplifies GPU management in PyTorch projects. It helps users activate a GPU (if available) and move data to GPU memory for faster training and inference.


Features

  • Automatically detect and use the GPU if available, else fallback to CPU.
  • Transfer tensors or datasets to the selected device.
  • Wrap PyTorch DataLoader to seamlessly move data to the GPU during iteration.

Installation

Install the package directly from PyPI:

pip install get-gpu

Metadata

Release files for gpu-active 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gpu-active 0.1.1
File Size Uploaded
gpu-active-0.1.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gpu-active 0.1.1
File Interpreter ABI Platform
gpu_active-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / gpu-active-0.1.1.tar.gz

Download URL gpu-active-0.1.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
35a8231803bc87bc5c27922f0710c99b08aa18f2a82b28b07cd1fc58a9441dd7
BLAKE2b-256 checksum
How to use checksums
00a46a01b0711d5bb91b5fe01e7d3094280d23a946fe31f06480ee37421ff8c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / gpu_active-0.1.1-py3-none-any.whl

Download URL gpu_active-0.1.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a2b21a23f8e3ede33994fe72505f19832d86ece3dc1bfb110bd55827adb7b29
BLAKE2b-256 checksum
How to use checksums
8802b9a70903beb59af2fcc08f12fb83744958561c3d8e1e05b1b6ae865d46a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page