GPU Buffers
Note
This package is experimental.
GPU-backed raw storage and compression helpers (experimental).
Raw storage
Untyped GPU/CPU storage with a simple bump allocator.
- class RawBuffer(size: int, device: str | device = 'cpu')
Bases:
objectLinear byte storage with explicit allocation tracking.
Allocate
sizebytes ondevice.- Parameters:
size – Total storage size in bytes.
device – Torch device for the underlying storage.
Utilities
Torch dtype helpers for GPU buffer compression.
Compression methods
GPU compression method registry.