Text-to-Image
Transformers
Safetensors
Inference Endpoints
File size: 993 Bytes
c3e0503
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
license: apache-2.0
pipeline_tag: text-to-image
library_name: transformers
---

# LANTERN

This repository is an official PyTorch implementation of the paper [LANTERN: Accelerating Visual Autoregressive Models via Relaxed Speculative Decoding](https://arxiv.org/abs/2410.03355) (ICLR 2025) and [LANTERN++: Enhanced Relaxed Speculative Decoding with Static Tree Drafting for Visual Auto-regressive Models](https://arxiv.org/abs/2502.06352) (ICLRW - SCOPE(Oral) 2025), which supports various functionalities related to LANTERN, including model inference, drafter model training, drafter model training data generation and image decoding for image generation.

---

## 📚 Table of Contents
1. [Directory Structure](#directory-structure)
2. [Installation](#installation)
3. [Key Features](#key-features)
4. [Usage](#usage)
5. [License](#license)
6. [Acknowledgement](#acknowledgement)
7. [Citation](#citation)
---
**(Content below remains unchanged)**
Code: https://github.com/jadohu/LANTERN