Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
21 repos in Image generation matching “attention”
Text-to-image, image editing and diffusion tools.
Image generation
Stars:1.3kCrossAttentionControl
Unofficial implementation of "Prompt-to-Prompt Image Editing with Cross Attention Control" with Stable Diffusion
Jupyter Notebook · MIT · updated 4 years agoDetails›Image generation
Stars:686AttentionGAN
AttentionGAN for Unpaired Image-to-Image Translation & Multi-Domain Image-to-Image Translation
Python · updated 3 years agoDetails›Image generation
Stars:624keras_cv_attention_models
Keras beit,caformer,CMT,CoAtNet,convnext,davit,dino,efficientdet,edgenext,efficientformer,efficientnet,eva,fasternet,fastervit,fastvit,flexivit,gcvit,ghostnet,gpvit,hornet,hiera,iformer,inceptionnext,lcnet,levit,maxvit,mobilevit,moganet,nat,nfnets,pvt,swin,tinynet,tinyvit,unif…
Python · MIT · updated 9 months agoDetails›Image generation
Stars:615metal-flash-attention
FlashAttention (Metal Port)
Swift · MIT · updated 2 years agoDetails›Image generation
Stars:609radial-attention
[NeurIPS 2025] Radial Attention: O(nlogn) Sparse Attention with Energy Decay for Long Video Generation
Python · Apache-2.0 · updated 1 year agoDetails›Image generation
Stars:436ParaAttention
https://wavespeed.ai/ Context parallel attention that accelerates DiT model inference with dynamic caching
Python · updated 1 year agoDetails›Image generation
Stars:413attention-map-diffusers
attention map tools for huggingface/diffusers
Python · MIT · updated 3 months agoDetails›Image generation
Stars:406cross-image-attention
Officail Implementation for "Cross-Image Attention for Zero-Shot Appearance Transfer"
Python · MIT · updated 2 years agoDetails›Image generation
Stars:5.6kDALLE-pytorch
Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch
Python · MIT · updated 2 years agoDetails›Image generation
Stars:2kFlashVSR
[CVPR 2026] Towards Real-Time Diffusion-Based Streaming Video Super-Resolution — An efficient one-step diffusion framework for streaming VSR with locality-constrained sparse attention and a tiny conditional decoder.
Python · Apache-2.0 · updated 1 month agoDetails›Image generation
Stars:1.3kgansformer
Generative Adversarial Transformers
Python · MIT · updated 4 years agoDetails›Image generation
Stars:918muse-maskgit-pytorch
Implementation of Muse: Text-to-Image Generation via Masked Generative Transformers, in Pytorch
Python · MIT · updated 2 years agoDetails›Image generation
Stars:772Attend-and-Excite
Official Implementation for "Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models" (SIGGRAPH 2023)
Jupyter Notebook · MIT · updated 2 years agoDetails›Image generation
Stars:731MIRNet
[ECCV 2020] Learning Enriched Features for Real Image Restoration and Enhancement. SOTA results for image denoising, super-resolution, and image enhancement.
Python · updated 2 years agoDetails›Image generation
Stars:568foldingdiff
Diffusion models of protein structure; trigonometry and attention are all you need!
Jupyter Notebook · MIT · updated 15 days agoDetails›Image generation
Stars:536parti-pytorch
Implementation of Parti, Google's pure attention-based text-to-image neural network, in Pytorch
Python · MIT · updated 2 years agoDetails›Image generation
Stars:466SelectionGAN
[CVPR 2019 Oral] Multi-Channel Attention Selection GAN with Cascaded Semantic Guidance for Cross-View Image Translation
Python · updated 3 years agoDetails›Image generation
Stars:431Paper-Replications-and-Experiments
From-scratch PyTorch replications of classic and SOTA AI/ML papers: transformers, attention, GANs, diffusion, CLIP, LoRA, MoE, plus SFT/GRPO post-training experiments.
Jupyter Notebook · Apache-2.0 · updated 27 days agoDetails›Image generation
Stars:365CM3Leon
An open source implementation of "Scaling Autoregressive Multi-Modal Models: Pretraining and Instruction Tuning", an all-new multi modal AI that uses just a decoder to generate both text and images
Python · MIT · updated 2 years agoDetails›Image generation
Stars:207Project_Chronos
Zero-Stall MoE Inference via Lookahead Prediction & Async DMA Prefetching. Optimized for SSD I/O with Hybrid MLA+Sliding Window Attention.
Python · Apache-2.0 · updated 13 days agoDetails›Image generation
Stars:159AReA
Official implementation of "AReA: Adaptive Receptive-Field Attention for Efficient High-Resolution Diffusion Transformers"
Python · Apache-2.0 · updated 1 month agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.