Skip to main content

glyd-gpu

The GPU half of Glyd: a bf16 model's weights held compressed in GPU memory, bit for bit, and multiplied from there (about a third less GPU memory), for PyTorch and transformers, and as a vLLM quantization method.

pip install "glyd[gpu]"      # glyd.from_pretrained, glyd.fit
pip install "glyd[vllm]"     # vllm serve MODEL --quantization glyd; glyd run MODEL

This package is what those two extras install: glyd[gpu] is glyd-gpu[gpu] (PyTorch, transformers, accelerate) and glyd[vllm] is glyd-gpu[vllm] (vLLM 0.30); installed on its own it needs none of them. It ships as compiled wheels for Linux with an NVIDIA GPU (Ampere or later; CUDA 12 or 13 builds of PyTorch). Import name: glyd_gpu; python -m glyd_gpu has fit, pack and verify.

C, C++, Rust

The wheel carries the GPU libraries (libglyd_gpu_cuda12.so and libglyd_gpu_cuda13.so: they need only the NVIDIA driver, and are built with the CUDA 12 and 13 runtimes linked in) and their C header, glyd_gpu.h, in the package's directory:

python -c "import glyd_gpu, os; print(os.path.dirname(glyd_gpu.__file__))"

For a program that multiplies by the matrices of a model saved by glyd pack (or glyd.save_pretrained), or decodes them back to bf16 bit for bit, without Python: the functions the header declares take the arrays of a pack as the save names them, passed as they are, and choose how to run each product themselves. Linking: gcc prog.c -I DIR -I CUDA/include -L DIR -lglyd_gpu_cuda13 -L CUDA/lib64 -lcudart -Wl,-rpath,DIR.

License: Business Source License 1.1 (LICENSE). Its additional use grant covers personal, educational, research and other non-commercial production use; commercial production use needs a separate license from the licensor.

Metadata

Release files for glyd-gpu 0.27.0

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

Built distributions (wheels)

Table of built distributions (wheels) for glyd-gpu 0.27.0
File Interpreter ABI Platform
glyd_gpu-0.27.0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
glyd_gpu-0.27.0-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details

Total release size: 32.5 MB

Release files / glyd_gpu-0.27.0-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL glyd_gpu-0.27.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 16.4 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
1158aad78cfffda69f51bea985042cad7a31527271c3ea6af4e732e54485ad7d
BLAKE2b-256 checksum
How to use checksums
bb2e34d0848973aa8eb404a50300d3f5a31069f8d9a65ae85150ed9c31a2bb5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.

Transparency log

Release files / glyd_gpu-0.27.0-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL glyd_gpu-0.27.0-cp310-abi3-manylinux_2_28_aarch64.whl
Size 16.1 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
e02c3f64f0e4a03045d13941e962e22a2e0345de2e5e5408c0a1b60209c5797c
BLAKE2b-256 checksum
How to use checksums
3b9d03ab486ad6c4298cece6a883865f20c408037b3868d5daf5bdf28b7092fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.

Transparency log
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