Skip to main content

bananamendy

CLI and persistent OpenAI-compatible server for local CPU inference on the BananaMind-2 chat checkpoints, on top of the Rust core bananamendr. No PyTorch at runtime.

uv pip install bananamendy

bananamendy pull nano                      # into the Hugging Face cache
bananamendy models                         # what is cached locally
bananamendy info                           # architecture facts
bananamendy chat --prompt "Why is the sky blue?"
bananamendy chat                           # REPL
bananamendy generate --prompt "Once upon a time"
bananamendy serve                          # OpenAI-compatible on 127.0.0.1:8377

Point any OpenAI client at it:

curl http://127.0.0.1:8377/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model": "nano", "messages": [{"role": "user", "content": "Hi"}], "stream": true}'

Implemented: GET /v1/models, POST /v1/chat/completions, POST /v1/completions (both with SSE streaming), GET /health. Sampling parameters left out of a request fall back to your config, so the server and the CLI behave identically.

Configuration is TOML in the platformdirs location (bananamendy init_config writes it; bananamendy config shows the effective values), overridable with BANANAMENDY_* environment variables.

Weights live in the ordinary Hugging Face cache — HF_HOME / HF_HUB_CACHE are respected, and a checkpoint you already have is not downloaded twice. Aliases nano, mini and pro expand to the BananaMind/BananaMind-2-*-Chat repos; any repo id or local directory works too.

Full documentation: https://github.com/twardoch/bananamend

License

Apache-2.0

Download files

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

Source Distribution

bananamendy-1.0.3.tar.gz (42.2 kB view details)

Uploaded Source

Built Distribution

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

bananamendy-1.0.3-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file bananamendy-1.0.3.tar.gz.

File metadata

  • Download URL: bananamendy-1.0.3.tar.gz
  • Upload date:
  • Size: 42.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bananamendy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 2ae2f36f7f178d39ad7a77741f1ac70a9209ad1239845d88720b3ad7df0fe111
MD5 13c1619eda0775578ce2cefa2c1a3600
BLAKE2b-256 748b5e94284824f4234a87ac2be74a1ccb2402738d7d31254ed495875b650da0

See more details on using hashes here.

File details

Details for the file bananamendy-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: bananamendy-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bananamendy-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1187144bc50174779275975c6420edcd7c75e4656a43a2e39ecd56c9c4ffe99
MD5 c56224c0c2a3960631fac4c1b4a10d52
BLAKE2b-256 0431a694320d1c9e8b42f9e66f839a6561ef6f597153cd5d5d2267ffd5cab5d6

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 Sentry Error logging StatusPage Status page