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, speech (Whisper, Kokoro text to speech) 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
dooms pull whisper-large-v3-turbo                         # speech to text, ready converted (whisper-tiny: 69 MB)
dooms pull kokoro                                         # text to speech, 54 voices
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)

stt = dooms.Whisper("~/.cache/dooms/whisper-large-v3-turbo")
print(stt.transcribe("meeting.m4a"))                                     # any file Core Audio decodes
tts = dooms.TTS("~/.cache/dooms/kokoro")                                 # pip install "misaki[en]" for English text
dooms.save_wav("hello.wav", tts.speak("Hello from dooms.cpp.", voice="af_heart"), tts.sample_rate)
  • 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.Whisper (speech to text) and dooms.TTS (Kokoro-82M) run the files dooms pull downloads (converted, SHA-256 pinned, with the models' licences).
  • 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.1

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.1
File Interpreter ABI Platform
dooms_cpp-0.5.1-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details

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

Download URL dooms_cpp-0.5.1-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
14019cdfeca5c02d9a89654fe4ca7b7d6966b24f12c28664f062fe5f2a5f2353
BLAKE2b-256 checksum
How to use checksums
bebe0ae331fd397690bf5707f2c4d0981fc47b420cf8ef7251f4a641e47929ad
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.1

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