Getting started
API
free_gpu_memory()
set_seed()
Free cached GPU memory for CuPy and PyTorch backends.
This is a best-effort cleanup that silently ignores missing backends or cleanup failures.
None
Set RNG seeds for reproducibility across common backends.
seed (int) – Seed value to set for Python’s random, NumPy, CuPy (if available), and PyTorch.
random