DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use Ada Flash: what you can do with it

What is Ada Flash? AdaFlash is an open-source framework for faster speculative decoding that pairs Qwen3 target models with on-policy distilled diffusion drafters and an adaptive length head, served through a patched SGLang.

How do I use it? Create the environment with conda create -n adaflash python=3.12 -y and then conda activate adaflash; then install the patched SGLang with pip install "sglang[all] @ git+https://github.com/sgl-project/sglang.git@refs/pull/34171/head#subdirectory=python" and then pip install -r requirements.txt; Prepare the benchmark split with python bin/prepare_data.py --dataset gsm8k. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

3 use cases

  • Measure Ada Flash decoding speed against baselines on GSM8K

    Run the one-command Ada Flash benchmark on a GSM8K split to get throughput numbers for your own GPUs.

    View prompt
    In the ZinYY/AdaFlash repo, set up the environment from the README, prepare the gsm8k split, and run scripts/tools/benchmark.sh with MODEL_PATH=Qwen/Qwen3-8B and DRAFT_MODEL_PATH=AdaFlash/Qwen3-8B-PerfectBlend for <your GPU machine>. Report the throughput output from the benchmark. Verify that the server started with the patched SGLang before trusting any number.
  • Serve Qwen3-8B with an Ada Flash drafter and test it over HTTP

    Launch an Ada Flash SGLang server for Qwen3-8B and send requests to its /generate endpoint.

    View prompt
    In the ZinYY/AdaFlash repo, start the AdaFlash server with scripts/serve/serve_thresh_head.sh for Qwen/Qwen3-8B and then run python bin/benchmark.py against its /generate endpoint. Expected output is a benchmark summary from the client. Verify that the server is ready before sending requests and that the drafter is AdaFlash/Qwen3-8B-PerfectBlend.
  • Train an Ada Flash drafter on your own response data

    Regenerate training data, initialize the adaptive length head, then run asynchronous on-policy training.

    View prompt
    In the ZinYY/AdaFlash repo, prepare a dataset, regenerate responses with Qwen/Qwen3-8B, initialize the adaptive length head, and start scripts/pipeline/run_async_pipeline_adaflash.sh with inference GPU 0 and training GPUs 1,2. Expected output is versioned drafter weights written under the swap directory and logs under the log directory. Verify that the initialized draft path exists before starting the async run.

Quick start with Ada Flash

  1. Check you have what it needs: A Linux machine with NVIDIA GPUs and CUDA, since the README sets CUDA devices and separate GPU sets for serving and training; Conda and Python 3.12, as used in the README install steps; Access to the Qwen3-8B target model and the AdaFlash/DFlash checkpoints on Hugging Face.
  2. Open ZinYY/AdaFlash on GitHub and read the README and license.
  3. Create the environment with conda create -n adaflash python=3.12 -y and then conda activate adaflash.
  4. Install the patched SGLang with pip install "sglang[all] @ git+https://github.com/sgl-project/sglang.git@refs/pull/34171/head#subdirectory=python" and then pip install -r requirements.txt.
  5. Prepare the benchmark split with python bin/prepare_data.py --dataset gsm8k.
  6. Set export MODEL_PATH=Qwen/Qwen3-8B, export DRAFT_MODEL_PATH=AdaFlash/Qwen3-8B-PerfectBlend, export DATASET=gsm8k, export NUM_SAMPLES=1024, and export CONCURRENCY=64.

These steps come from our top use case, Measure Ada Flash decoding speed against baselines on GSM8K, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for ZinYY/AdaFlash

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Software and DevOps

About this repo

  • Who it is forBuilt for ML engineers and researchers who serve or train Qwen3-family models and want to measure or improve speculative decoding speed.
  • Why it is hot133 stars, launched 81 days ago
  • LanguagePython
  • Sourcegithub.com/ZinYY/AdaFlash ยท Back to Hot repos

Requirements

  • A Linux machine with NVIDIA GPUs and CUDA, since the README sets CUDA devices and separate GPU sets for serving and training
  • Conda and Python 3.12, as used in the README install steps
  • Access to the Qwen3-8B target model and the AdaFlash/DFlash checkpoints on Hugging Face
  • The patched SGLang version from the linked SGLang PR, because a stock SGLang release may not expose the required arguments

Add this badge to your README

Maintain Ada Flash? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/ZinYY/AdaFlash.svg)](https://dedupedai.com/use-cases/zinyy-adaflash/?utm_source=github&utm_medium=badge&utm_campaign=ZinYY-AdaFlash)

HTML

<a href="https://dedupedai.com/use-cases/zinyy-adaflash/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=ZinYY-AdaFlash"><img src="https://dedupedai.com/badge/ZinYY/AdaFlash.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Ada Flash

What is Ada Flash?

AdaFlash is an open-source framework for faster speculative decoding that pairs Qwen3 target models with on-policy distilled diffusion drafters and an adaptive length head, served through a patched SGLang. It is an open-source project on GitHub: https://github.com/ZinYY/AdaFlash.

How do I use Ada Flash?

Create the environment with conda create -n adaflash python=3.12 -y and then conda activate adaflash; then install the patched SGLang with pip install "sglang[all] @ git+https://github.com/sgl-project/sglang.git@refs/pull/34171/head#subdirectory=python" and then pip install -r requirements.txt; Prepare the benchmark split with python bin/prepare_data.py --dataset gsm8k. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Ada Flash for?

Built for ML engineers and researchers who serve or train Qwen3-family models and want to measure or improve speculative decoding speed.

What can I do with Ada Flash?

3 use cases so far, for example: Measure Ada Flash decoding speed against baselines on GSM8K; Serve Qwen3-8B with an Ada Flash drafter and test it over HTTP; Train an Ada Flash drafter on your own response data. Each has steps and a copy-paste agent prompt.

What do I need to run Ada Flash?

A Linux machine with NVIDIA GPUs and CUDA, since the README sets CUDA devices and separate GPU sets for serving and training; Conda and Python 3.12, as used in the README install steps; Access to the Qwen3-8B target model and the AdaFlash/DFlash checkpoints on Hugging Face; The patched SGLang version from the linked SGLang PR, because a stock SGLang release may not expose the required arguments.

What are alternatives to Ada Flash?

Other hot AI repos in Software and DevOps: ECC, Thinkrail, Superpowers, Deep Infer, Instructor.

Is Ada Flash safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.