Abiray / OUI-1-GGUF

huggingface.co
Total runs: 1.3K
24-hour runs: -122
7-day runs: -1.4K
30-day runs: -130
Model's Last Updated: September 13 2026
text-generation

Introduction of OUI-1-GGUF

Model Details of OUI-1-GGUF

OUI-1 GGUF

This repository hosts official GGUF quantizations of thesysdev/OUI-1 , the first diffusion model built specifically for Generative UI.

OUI-1 is a fine-tune of Google's DiffusionGemma 26B-A4B-it (26B total parameters, 4B active) designed to write complete user interface screens in openui-lang , the declarative UI language behind OpenUI . It achieves 71.7% on the Generative UI Benchmark (a 5.5x improvement over the base model's 13.0%).

These GGUF binaries are built for inference using llama.cpp PR #24423 by Daniel Han (Unsloth), which implements native tensor graphs for the diffusion-gemma architecture and provides the specialized llama-diffusion-cli block-diffusion sampler.


Quantization Matrix & Files
Filename File Size Quant Method Memory Profile & Target Use Case
OUI-1-Q3_K_M.gguf 13.3 GB Q3_K_M Memory-constrained systems; runs on ~16 GB unified RAM.
OUI-1-Q4_K_S.gguf 15.5 GB Q4_K_S Fast 4-bit quant; lower compute overhead for CPU inference.
OUI-1-Q4_K_M.gguf 16.8 GB Q4_K_M Recommended. Best quality/size tradeoff; fits comfortably on 24 GB VRAM GPUs or ~20 GB system RAM.
OUI-1-Q5_K_M.gguf 19.1 GB Q5_K_M High precision; minimal perplexity loss over unquantized weights.
OUI-1-Q6_K.gguf 22.7 GB Q6_K Near-lossless representation of original BF16 parameters.
OUI-1-Q8_0.gguf 26.9 GB Q8_0 Full 8-bit quantization; maximum fidelity.

Benchmark & Architecture
  • Base Model: google/diffusiongemma-26B-A4B-it (26B total, 4B active)
  • Method: Tied LoRA fine-tuning merged into base weights
  • Context Length: Up to 16,384 tokens
  • Canvas Size: 256-token block diffusion canvas
  • Sampling: Entropy-bound sampler (default 48 denoising steps, entropy bound 0.1)
Model Generative UI Benchmark Score Solved Screens (out of 184) Active Parameters
Base DiffusionGemma 13.0% 24 / 184 4B
OUI-1 71.7% 132 / 184 4B

How Generative UI Prompting Works

OUI-1 is not a conversational assistant . It operates strictly by mapping component schemas to declarative layouts:

  1. System Prompt: Provides the TypeScript signatures and properties of your target component library.
  2. User Prompt: A structured natural language brief detailing layout sections and data points.
  3. Model Generation: Emits declarative openui-lang syntax, one component per line, wired into a hierarchical tree.
1. Generating the Component System Prompt

Generate a prompt compatible with your custom UI component library using @openuidev/cli :

npx @openuidev/cli generate <path-to-library.ts> --out system-prompt.txt

(You can also use the reference prompt from protocols/openui/prompt.ts in the benchmark repository).

2. Validating & Rendering Outputs

Outputs generated by OUI-1 can be directly parsed, validated, and rendered:

  • Validation: @openuidev/lang-core
  • Renderers: @openuidev/react-lang , @openuidev/vue-lang , or @openuidev/svelte-lang

Running Inference with llama.cpp

Because text diffusion operates across 256-token canvas blocks iteratively rather than causal autoregressive next-token decoding, use the dedicated llama-diffusion-cli runner.

