Skip to main content

Inference-only runtime for VUAF (Void Ultimatus Architecture Fusion) models.

Project description

vuaf-inference

Inference-only runtime for VUAF (Void Ultimatus Architecture Fusion) models. This is a small Python package that loads and runs trained VUAF checkpoints. Training, dataset tooling, and the full reference implementation are not part of this package.

⚠️ Experimental research project. VUAF is an architecture exploration. Outputs may be incoherent, biased, or wrong. Not for production.

Install

pip install vuaf-inference

# Optional: load checkpoints directly from the Hugging Face Hub
pip install 'vuaf-inference[hub]'

You also need PyTorch with a working GPU build. VUAF is GPU-only and will refuse to run on CPU.

# AMD ROCm (Linux + Windows for supported cards)
pip install --index-url https://download.pytorch.org/whl/rocm6.x torch

# NVIDIA CUDA
pip install --index-url https://download.pytorch.org/whl/cu121 torch

Usage

from vuaf_inference import (
    GenConfig, build_chat_prompt, generate, load_pretrained,
)

# Local directory or "user/repo" Hub id (requires the [hub] extra)
model, tokenizer = load_pretrained("Sqersters/vuaf-pico")

prompt = build_chat_prompt(
    tokenizer=tokenizer,
    category="stories",
    system=None,
    user_message="Once upon a time",
)
for tok_id, loop_step in generate(
    model, tokenizer, prompt, GenConfig(max_new_tokens=64)
):
    print(tokenizer.decode([tok_id]), end="", flush=True)

Model card

See Sqersters/vuaf-pico on Hugging Face for architecture details, limitations, and citation info.

License

Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vuaf_inference-0.6.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vuaf_inference-0.6.0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file vuaf_inference-0.6.0.tar.gz.

File metadata

  • Download URL: vuaf_inference-0.6.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for vuaf_inference-0.6.0.tar.gz
Algorithm Hash digest
SHA256 4869100b74219750817d0feae67c2cd6be677840a1daae001c6e9cf00cd123fe
MD5 f7a213ff50691402683a5ebe3fc7715c
BLAKE2b-256 7eb0eb16cbc6b5e86d16979f06c32e0038a391778849ddcfba37b0205f5bf826

See more details on using hashes here.

File details

Details for the file vuaf_inference-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: vuaf_inference-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for vuaf_inference-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b304238621afc07b291c4037aae667cb894542c756b4cdb04515222e3b365da7
MD5 22d98de3eec85946cb965136e03d261e
BLAKE2b-256 4b2cc17535f78dce563c336b5c60aef20896c21e92537fb74318e9837c51bbd1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page