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.

Metadata

Release files for gks 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gks 0.1.2
File Size Uploaded
gks-0.1.2.tar.gz 31.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for gks 0.1.2
File Interpreter ABI Platform
gks-0.1.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details

Total release size: 66.5 MB

Release files / gks-0.1.2.tar.gz

Download URL gks-0.1.2.tar.gz
Size 31.1 MB
Tags Source
SHA-256 checksum
How to use checksums
9516e6f57817046ea4fffc0b8ced121efc7c61aac71855294e2e2d0242e56a63
BLAKE2b-256 checksum
How to use checksums
ba1e9cc869558a3ffcd4e0bd4162fb27ad93efffd16ead69178124f0e5bdc081
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / gks-0.1.2-py3-none-win_amd64.whl

Download URL gks-0.1.2-py3-none-win_amd64.whl
Size 35.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
38510293b9cc94c22d6b7124639b58244eee264f566d583012d0b8690f3d072f
BLAKE2b-256 checksum
How to use checksums
481ef97472b47e1b2c87bd933912524c79e19320a473e401e0104f8ef4cbf48f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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