> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Golang DL/ML Primitives Installation and Usage Guide
- URL: https://www.stirup.si/golang-dl-ml-primitives-installation-and-usage-guide-1df7bfd1/
- Published: 2026-10-14T18:14:20.000Z
- Updated: 2026-10-14T18:14:20.000Z
- Description: The Golang DL/ML primitives project provides tools for installing and running diffusion, vision, and multimodal inference models with support for GPU acceleration and local web server interaction.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## Installation and Basic Usage

To install and begin using the Golang DL/ML primitives, run `go install github.com/computerex/dlgo/cmd/dlgo@latest`. For basic model interaction, use `dlgo run model.gguf`, and add `--gpu` for GPU acceleration. A web server with a UI can be started with `dlgo server --model model.gguf --gpu`. The repository supports vision and multimodal inference through a local mmproj vision projector and a compatible text GGUF backbone. For CPU-based diffusion tasks, build with `go build -ldflags "-linkmode internal" -o dlgo-image ./cmd/dlgo-image`, then use flags to specify models and generate images. Vulkan-accelerated DiT inference is also supported with the `--gpu` flag. The tool validates dimensions and estimates peak memory before generation. For fast startup, run `.ench/systemone/playground.ps1` or use `-Size 9b` for a larger model. Visit http://localhost:8080 to explore models, edit states, and inspect probabilities, latency, and VRAM status.

## Diffusion Image Generation Pipeline

The **Diffusion Image Generation Pipeline** in dlgo supports local text-to-image generation using a Z-Image / Lumina2-style DiT checkpoint, as noted in the implementation details [Hacker News Show](https://github.com/computerex/dlgo?ref=stirup.si). The pipeline processes a prompt through a Qwen text encoder, followed by quantized DiT denoising, SafeTensors VAE decoding, and PNG output [Hacker News Show](https://github.com/computerex/dlgo?ref=stirup.si). It includes features such as a GGUF DiT loader, scheduler/sampler, 3D RoPE, quantized-weight CPU inference, Vulkan GPU DiT execution, and memory-budget estimation [Hacker News Show](https://github.com/computerex/dlgo?ref=stirup.si). This implementation does not claim universal compatibility with all Stable Diffusion checkpoint families, but focuses on specific DiT checkpoints. The pipeline runs entirely locally, offering a comprehensive end-to-end solution for diffusion-based image generation.

## System One API and Evaluation

The System One API provides a mechanism for interacting with large language models through a specific endpoint, `/v1/systemone`, which accepts a loaded model, an on-disk readout artifact, a state, and one or more questions. This interface enables inference and evaluation tasks, though its effectiveness is constrained by the distribution of data it was calibrated on, as noted in the scope and calibration details. The API's functionality is further contextualized by the need to manage external dependencies, such as placing an OpenRouter key in a specific directory to compare a local 9B head to Jev 1.13\. These steps highlight the integration of external systems and the importance of environment configuration in leveraging the System One API effectively.

## Project Structure and Tools

The project structure of the Golang DL/ML primitives initiative is organized to support inference, diffusion, vision, and System One capabilities. The `cmd/dlgo/` directory serves as the CLI entry point for running, managing servers, and retrieving information. `cmd/systemone-train/` is dedicated to System One feature extraction and head training. The `server/` directory hosts the HTTP server, model manager, and scheduler, while `frontend/` provides a React + Vite web UI and System One playground. The `models/llm/` directory contains the LLM pipeline, prompt compiler, and System One readout. Additional directories like `bench/systemone/`, `gpu/`, `format/gguf/`, `quant/`, and `blas/` support benchmarking, GPU compute, format parsing, quantization, and linear algebra operations, respectively. The project uses an MIT license and includes tools for comparison and validation, such as `compare_jev_pokemon.py` and `compare_jev_suite.py`, which evaluate performance against Jev (typesafe/jev-1.13) and local dlgo.

## Multimodal and Vision Inference

The `dlgo` project provides multimodal and vision inference capabilities through a local implementation of an `mmproj` vision projector paired with a compatible text GGUF backbone. Users can install the tool via `go install` and run models with or without GPU acceleration. A web server with a UI can also be launched for interactive use. According to the project's documentation, the diffusion implementation is located in `models/diffusion/`, and includes CPU/GPU correctness and integration tests. However, the project explicitly states that it is an inference implementation and does not claim compatibility with every vendor chat template or multimodal model family. Users are advised to validate the projector, text backbone, image prompt marker, and visual quality together for each model pairing.

## Sources and reporting notes

- [Hacker News Show](https://github.com/computerex/dlgo?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.