G
Stability-AI/generative-models★ 27,353 · Python
A YAML-driven diffusion framework for local SDXL inference and training experiments
MIT · Commercial Friendly0.1.0
Side-by-side 2026 comparison in Voice, Vision & Video: Stability-AI/generative-models leads both total GitHub adoption (★ 27.4k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
A YAML-driven diffusion framework for local SDXL inference and training experiments
PyTorch Vision Transformers for classification, pretraining, and architecture experiments
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | Stability-AI/generative-models | lucidrains/vit-pytorch |
|---|---|---|
| Total GitHub Stars | ★ 27,353 | ★ 25,603 |
| 24h / 7d Velocity | +3 / +13 | +1 / +13 |
| 7-Day Trend Curve | ||
| Engineering Health | B · 60/100 | A+ · 89/100 |
| Deployment Signals | Local AI · GPU · CLI | CLI |
| Primary Language | Python | Python |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 11mo ago | Updated 8d ago |
| Latest Release | 0.1.0 | 1.17.8 |
| Best For | Teams running SDXL locally or experimenting with diffusion conditioning, sampling, and training at the component level | PyTorch teams comparing ViT architectures, experimenting with mixed-resolution batching, or integrating masked pretraining or distillation into an existing training loop |
instantiate_from_config() wire the network, conditioner, sampler, and loss as separate components.GeneralConditioner combines vector, sequence, and spatial embeddings; embedder order matters.sampler_config controls solver, step count, discretization, and classifier-free guidance independently of the model.scripts/demo/sampling.py runs a local Streamlit demo for text-to-image and image-to-image with SDXL base and refiner variants.python3.10 -m venv .generativemodels source .generativemodels/bin/activate pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 # check CUDA version pip3 install -r requirements/pt2.txt pip3 install . pip3 install -e git+https://github.com/Stability-AI/datapipelines.git@main#egg=sdata
ViT supports CLS or mean pooling; SimpleViT uses 2D sinusoidal positions, global average pooling, and a linear head.vit_pytorch.na_vit_nested_tensor.NaViT reduces explicit masking and padding and specifies PyTorch 2.5.SimMIM projects masked-token features into pixel space and computes L1 reconstruction loss.$ pip install vit-pytorchSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy