Close Menu
techwavedispatch.com

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    LoRA training scripts of the world, unite!

    November 12, 2026

    In reversal, American Cancer Society urges prostate cancer tests for all men

    November 12, 2026

    Muse can now place calls to U.S. businesses — if you pay

    November 12, 2026
    Facebook X (Twitter) Instagram
    Trending
    • LoRA training scripts of the world, unite!
    • In reversal, American Cancer Society urges prostate cancer tests for all men
    • Muse can now place calls to U.S. businesses — if you pay
    • Welcome aMUSEd: Efficient Text-to-Image Generation
    • Jensen Huang Is Out. Will Nvidia’s Rivals Cash In?
    • Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL
    • Mint Mobile Will Give You $500 off Select New Phones When You Sign Up for a Year
    • Democrats launch Nvidia investigation, write scathing letter on Huang’s ‘scheme’ with Trump
    Facebook X (Twitter) Instagram
    techwavedispatch.com
    Subscribe
    Thursday, November 12
    • Home
    • AI Tools & Software
    • Machine Learning
    • Generative AI
    • Robotics & Automation
    • Future Tech & Hardware
    • AI in Business
    • Ethics & Regulations
    • More
      • Gadgets & Smart Devices
      • Cybersecurity & AI
      • Tech Breakthroughs
    techwavedispatch.com
    Home»AI Tools & Software»Welcome aMUSEd: Efficient Text-to-Image Generation
    AI Tools & Software

    Welcome aMUSEd: Efficient Text-to-Image Generation

    adminBy adminNovember 12, 2026No Comments5 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Welcome aMUSEd: Efficient Text-to-Image Generation
    Share
    Facebook Twitter LinkedIn Pinterest Email

    amused_grid

    We’re excited to present an efficient non-diffusion text-to-image model named aMUSEd. It’s called so because it’s a open reproduction of Google’s MUSE. aMUSEd’s generation quality is not the best and we’re releasing a research preview with a permissive license.

    In contrast to the commonly used latent diffusion approach (Rombach et al. (2022)), aMUSEd employs a Masked Image Model (MIM) methodology. This not only requires fewer inference steps, as noted by Chang et al. (2023), but also enhances the model’s interpretability.

    Just as MUSE, aMUSEd demonstrates an exceptional ability for style transfer using a single image, a feature explored in depth by Sohn et al. (2023). This aspect could potentially open new avenues in personalized and style-specific image generation.

    In this blog post, we will give you some internals of aMUSEd, show how you can use it for different tasks, including text-to-image, and show how to fine-tune it. Along the way, we will provide all the important resources related to aMUSEd, including its training code. Let’s get started 🚀



    Table of contents

    We have built a demo for readers to play with aMUSEd. You can try it out in this Space or in the playground embedded below:



    How does it work?

    aMUSEd is based on Masked Image Modeling. It makes for a compelling use case for the community to explore components that are known to work in language modeling in the context of image generation.

    The figure below presents a pictorial overview of how aMUSEd works.

    amused_architecture

    During training:

    • input images are tokenized using a VQGAN to obtain image tokens
    • the image tokens are then masked according to a cosine masking schedule.
    • the masked tokens (conditioned on the prompt embeddings computed using a CLIP-L/14 text encoder are passed to a U-ViT model that predicts the masked patches

    During inference:

    • input prompt is embedded using the CLIP-L/14 text encoder.
    • iterate till N steps are reached:
      • start with randomly masked tokens and pass them to the U-ViT model along with the prompt embeddings
      • predict the masked tokens and only keep a certain percentage of the most confident predictions based on the N and mask schedule. Mask the remaining ones and pass them off to the U-ViT model
    • pass the final output to the VQGAN decoder to obtain the final image

    As mentioned at the beginning, aMUSEd borrows a lot of similarities from MUSE. However, there are some notable differences:

    • aMUSEd doesn’t follow a two-stage approach for predicting the final masked patches.
    • Instead of using T5 for text conditioning, CLIP L/14 is used for computing the text embeddings.
    • Following Stable Diffusion XL (SDXL), additional conditioning, such as image size and cropping, is passed to the U-ViT. This is referred to as “micro-conditioning”.

    To learn more about aMUSEd, we recommend reading the technical report here.



    Using aMUSEd in 🧨 diffusers

    aMUSEd comes fully integrated into 🧨 diffusers. To use it, we first need to install the libraries:

    pip install -U diffusers accelerate transformers -q
    

    Let’s start with text-to-image generation:

    import torch
    from diffusers import AmusedPipeline
    
    pipe = AmusedPipeline.from_pretrained(
        "amused/amused-512", variant="fp16", torch_dtype=torch.float16
    )
    pipe = pipe.to("cuda")
    
    prompt = "A mecha robot in a favela in expressionist style"
    negative_prompt = "low quality, ugly"
    
    image = pipe(prompt, negative_prompt=negative_prompt, generator=torch.manual_seed(0)).images[0]
    image
    

    text2image_512.png

    We can study how num_inference_steps affects the quality of the images under a fixed seed:

    from diffusers.utils import make_image_grid 
    
    images = []
    for step in [5, 10, 15]:
        image = pipe(prompt, negative_prompt=negative_prompt, num_inference_steps=step, generator=torch.manual_seed(0)).images[0]
        images.append(image)
    
    grid = make_image_grid(images, rows=1, cols=3)
    grid
    

    image_grid_t2i_amused.png

    Crucially, because of its small size (only ~800M parameters, including the text encoder and VQ-GAN), aMUSEd is very fast. The figure below provides a comparative study of the inference latencies of different models, including aMUSEd:

    Speed Comparison
    Tuples, besides the model names, have the following format: (timesteps, resolution). Benchmark conducted on A100. More details are in the technical report.

    As a direct byproduct of its pre-training objective, aMUSEd can do image inpainting zero-shot, unlike other models such as SDXL.

    import torch
    from diffusers import AmusedInpaintPipeline
    from diffusers.utils import load_image
    from PIL import Image
    
    pipe = AmusedInpaintPipeline.from_pretrained(
        "amused/amused-512", variant="fp16", torch_dtype=torch.float16
    )
    pipe = pipe.to("cuda")
    
    prompt = "a man with glasses"
    input_image = (
        load_image(
            "https://huggingface.co/amused/amused-512/resolve/main/assets/inpainting_256_orig.png"
        )
        .resize((512, 512))
        .convert("RGB")
    )
    mask = (
        load_image(
            "https://huggingface.co/amused/amused-512/resolve/main/assets/inpainting_256_mask.png"
        )
        .resize((512, 512))
        .convert("L")
    )   
    
    image = pipe(prompt, input_image, mask, generator=torch.manual_seed(3)).images[0]
    

    inpainting_grid_amused.png

    aMUSEd is the first non-diffusion system within diffusers. Its iterative scheduling approach for predicting the masked patches made it a good candidate for diffusers. We are excited to see how the community leverages it.

    We encourage you to check out the technical report to learn about all the tasks we explored with aMUSEd.



    Fine-tuning aMUSEd

    We provide a simple training script for fine-tuning aMUSEd on custom datasets. With the 8-bit Adam optimizer and float16 precision, it’s possible to fine-tune aMUSEd with just under 11GBs of GPU VRAM. With LoRA, the memory requirements get further reduced to just 7GBs.

    Fine-tuned result.
    a pixel art character with square red glasses

    aMUSEd comes with an OpenRAIL license, and hence, it’s commercially friendly to adapt. Refer to this directory for more details on fine-tuning.



    Limitations

    aMUSEd is not a state-of-the-art image generation regarding image quality. We released aMUSEd to encourage the community to explore non-diffusion frameworks such as MIM for image generation. We believe MIM’s potential is underexplored, given its benefits:

    • Inference efficiency
    • Smaller size, enabling on-device applications
    • Task transfer without requiring expensive fine-tuning
    • Advantages of well-established components from the language modeling world

    (Note that the original work on MUSE is close-sourced)

    For a detailed description of the quantitative evaluation of aMUSEd, refer to the technical report.

    We hope that the community will find the resources useful and feel motivated to improve the state of MIM for image generation.



    Resources

    Papers:

    Code + misc:



    Acknowledgements

    Suraj led training. William led data and supported training. Patrick von Platen supported both training and data and provided general guidance. Robin Rombach did the VQGAN training and provided general guidance. Isamu Isozaki helped with insightful discussions and made code contributions.

    Thanks to Patrick von Platen and Pedro Cuenca for their reviews on the blog post draft.

    aMUSEd efficient Generation TexttoImage
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    LoRA training scripts of the world, unite!

    November 12, 2026

    Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL

    November 12, 2026

    an end-to-end example with Vectara’s hallucination leaderboard

    November 12, 2026
    Leave A Reply Cancel Reply

    Top Posts

    NVIDIA Is Investigating Reports That CEO Jensen Huang Was The Target Of Chinese Spy Efforts

    November 8, 202619 Views

    ADIndex: Layer-Adaptive Sparse Attention Indexing via Group-Level Distillation

    November 11, 20265 Views

    Anthropic releases new Mythos and Fable models amid RSI concerns

    November 9, 20265 Views

    Anthropic says AI is eroding Nvidia’s CUDA lead, cutting an AMD chip switch from months to three days

    November 11, 20264 Views
    Don't Miss
    AI Tools & Software

    LoRA training scripts of the world, unite!

    By adminNovember 12, 20260

    A community derived guide to some of the SOTA practices for SD-XL Dreambooth LoRA fine…

    In reversal, American Cancer Society urges prostate cancer tests for all men

    November 12, 2026

    Muse can now place calls to U.S. businesses — if you pay

    November 12, 2026

    Welcome aMUSEd: Efficient Text-to-Image Generation

    November 12, 2026
    About Us

    Welcome to TechWave Dispatch

    At TechWave Dispatch, we bring you the latest news, insights, and developments from the ever-evolving world of technology. Our mission is to keep readers informed about the innovations shaping our digital future.

    From artificial intelligence and machine learning to cybersecurity, robotics, smart devices, and groundbreaking technologies, we cover the topics that matter in today's fast-moving tech landscape.

    Our Picks

    LoRA training scripts of the world, unite!

    November 12, 2026

    In reversal, American Cancer Society urges prostate cancer tests for all men

    November 12, 2026

    Muse can now place calls to U.S. businesses — if you pay

    November 12, 2026
    Most Popular

    Who Controls Scientific Discovery? – O’Reilly

    November 6, 20260 Views

    After blocking Muse, Amazon now lets users text Alexa to help them shop

    November 6, 20260 Views

    A controlled world for robot learning and evaluation

    November 6, 20260 Views
    Facebook X (Twitter) Instagram Pinterest
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • About Us
    © 2026 TechWave Dispatch. All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.