cactus

Cactus-Compute/cactus

作者
Cactus-Compute
任务
语音识别
下载量
222
点赞数
10
趋势分
10
许可证
apache-2.0
收录时间
2026/11/8

library_name: cactus-compute license: apache-2.0 tags:

  • text-generation
  • automatic-speech-recognition
  • image-text-to-text

Cactus Compute - Sub-50mb Super Intelligence For Consumer Devices

Cactus runtime

Prebuilt runtime binaries for Needle 3, Whistle and Mirage. One engine runs text, speech and vision locally. Model weights live in their own repositories.

Get started

pip install -U cactus-compute

Use import cactus in Python. The package downloads the matching engine and model weights on first use. See the Python API and source code.

To download a native runner with a model, choose a platform from the table below.

cactus download macos-arm64 --model whistle --out ./runtime
./runtime/macos-arm64/cactus --model ./runtime/macos-arm64/whistle.cact --audio clip.wav

Use --model needle3 or --model mirage for the other models. Omit --model to download binaries alone.

Supported platforms

Release 4.0.0 has 17 target folders under releases/4.0.0. Native runners load .cact weights at runtime. Static libraries include cactus.h for C and C++ applications.

TargetFolderFiles
macOS Apple Siliconmacos-arm64cactus, libcactus.a, cactus.h
Linux x86-64linux-x86_64cactus, libcactus.a, cactus.h
Linux ARM64linux-arm64cactus, libcactus.a, cactus.h
Linux ARMv7linux-armv7cactus, libcactus.a, cactus.h
Linux RISC-Vlinux-riscv64cactus, libcactus.a, cactus.h
Linux MIPS32ellinux-mipselcactus, libcactus.a, cactus.h
Windows x64windows-x86_64cactus.exe, libcactus.a, cactus.h
Windows ARM64windows-arm64cactus.exe, libcactus.a, cactus.h
Android ARM64android-arm64cactus, libcactus.a, cactus.h
Android ARMv7android-armv7cactus, libcactus.a, cactus.h
Android RISC-Vandroid-riscv64cactus, libcactus.a, cactus.h
iOS ARM64ios-arm64libcactus.a, cactus.h
iOS Simulator ARM64ios-sim-arm64libcactus.a, cactus.h
tvOS ARM64tvos-arm64libcactus.a, cactus.h
watchOS ARM64watchos-arm64libcactus.a, cactus.h
Browser and Node.jswasmcactus.js, cactus.wasm, cactus.h
WASI Preview 2wasm-componentcactus.component.wasm, cactus.wit

The Python runtime wheels cover macOS ARM64 and x86-64, Linux ARM64 and x86-64 with glibc or musl, and Windows ARM64 and x64. These contain the shared library. Install cactus-compute from PyPI to use them through the Python API.

The WASI component exports cactus:runtime/engine@4.0.0. It is also available as the signed OCI artifact ghcr.io/cactus-compute/cactus-runtime-component:4.0.0.

Weights and releases

Release artifacts have SHA-256 checksums in the manifest. For reproducible downloads, use revision 1a028f5a3972b67dd8d8752f882113d475e7ec4c or tag v4.0.0 and paths under releases/4.0.0/.

See the deployment guide for native integration, browser use and offline setup.

内容来源:Hugging Face 模型卡

在 Hugging Face 查看