Model reference · open weights

Rebels_w4a8s

Available as managed deployment Licence fee Image realrebelai · community Text→image 1 variants 1k dl/mo

Rebels_w4a8s is an open-weight image model from realrebelai. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byrealrebelai
TypeImage models
TaskText→image
Released2026-08-07
Popularity1k downloads / month
LicenceCommercial licence needed

About

What Rebels_w4a8s is

Models

ModelParamsSizeNotes
Flux2-Klein-4B-w4a83.9 B2.46 GBApache-2.0. Smallest here — runs on 6 GB cards
Z-Image-Turbo-w4a86.2 B3.67 GBDistilled — 8 steps, CFG 1.0
Flux2-Klein-9B-w4a89.1 B5.62 GBFlux License
Krea-2-Turbo-w4a812.8 B7.23 GBTurbo — CFG 1.0, not 4.0
SCAIL-2-14B-w4a8~14 B_.__ GBWan2.1-based video, NEEDS WORK
Wan-Animate-2-TURBO-w4a816.4 B9.59 GBVideo. Reference image must match the driving video's opening pose
Qwen-Image-2512-w4a8~20 B14.5 GBFull model — normal steps and CFG, not the Flash recipe, NEEDS WORK
MiniMax-H3-REF2VA-w4a833.1 B24.5 GBReference-to-video with audio. Mixed: adaln_proj at int8 — its 2688-wide rows can't use the w4a8 kernel

All load with the stock Load Diffusion Model node. Base licenses carry over — check each source model before commercial use.

All load with the stock Load Diffusion Model node. Base licenses carry over — check each source model before commercial use.

Read the full model card

Four-bit weights. Eight-bit math. Native ComfyUI kernels. No custom nodes.

W4A8 conversions of current diffusion and video models, quantized to run on ComfyUI's native asym_w4a8_int8 path — where int8 tensor cores do the work instead of a dequantize-then-fp16 fallback.

Roughly 0.56 bytes per parameter, and it runs at that size rather than merely storing at it.


Why W4A8 instead of GGUF

GGUF is excellent and I ship plenty of it. But every GGUF forward pass unpacks weights back to fp16 before the matmul — the file is small, the math is not. W4A8 keeps compute in int8 end to end.

GGUF Q4_K_MW4A8
Storage~0.60 B/elem~0.56 B/elem
Compute pathdequant → fp16 GEMMint8 GEMM
LoaderComfyUI-GGUF nodestock Load Diffusion Model
Weight error (measured)varies by tensor~7% relL2

The format comes from Kijai's AsymW4A8Int8Layout work in comfy-kitchen. This collection is about applying it correctly to models nobody has converted yet, and being explicit about what was verified.


What's inside a file

Each quantized Linear stores five pieces:

TensorPurpose
weightint4 codes, two per byte
weight_s_relfp8 scale, one per group of 16
weight_s_channelone scale per output channel
weight_codebook16 Lloyd-Max levels, fit to the tensor
comfy_quantlayout config the loader reads

Three ideas stacked: a ConvRot Hadamard rotation that flattens outliers so four bits go further, a codebook of non-uniform levels fit to the actual weight distribution instead of an even grid, and per-group fp8 scales preserving local dynamic range. Calibration-free — no activation dataset, so nothing in the conversion biases the model toward one kind of prompt.


What I do differently

Sensitive layers are never quantized. Timestep embeddings, conditioning projections, patch projections, final output layers and rotary tables stay high precision. On a few-step model the timestep embedder has only a handful of sigma values to distinguish — crushing it to four bits corrupts every step of the schedule. Every file is checked after conversion to confirm those layers really are stored at F16/F32, because quantizers do not preserve them automatically.

Mixed formats where the kernel demands it. The fused W4A8 kernel accepts a ConvRot group of exactly 256, so any layer whose input dimension isn't divisible by 256 cannot use it. Rather than silently shipping a file that errors on load, those layers are written as int8_tensorwise — also native, no group constraint, ~1% error. Each model card states which layers took that path.

Every file is measured. Conversion reports per-layer reconstruction error against the original bf16 weights. Anything that doesn't land where it should doesn't get uploaded.


Requirements

  • ComfyUI 0.30.0+ with asym_w4a8_int8 in its native quant registry
  • comfy-kitchen installed (ships the kernels)
  • An NVIDIA GPU or AMD GPU.

On startup ComfyUI prints its available formats. You want asym_w4a8_int8 in the Native ops list — under emulated it still runs, without the int8 speed advantage.


Usage

  1. Drop the .safetensors in ComfyUI/models/diffusion_models
  2. Load it with Load Diffusion Model — the stock node, no custom loader
  3. Text encoder, VAE and sampler settings are unchanged from the base model

Per-model notes (step counts, CFG, resolution) live in each model's card. Distilled models have fixed schedules that must be respected — base-model settings on them produce poor results regardless of quantization.


Models

Collection in progress. Each conversion has its own repo with exact sizes, measured error, and the list of layers kept at high precision.


Licensing

These are quantized derivatives. Every original license and usage restriction carries over unchanged, and each model repo states the license of its base model. Check the specific model's card before commercial use — several bases in this collection are not permissive.


Credits

  • Kijai — the W4A8 int8-codebook layout and kernels
  • Comfy-Org / comfyanonymous — comfy-kitchen and the native quantization registry
  • city96 — ComfyUI-GGUF, which taught most of us how quantized loading works in ComfyUI
  • Original model authors — all base licenses apply

Quantized by RealRebelAI · GitHub · X

From the published model card. Full card on the HuggingFace links in the sidebar.

How it works

How image models work

Text promptwhat to makeText encoderunderstands itDiffusion stepsdenoise to pixelsImagePNG / JPEGA diffusion model starts from noise and denoises it, guided by your prompt, into a finished image.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys rebels-w4a8s for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (rebels-w4a8s below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/images/generations \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"rebels-w4a8s","prompt":"a red bicycle","size":"1024x1024"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms