Skip to main content

Chat with local GGUF models (no llama.cpp).

Project description

Convlit (GGUF Chat Runner — No llama.cpp)

Chats with a local .gguf model without using llama.cpp / llama-cpp-python.

This runner:

  • Parses GGUF directly (mmap)
  • Keeps the GGUF file mapped while running (so tensors can safely share the mmap)
  • Dequantizes common GGML K-quants (Q4_K, Q5_K, Q6_K) and IQ4_XS
  • Computes RoPE frequencies from GGUF metadata (llama.rope.freq_base / llama.rope.dimension_count)
  • Runs a minimal Llama-3.x style model in PyTorch (CPU)

Setup

Install (PyPI)

python -m pip install convlit

Install (from source)

python -m pip install -r requirements.txt

Run

convlit --model .\ai.gguf

In-chat commands:

  • /help, /reset, /system <text>, /save <path>, /exit

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

convlit-0.1.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

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

convlit-0.1.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file convlit-0.1.1.tar.gz.

File metadata

  • Download URL: convlit-0.1.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for convlit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ec1686bbe8b9920896cf4566bf9675d69df05e8a0b6adae1dd8cbaa2ed2c5aae
MD5 fe05de7209565db1435572e773565c21
BLAKE2b-256 61eb7b76ed7c3d2474110cbc772b35a6de8c340c28f6d03a9a881aa542c861b1

See more details on using hashes here.

File details

Details for the file convlit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: convlit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.0

File hashes

Hashes for convlit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4de1bbf6d3d0fcb94e4c560746ddcc526ee19e38e784020905f2014ae00ac0e8
MD5 dabf207dc120bf40245fbaa901cc19c2
BLAKE2b-256 335cd5a62f7f7667c177e18150752ab7bfb9ddddee10d7002ce24b156a9ccb38

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