Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0rc2

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.0rc2
File Interpreter ABI Platform
glyd_gpu-0.27.0rc2-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
glyd_gpu-0.27.0rc2-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.0rc2-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL glyd_gpu-0.27.0rc2-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
22667581fbe2ebf5e2076b5204ce023fe209a451680bfc5969395eb98fbb5324
BLAKE2b-256 checksum
How to use checksums
10399ac3662c02f2a62cc9df61f6dfad5c8846df959bcff7a3ce9e8bca52c0c3
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.0rc2-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL glyd_gpu-0.27.0rc2-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
d30178580bbdd557262b55379f1c2193ff85a99b78fd5184bf96637ef26379c2
BLAKE2b-256 checksum
How to use checksums
d8e1712fee705483d8458272df09aa30a90ff368c0c298143ad1e7d73656dc01
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