GitHub
Cover art for Lightreason Speeds Up Qwen Models

Lightreason Speeds Up Qwen Models

Lightreason boosts Qwen2.5-3B and Qwen3.6-35B speeds on RTX 4090 GPUs.

9 cards · 1m 10s · tap to begin

From · · 1m 10s

Lightreason Speeds Up Qwen Models

Lightreason boosts Qwen2.5-3B and Qwen3.6-35B speeds on RTX 4090 GPUs.

In brief

Lightreason boosts Qwen2.5-3B and Qwen3.6-35B speeds on RTX 4090 GPUs. Lightreason achieves 2.22× speedup on Qwen2.5-3B and 9.00× on Qwen3.6-35B using GPU optimizations. Originally reported by GitHub.

Lightreason Overview

token speedtup. Contribute to me-farza/lightreason development by creating an account on GitHub.

Lightreason is a local inference lab and interactive Studio for running Qwen faster on one RTX 4090.

Model Performance

Decode tokens per second and speedup over the same workload on the initial runner. Qwen2.5-3B reaches 2.22× on the target-only suite, 9.00× on a complete matchi

Qwen2.5-3B reaches 2.22× speed on target-only suite and 9.00× on complete matching benchmarks.

3B Model Results

3B model achieves 63.0 → 139.6 tok/s across six prompts with LR CUDA graphs and compact KV.

35B Model Results

35B model reaches 7.93 → 51.08 tok/s on capped Python prompts with 6.44× speedup.

Optimization Techniques

LR uses NVIDIA CUDA Graphs, AMD PARD2, Inco AI DFlash2, and FlashML’s FreeToken for speed.

Live Studio

Live Studio allows interactive testing of speed with prompt comparisons and real-time timing.

3B Setup

3B setup requires RTX 4090, CUDA 12.8, Python 3.12, and 6.2 GB model download space.

35B Setup

35B setup needs more RAM and uses pinned Qwen3.6-35B-A3B with 64.56 GiB text weights.

Speedup Mechanism

Lightreason records and replays GPU work, keeps compact attention cache, and combines BF16 projections.

The one thing

Lightreason achieves 2.22× speedup on Qwen2.5-3B and 9.00× on Qwen3.6-35B using GPU optimizations.

Read the original on GitHub

How we make summaries

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on qwen2.5-3b and related topics.