This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
GrillyOptimum (Alpha not production ready)
HuggingFace Optimum-compatible Vulkan backend — optional grilly extension.
Features
- from_pretrained() — load any HF Llama model directly
- generate() — HuggingFace-compatible generation interface
- Pipeline integration — use with
transformers.pipeline("text-generation") - Vulkan acceleration — native fp16 inference on RDNA2 GPUs
Quick Start
pip install grillyoptimum
from grillyoptimum import VulkanModelForCausalLM
from transformers import AutoTokenizer
model = VulkanModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-3B-Instruct")
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.2-3B-Instruct")
# HF-style generation
input_ids = tokenizer.encode("Hello, world!", return_tensors="np")
output = model.generate(input_ids, max_new_tokens=100, temperature=0.7)
print(tokenizer.decode(output[0]))
# Pipeline
from grillyoptimum.pipeline import create_text_generation_pipeline
pipe = create_text_generation_pipeline("meta-llama/Llama-3.2-3B-Instruct")
result = pipe("Explain quantum computing")
print(result[0]["generated_text"])
Requirements
- Python 3.12+
- grilly >= 0.4.0
- grillyinference >= 0.1.0
- transformers
License
MIT
Metadata
Release files for grillyoptimum 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grillyoptimum-0.1.0.tar.gz | 14.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grillyoptimum-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.5 kB
Release files / grillyoptimum-0.1.0.tar.gz
| Download URL | grillyoptimum-0.1.0.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f89cb417c7297e1495d5c5c9d1334dd36d87941c22f45f949eef3b1e263afa3c
|
|
BLAKE2b-256 checksum How to use checksums |
ed560009362bfbbff45a3b7640e8961f97b99d00b5e9d0ebf0e6199382cea80d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Feb 22, 2026.
Transparency logRelease files / grillyoptimum-0.1.0-py3-none-any.whl
| Download URL | grillyoptimum-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62729e3c36ce2275c07d1251c15c689ba0c80ede80d8d1c4fda84f1a3285d23c
|
|
BLAKE2b-256 checksum How to use checksums |
5a5f646ad503cf889b25ea63693cb586539353528649ee2d0170462d4d33c1fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Feb 22, 2026.
Transparency log