Skip to main content

dooms-cpp

Python bindings and command-line tools for dooms.cpp, an inference engine for Apple Silicon that runs language, vision-language and vision-language-action models on the GPU (Metal) and the Neural Engine (Core ML).

Apple Silicon macOS only (arm64). The wheel bundles the engine's libraries (built with llama.cpp and ggml, MIT); it contains no model weights.

pip install dooms-cpp
dooms pull qwen2.5-0.5b                                   # downloads and verifies a GGUF from its publisher's Hugging Face repository
dooms serve --model ~/.cache/dooms/qwen2.5-0.5b-instruct-q4_k_m.gguf     # OpenAI-compatible API on http://127.0.0.1:8080/v1
import dooms
with dooms.LLM("qwen2.5-0.5b-instruct-q4_k_m.gguf") as llm:              # any text GGUF that llama.cpp loads
    print(llm.chat([{"role": "user", "content": "Name three colours."}], max_new_tokens=48))
    for piece in llm.stream_chat([{"role": "user", "content": "Tell a short story."}], max_new_tokens=200):
        print(piece, end="", flush=True)
  • dooms.LLM: chat templates, streaming, stop strings, seeded sampling, exact token counts (last_generation, count_tokens).
  • dooms.VLM (SmolVLM) and dooms.VLA (SmolVLA) open models converted locally with the repository's converters (dooms pull smolvlm in a source checkout).
  • dooms serve: /v1/chat/completions, /v1/completions (with streaming) and /v1/models, usable from the official openai client.

The import name is dooms. Documentation: docs/USING.md. Licence: Apache-2.0; each model keeps its own licence.

Metadata

Release files for dooms-cpp 0.5.0

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

Built distribution (wheel)

Table of built distributions (wheels) for dooms-cpp 0.5.0
File Interpreter ABI Platform
dooms_cpp-0.5.0-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details

Release files / dooms_cpp-0.5.0-py3-none-macosx_14_0_arm64.whl

Download URL dooms_cpp-0.5.0-py3-none-macosx_14_0_arm64.whl
Size 5.0 MB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
f036cc769c9a796a065065cd84ec43e37be1ed54099e491e18d12ae174114805
BLAKE2b-256 checksum
How to use checksums
c119f0498d5db7c1e197c9823d6d05007cde6141d297c19648a23a3910cdc1e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for dooms-cpp 0.5.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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