arXiv:2611.26437cs.CVNov 2026

Manuscript Offprint

arXiv:2611.26437

Asuka-FM: A System-Architectural Co-Design Framework for Efficient Text-to-Image Pretraining on Consumer Hardware

Víctor Rodrigo González, Pablo M. Olmos, Ignacio Peis, Alejandro Lancho

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Frontier text-to-image (T2I) foundation models predominantly rely on multi-billion parameter Diffusion Transformers (DiTs) pretrained across massive compute clusters, creating an accessibility barrier for academic laboratories. When training DiTs from scratch on single consumer GPUs (e.g., an NVIDIA RTX 4090 with 24 GB VRAM), practitioners encounter three primary bottlenecks: quadratic attention sequence costs, Just-In-Time (JIT) compilation graph breaks induced by variable aspect-ratio bucketing, and an autoencoder throughput wall where frozen Variational Autoencoder (VAE) operations dominate step latency. In this work, we introduce Asuka-FM, an end-to-end system and architectural framework demonstrating that competitive dual-stream DiTs (∼\sim206M parameters) can be pretrained from scratch on a single consumer GPU in ∼\sim160 GPU hours for under 55.Asuka−FMintegratesfourcoredesigns:(i)anAdaLN−freedual−streamDiTbackbonereducingparametercount;(ii)structuredsequencesparsificationviaSparse−DenseResidualFusion(SPRINT)tocutattentionFLOPsbyover5055. Asuka-FM integrates four core designs: (i) an AdaLN-free dual-stream DiT backbone reducing parameter count; (ii) structured sequence sparsification via Sparse-Dense Residual Fusion (SPRINT) to cut attention FLOPs by over 50%; (iii) continuous aspect-normalized Rotary Position Embeddings (RoPE) coupled with shifted square crop training, guaranteeing static tensor shapes while unlocking zero-shot virtual camera control; and (iv) a pixel adaptation phase utilizing a lightweight (10M parameter) Patch Detailer Head operating under velocity regression (v$-prediction). Evaluated on open-domain benchmarks without benchmark-specific fine-tuning, Asuka-FM achieves GenEval 0.588 / DPG 78.96 scores at 256px and GenEval 0.609 / DPG 78.51 scores at 512px, setting a new Pareto-optimal efficiency standard for democratic foundation modeling.

Project Page Code Model Data

(a) Compute Pareto Frontier: Training FLOPs vs. DPG-Bench

FigureFigure

(b) Asuka-FM Samples

Model Params Hardware Budget GenEval ↑\uparrow DPG ↑\uparrow Industrial Foundation Models SD3 Medium [16] 2.0B Massive Cluster 0.620 84.08 Accessible Academic Baselines MiniT2I-L/16 [43] 0.91B 8×\times H100 (27 Days) 0.883† 84.80 Asuka-FM (Consumer GPU, Open Data) Asuka-512 (Ours) 0.21B 1×\times RTX 4090 (81h) 0.609 78.51

(c) Benchmark Summary

Figure 1: Asuka-FM framework overview. (a) Denoiser training compute vs. compositional alignment (DPG-Bench). (b) High-fidelity visual synthesis from our 206M dual-stream backbone. (c) Representative performance summary across industrial models, academic baselines, and Asuka-FM (†denotes finetuning on BLIP3o-60K).

Figure

Figure 2: High-fidelity zero-shot visual synthesis from scratch on a single consumer GPU. Curated open-domain samples synthesized by Asuka-FM (206M backbone) following two-stage pretraining (2562→5122256^{2}\to 512^{2}) on a single NVIDIA RTX 4090 GPU in 149.0 hours ($49.17).

1 Introduction

The emergence of Diffusion Transformers (DiTs) [34] trained via flow matching [27] has established a new state of the art in high-fidelity text-to-image (T2I) synthesis. However, state-of-the-art models, such as FLUX.1 (12B) [3], SD3 (8B) [16], and Qwen-Image (20B) [45], have scaled parameter counts and training datasets to regimes that require industrial-scale data centers. This trajectory has widened the accessibility gap, preventing independent researchers and academic groups with limited resources from training generative models from scratch.

When attempting to pretrain generative diffusion models under compute-constrained environments (e.g., a single workstation with an NVIDIA RTX 4090 with 24 GB GDDR6X), the standard pretraining paradigm encounters three fundamental systems bottlenecks:

  • (i) Quadratic Attention Sequence Redundancy: Standard homogeneous DiTs allocate identical full-token sequence lengths across every transformer block. However, recent representational analyses [33] reveal that early layers primarily capture local high-frequency textures, whereas deep middle blocks model global macro-semantics. Processing full-length sequences across deep layers wastes limited floating-point operations (FLOPs) on redundant spatial details, slowing convergence.
  • (ii) Just-In-Time (JIT) Compilation Graph Breaks vs. Aspect-Ratio Bucketing: Real-world images feature diverse aspect ratios. Conventional pipelines handle this via dynamic aspect-ratio bucketing, grouping images of varying shapes into specialized mini-batches. Under modern tracing and JIT compiler runtimes (e.g., torch.compile with TorchInductor), changing spatial dimensions dynamically triggers continuous kernel recompilations, invalidates static CUDA graphs, and severely degrades actual Model FLOPs Utilization (MFUact\text{MFU}_{\text{act}}).
  • (iii) The Autoencoder Throughput Wall: In conventional Latent Diffusion Models (LDMs) [36], an autoencoder (such as the FLUX.2 VAE [4]) compresses images into a regularized latent space. At high resolutions (1024×10241024\times 1024), storing pre-computed 32-channel float16 latents for hundreds of thousands of images requires multiple terabytes of high-speed storage, exceeding consumer NVMe capacities. Consequently, latents must be computed on-the-fly. On consumer silicon during the training stage, the frozen VAE forward pass consumes ≈60%\approx 60\% of total wall-time, whereas a compiled 200M DiT forward-backward pass requires only ≈35%\approx 35\% (Figure 7 in Appendix A). Furthermore, at inference, VAE decoding accounts for over 70% of wall-clock latency under few-step regimes, creating a computational bottleneck for downstream reinforcement learning (e.g., Flow-GRPO [28]) and distillation.

