Skip to main content

gks

One package for working with GGUF models locally: an OpenAI-compatible LLM server, a diffusion image/video/audio generator and a GGUF metadata/tensor editor with a built-in quantizer — three panels on one GUI, powered by one unified engine compiled in a single build on top of gk, an independent tensor library. There is no ggml anywhere in the tree.

Install

pip install gks

The build compiles the bundled engine (CPU by default, Metal on macOS). GPU backends are opt-in at install time:

GKS_CUDA=1 pip install gks     # NVIDIA
GKS_HIP=1 pip install gks      # AMD ROCm
GKS_VULKAN=1 pip install gks   # Vulkan

Each switch drives the whole engine — the server, the diffusion runtime and the multimodal projectors all evaluate their graphs on the one gk build.

Run

gks                 # unified GUI — Server / Diffuser / Editor panels
python -m gks       # same thing

Each panel also runs on its own, exactly like the standalone gguf-server / gguf-diffusion / gguf-editor packages did:

gks server          # LLM server GUI
gks diffuser        # image generation GUI
gks editor          # GGUF editor GUI

And the engines are directly scriptable from the CLI:

gks server engine -- --model model.gguf --port 8888
gks diffuser engine -- -m sd.gguf -p "a lighthouse at dusk" -o out.png
gks editor quantize -m in.gguf -o out-q4_k.gguf --type q4_k
gks editor devices

Layout

vendor/engine/           the unified gks engine (one CMake build)
  gk/                    the gk compute kernels (CPU + optional GPU backends)
  gk/compat/             the historical ggml C API, implemented on gk
  src/ common/ mtmd/     GGUF LLM runtime
  app/                   the gguf-server HTTP server
  diffusion/             diffusion runtime + CLI
  quantizer/             quantizer shared library (its own quant kernels)
src/gks/                 the Python package
  server/ diffuser/ editor/   the three panels (backend + web frontend each)
  gui.py static/         the unified 3-panel GUI shell

Nothing above gk/compat/ knows gk exists: the runtimes include the same ggml.h / ggml-backend.h / gguf.h headers and call the same functions they always did, while graph building, allocation, scheduling and the kernels themselves are gk's. See vendor/engine/README.md for the engine's own build options.

The editor's quantizer stays independent — its qz_* codec is compiled both into the quantizer library the editor drives and into gk itself, so the encoder and the runtimes' decoder can never disagree about a GGUF block.

Download files

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

Source Distribution

gks-0.0.5.tar.gz (39.4 MB view details)

Uploaded Source

Built Distribution

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

gks-0.0.5-py3-none-win_amd64.whl (28.5 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file gks-0.0.5.tar.gz.

File metadata

  • Download URL: gks-0.0.5.tar.gz
  • Upload date:
  • Size: 39.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for gks-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6c713ce853b9c42a0eaaf27f497cc87b952d8c827dcaaef9173d43202c438123
MD5 1944c5db405a6832c79ecadd15aaca93
BLAKE2b-256 d0e6cdbc3b26e2f02bf2c8f8fbe68396297e5e43ba24a6749bbda3d5f76c78f2

See more details on using hashes here.

File details

Details for the file gks-0.0.5-py3-none-win_amd64.whl.

File metadata

  • Download URL: gks-0.0.5-py3-none-win_amd64.whl
  • Upload date:
  • Size: 28.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for gks-0.0.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 233dd3650cfb681ccdf7aae5d1f9874f88a639e3fd5df1be159da2c8e9637b1b
MD5 35b5a7ae9eb685ea376a97cd3617bbf7
BLAKE2b-256 c9fd5880ea493cb904c54da340c04c55d9ad1b02a6978c972fbad4468d4c4d38

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