Directories
¶
| Path | Synopsis |
|---|---|
|
Package chat renders a conversation into the exact prompt string a model's chat template expects — no Jinja engine.
|
Package chat renders a conversation into the exact prompt string a model's chat template expects — no Jinja engine. |
|
cmd
|
|
|
gate
command
Package main implements `gate` — one runner over `go test -json` for the tallying gates and censuses that used to be six separate shell/Python scripts (QUEUE E8).
|
Package main implements `gate` — one runner over `go test -json` for the tallying gates and censuses that used to be six separate shell/Python scripts (QUEUE E8). |
|
prequant
command
Command prequant builds a goinfer prequant bundle (.giw) from a GGUF model.
|
Command prequant builds a goinfer prequant bundle (.giw) from a GGUF model. |
|
serve
command
Command serve is goinfer's pure-Go OpenAI/Anthropic-compatible inference server.
|
Command serve is goinfer's pure-Go OpenAI/Anthropic-compatible inference server. |
|
Package constrain implements constrained / structured decoding: a logit mask that forces a language model's output to satisfy a grammar (e.g.
|
Package constrain implements constrained / structured decoding: a logit mask that forces a language model's output to satisfy a grammar (e.g. |
|
cuda
module
|
|
|
Package decoder runs autoregressive, decoder-only transformer language models as a pure-Go forward pass.
|
Package decoder runs autoregressive, decoder-only transformer language models as a pure-Go forward pass. |
|
demo
|
|
|
chat
command
Command chat is goinfer's interactive pure-Go demo REPL (see internal/chatapp).
|
Command chat is goinfer's interactive pure-Go demo REPL (see internal/chatapp). |
|
gemma
command
Command gemma is a pure-Go demo CLI that streams a local decoder-only LLM's completion to stdout (see internal/gemmaapp).
|
Command gemma is a pure-Go demo CLI that streams a local decoder-only LLM's completion to stdout (see internal/gemmaapp). |
|
gemma-web
command
Command gemma-web serves a local, single-page web chat GUI for a decoder LLM checkpoint running on aikit's pure-Go decoder.
|
Command gemma-web serves a local, single-page web chat GUI for a decoder LLM checkpoint running on aikit's pure-Go decoder. |
|
agent
module
|
|
|
gpu
module
|
|
|
internal
|
|
|
chatapp
Command chat is goinfer's interactive demo: a terminal REPL around a local decoder-only LLM running on the pure-Go decoder — no cgo, no Python, no model download step (in the embed build the model ships *inside* the binary).
|
Command chat is goinfer's interactive demo: a terminal REPL around a local decoder-only LLM running on the pure-Go decoder — no cgo, no Python, no model download step (in the embed build the model ships *inside* the binary). |
|
gemmaapp
Command gemma is a demo CLI that runs a local decoder-only LLM through aikit's pure-Go decoder and streams the completion to stdout.
|
Command gemma is a demo CLI that runs a local decoder-only LLM through aikit's pure-Go decoder and streams the completion to stdout. |
|
giw
Package giw frames a prequant "goinfer weights" bundle: the serialized, already-quantized decoder weights (decoder.SerializeWeights) plus a tiny metadata-only GGUF carrying the tokenizer (the source GGUF truncated at the tensor-data boundary — ~MBs, no weights).
|
Package giw frames a prequant "goinfer weights" bundle: the serialized, already-quantized decoder weights (decoder.SerializeWeights) plus a tiny metadata-only GGUF carrying the tokenizer (the source GGUF truncated at the tensor-data boundary — ~MBs, no weights). |
|
prequant
Package prequant builds a goinfer prequant bundle (.giw) from a GGUF model: it loads the model at a fixed quant, streams the already-quantized resident weights to disk, and pairs them with a metadata-only GGUF (the source truncated at the tensor-data boundary) that carries the tokenizer.
|
Package prequant builds a goinfer prequant bundle (.giw) from a GGUF model: it loads the model at a fixed quant, streams the already-quantized resident weights to disk, and pairs them with a metadata-only GGUF (the source truncated at the tensor-data boundary) that carries the tokenizer. |
|
pullcmd
Package pullcmd is the `pull` subcommand shared by the goinfer binaries.
|
Package pullcmd is the `pull` subcommand shared by the goinfer binaries. |
|
serveapp
Command serve is an OpenAI- and Anthropic-compatible HTTP server for goinfer models: pure stdlib net/http, no dependencies.
|
Command serve is an OpenAI- and Anthropic-compatible HTTP server for goinfer models: pure stdlib net/http, no dependencies. |
|
servecheck
Package servecheck drives a running goinfer server through the conversation a HARNESS would, over the real routes, and prints a per-feature verdict with a number.
|
Package servecheck drives a running goinfer server through the conversation a HARNESS would, over the real routes, and prints a per-feature verdict with a number. |
|
metal
module
|
|
|
Package pull fetches a GGUF checkpoint from HuggingFace onto local disk.
|
Package pull fetches a GGUF checkpoint from HuggingFace onto local disk. |
|
Package tokenizer implements the BPE tokenizers the decoder LLMs ship, loaded from the HF tokenizer.json.
|
Package tokenizer implements the BPE tokenizers the decoder LLMs ship, loaded from the HF tokenizer.json. |
Click to show internal directories.
Click to hide internal directories.