To address these challenges, we introduce Asuka-FM, an end-to-end system and architectural co-design framework proving that a competitive ∼\sim206M-parameter Dual-Stream DiT can be pretrained from scratch on a single desktop GPU in ∼\sim160 GPU hours for under $55. As showcased in Figure 2, our open-domain model achieves sharp textural coherence, rich lighting, and diverse multi-concept synthesis (additional domain-specialized anime samples are shown in Figure 19 in Appendix H). To achieve this efficiency, we propose a multi-stage training roadmap (Figure 3) coupling structured sequence sparsification, canvas scaling, and latent-to-pixel adaptation. Our primary contributions are:

  • System-Architectural Pretraining Recipe: We establish an engineering pipeline integrating in-RAM latent caching for low-resolution stages, network streaming for intermediate scales, and FlashAttention-2 kernel fusion within a fully static torch.compile execution graph. This setup sustains an average 75.6% physical MFUact\text{MFU}_{\text{act}} on a single consumer RTX 4090 GPU.
  • High-Efficiency Dual-Stream Architecture: We couple an AdaLN-free Dual-Stream DiT backbone with three synergistic mechanisms: (i) SPRINT sequence sparsification [33], routing 75%-sparse token sequences through 9 heavy middle blocks to slash attention FLOPs by over 50%; (ii) Continuous Aspect-Normalized RoPE and shifted square cropping [47, 44], supported by a mathematical derivation proving that uncalibrated continuous RoPE undergoes spatial phase collapse, and a full-spectrum frequency calibration that ensures isotropic decay while conferring zero-shot virtual camera control; and (iii) Decoupled Latent-to-Pixel Adaptation, which attaches a lightweight (10M parameter) convolutional Patch Detailer Head (PDH) [11] under native velocity regression (vv-prediction) to eliminate the online VAE wall.
  • Empirical Ablations and Profiling with Systems Analysis: We discover an Amortization Asymmetry: while pixel adaptation eliminates the online VAE encoding wall during pretraining, its recurrent convolutional evaluation makes standard multi-step sampling (N≥13N\geq 13) slower than latent ODE integration, delivering superior efficiency exclusively in few-step regimes (N≤8N\leq 8, yielding up to 3.34×3.34\times speedups at N=1N=1 step).
  • Open-Domain Validation: Trained on a balanced 625K multi-source open corpus without benchmark-specific fine-tuning (avoiding BLIP3o-60K overfitting), Asuka-FM achieves a GenEval score of 0.588 and DPG-Bench score of 78.96 at 256px (68h), converging to 0.609 GenEval and 78.51 DPG-Bench at 512px (81h).

1A: SPRINT Sparser=0.75r=0.75 Drop ⋅\cdot 75 Ep (∼\sim47.0h) 1B: Dense Refiner=0.00r=0.00 Full ⋅\cdot 20 Ep (∼\sim21.0h) 1C: WSD Cooldownη→10−5\eta\to 10^{-5} ⋅\cdot Linear Decay Asuka-256 BaseConcept & RoPE Anchored (22.44)2A:High−ResSparse22.44) 2A: High-Res Sparser=0.75DropDrop\cdot25Ep( 25 Ep (\sim40.0h)2B:DenseRefine40.0h) 2B: Dense Refiner=0.00FullFull\cdot15Ep( 15 Ep (\sim41.0h)2C:WSDCooldown41.0h) 2C: WSD Cooldown\eta\to 10^{-5} \cdot Linear Decay Asuka-512 High-ResTextures & Macro Layout (26.73) 2×2\times Canvas Scaling (2562→5122256^{2}\to 512^{2})Stage 1: PDH WarmupFrozen DiT ⋅\cdot 5 Ep (∼\sim2.3h) Stage 2: Joint SPRINTSynth Data ⋅\cdot r=0.75→0r=0.75\to 0 (∼\sim21.4h) Stage 3: Real Data SFT396k Curated ⋅\cdot 13 Ep (∼\sim34.0h) Final Pixel DiTZero-Decode RGB Engine (19.04)LatentFoundationWeightsTransferredtoPixelSpaceStage1:256pxBasePretraining(19.04) Latent Foundation Weights Transferred to Pixel SpaceStage 1: 256px Base Pretraining (\approx68.0hon168.0h on 1\timesRTX4090)Stage2:512pxHigh−ResAdaptation( RTX 4090) Stage 2: 512px High-Res Adaptation (\approx81.0hon181.0h on 1\timesRTX4090)Stage3:Latent−to−PixelAdaptation( RTX 4090) Stage 3: Latent-to-Pixel Adaptation (\approx$57.7h on RTX 4090)

Figure 3: Comprehensive multi-stage training roadmap of Asuka-FM. Pretraining advances through two latent resolution tiers (2562→5122256^{2}\to 512^{2}) coupling 75% SPRINT sequence sparsification with full-token dense refinement and Warmup-Stable-Decay (WSD). Stage 3 transitions the converged 512px foundation prior to pixel space using a 10M convolutional Patch Detailer Head (PDH) trained under native vv-prediction across synthetic and real datasets, permanently removing the VAE decode barrier during few-step inference.

References (40)