1. Build llama.cpp with Diffusion Support
git clone [https://github.com/ggml-org/llama.cpp.git](https://github.com/ggml-org/llama.cpp.git)
cd llama.cpp

# Checkout the diffusion-gemma PR branch
git fetch origin pull/24423/head:diffusion-gemma
git checkout diffusion-gemma

# Build binaries (CPU or CUDA)
cmake -B build -DGGML_NATIVE=ON
# For Nvidia GPUs, use: cmake -B build -DGGML_CUDA=ON
cmake --build build -j$(nproc) --target llama-diffusion-cli
2. Execution Example (CPU)
SYSTEM_PROMPT="You are an expert UI generator. Output screens strictly using openui-lang declarative syntax.
Available components:
- Page(title: string)
- Card(title: string)
- Metric(label: string, value: string, status?: 'good' | 'warning' | 'error')
- Text(content: string)
- Stack(direction: 'row' | 'column')"

USER_BRIEF="Status page for the platform team. Single screen with current uptime percentage (99.98%) and the most recent incident details."

./build/bin/llama-diffusion-cli \
  -m ./OUI-1-Q4_K_M.gguf \
  -t 16 \
  -c 4096 \
  -n 512 \
  -p "<start_of_turn>system
${SYSTEM_PROMPT}<end_of_turn>
<start_of_turn>user
${USER_BRIEF}<end_of_turn>
<start_of_turn>model
"
3. GPU Acceleration

Add -ngl 99 to offload all diffusion layers to GPU VRAM:

./build/bin/llama-diffusion-cli \
  -m ./OUI-1-Q4_K_M.gguf \
  -ngl 99 \
  -c 4096 \
  -n 512 \
  -p "<start_of_turn>system
...
<start_of_turn>user
...
<start_of_turn>model
"

(Tip: In a local interactive terminal/TTY, you can supply --diffusion-visual to watch the 256-token canvas denoise in real-time).


Python Download Helper

Download individual quant binaries directly via huggingface_hub :

from huggingface_hub import hf_hub_download

model_path = hf_hub_download(
    repo_id="Abiray/OUI-1-GGUF",
    filename="OUI-1-Q4_K_M.gguf",
    local_dir="./models"
)
print(f"Downloaded model to: {model_path}")

Credits & Licensing

Runs of Abiray OUI-1-GGUF on huggingface.co

1.3K
Total runs
-122
24-hour runs
-599
3-day runs
-1.4K
7-day runs
-130
30-day runs

More Information About OUI-1-GGUF huggingface.co Model

More OUI-1-GGUF license Visit here:

https://choosealicense.com/licenses/apache-2.0

OUI-1-GGUF huggingface.co

OUI-1-GGUF huggingface.co is an AI model on huggingface.co that provides OUI-1-GGUF's model effect (), which can be used instantly with this Abiray OUI-1-GGUF model. huggingface.co supports a free trial of the OUI-1-GGUF model, and also provides paid use of the OUI-1-GGUF. Support call OUI-1-GGUF model through api, including Node.js, Python, http.

OUI-1-GGUF huggingface.co Url

https://huggingface.co/Abiray/OUI-1-GGUF

Abiray OUI-1-GGUF online free

OUI-1-GGUF huggingface.co is an online trial and call api platform, which integrates OUI-1-GGUF's modeling effects, including api services, and provides a free online trial of OUI-1-GGUF, you can try OUI-1-GGUF online for free by clicking the link below.

Abiray OUI-1-GGUF online free url in huggingface.co:

https://huggingface.co/Abiray/OUI-1-GGUF

OUI-1-GGUF install

OUI-1-GGUF is an open source model from GitHub that offers a free installation service, and any user can find OUI-1-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of OUI-1-GGUF install, users can directly use OUI-1-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

OUI-1-GGUF install url in huggingface.co:

https://huggingface.co/Abiray/OUI-1-GGUF

Url of OUI-1-GGUF

OUI-1-GGUF huggingface.co Url

Provider of OUI-1-GGUF huggingface.co

Abiray
ORGANIZATIONS

Other API from Abiray

huggingface.co

Total runs: 262.9K
Run Growth: -773.6K
Growth Rate: -280.34%
Updated:August 08 2026
huggingface.co

Total runs: 8.8K
Run Growth: 7.0K
Growth Rate: 78.11%
Updated:June 15 2026
huggingface.co

Total runs: 3.9K
Run Growth: -2.6K
Growth Rate: -67.81%
Updated:July 14 2026
huggingface.co

Total runs: 1.6K
Run Growth: -397
Growth Rate: -23.23%
Updated:May 16 2026