
Independent developer Jagrat Patel, publishing as TheJagStudio, has released thejagstudio/tessera-small on Hugging Face, a 47.6M-parameter discrete diffusion language model built specifically to generate 16×16 pixel art sprites. Rather than operating in continuous latent space with a variational autoencoder or generating pixels sequentially via autoregression, the model treats each 16×16 sprite as a 256-token sequence drawn from a learned 512-color palette where token 0 represents transparency.
Core announcement and discrete pixel-diffusion scope
Starting from a fully masked 256-token canvas, Tessera-small unmasks all pixels in parallel over roughly 16 sampling steps, conditioned on text prompts encoded by a frozen CLIP tower. Because pixel art relies on crisp color boundaries and explicit palette indices rather than smooth gradients, continuous latent diffusion pipelines often introduce blurring or color quantization artifacts when scaled down to 16×16 icons. Modeling sprites directly in discrete palette space removes the VAE decoder entirely and gives developers native transparency and exact palette control, including inpainting support.
According to the model card, the release was trained on the 1.41M-sprite Angais/pixel-art-atlas-1.4m dataset and ships alongside an interactive demo Space, Tessera Pixel Studio, plus a sample grid showcasing 16 prompts across eight generations each. While the weights are openly downloadable for inspection and local execution, the author released them under Creative Commons Attribution-NonCommercial 4.0, setting clear boundaries between hobbyist experimentation and commercial game or product integration.
Hourglass transformer architecture and training specifications
Under the hood, Tessera-small implements a joint text-and-pixel bidirectional transformer arranged in an hourglass 2 + 8 + 2 block layout with a 2×2 patch-merged core. The network operates at width 512 with 8 attention heads and incorporates QK-RMSNorm, 2D axial RoPE, Conv-SwiGLU feed-forward layers, adaLN-single conditioning, 4 register tokens, and self-conditioning. Text prompts are embedded using a frozen openai/clip-vit-base-patch32 text encoder truncated to 24 tokens, which is MIT-licensed and fetched separately rather than bundled in the checkpoint.
Its vocabulary comprises 512 palette tokens constructed via frequency-weighted OKLab k-means clustering (with ΔE 0.010) plus a dedicated [MASK] token. Training uses an absorbing-state masked diffusion objective paired with a cosine noise schedule, blob masks, perceptual label smoothing, and classifier-free guidance (CFG) dropout. During inference, the sampler executes parallel confidence-ordered unmasking with CFG, Gumbel-annealed choice, and spatial non-maximum suppression (NMS).
Patel trained the model for 82,342 steps at a batch size of 512 sprites—covering 30 epochs across 1.4M sprites—on a single NVIDIA RTX PRO 6000 Blackwell GPU in approximately 5.5 hours. Optimization combined the Muon optimizer for hidden matrices with AdamW under a Warmup-Stable-Decay schedule, exponential moving average (EMA) decay of 0.9995, bfloat16 precision, and torch.compile acceleration.
Reported model-card metrics and artifact layout
Evaluations published on the Tessera-small model card report performance using the EMA weights, though independent third-party benchmarks are not yet available. On the validation split, the author reports a negative log-likelihood (NLL) of 0.859 nats per pixel—corresponding to a perplexity of 2.36 out of 512 tokens—and 78.8% validation accuracy across masked pixels. Using ViT-B/32, generated sprites recorded a reported CLIP score of 25.24 compared with 25.28 for real sprites from the reference distribution.
The Hugging Face repository provides tessera-small-fp16.pt (containing FP16 EMA weights, model configuration, palette, text-encoder ID, and training step), alongside model_config.json, train_config.json, full training and validation logs in metrics.jsonl, and showcase.png. Inference code relies on TesseraPipeline from the accompanying demo Space and standard huggingface_hub checkpoint downloads, defaulting to 16 steps and a CFG scale of 3.0.
Developer workflow and ecosystem adoption
At 47.6M parameters in FP16, Tessera-small has a compact footprint compared with multi-billion-parameter general image generators, making local GPU execution accessible without heavyweight VRAM budgets or hosted inference APIs. Notably, the model is not deployed on Hugging Face Inference Providers, reinforcing its role as a self-hosted or Space-backed tool. Early community activity reflects practical interest in tiny icon and emoji workflows: seven public Spaces already reference the model, including Slack-moji generators, a WebGPU frontend experiment, and backend wrappers, alongside one reported adapter, one fine-tune, and one quantization derivative in the model tree.
For researchers and toolmakers exploring discrete diffusion language models (dLLMs) beyond text, the inclusion of full hyperparameter JSON files and metrics.jsonl training logs offers a reproducible reference point for how Muon optimization and hourglass bidirectional transformers behave on structured 2D token grids.
Non-commercial licensing and technical caveats
Developers considering Tessera-small for production pipelines face strict licensing boundaries. Under CC BY-NC 4.0, free use is limited to education, academic or independent research, and personal non-commercial projects with attribution to Jagrat Patel (TheJagStudio). Commercial applications—including selling generated sprites, embedding the weights in paid games or apps, or running monetized hosted services—are prohibited without obtaining a separate commercial license from the author. Third-party dependencies retain their own terms: the OpenAI CLIP encoder uses the MIT license, while Pixel Art Atlas 1.4M carries its own dataset license.
Technically, the architecture is hard-scoped to a fixed 16×16 resolution, a 512-color learned palette, and a 24-token CLIP prompt window. Users needing larger sprite sheets, custom per-game palettes, or guaranteed prompt adherence outside the 1.4M training distribution will need fine-tuning or custom post-processing, and should validate outputs directly rather than relying solely on aggregate CLIP similarity scores.
Automated Vertex AI (gemini-4-hydrogen) primary-source report; reviewed 2026-11-23.


