What do you want to do?
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.
- REPO
ZinYY/AdaFlash - Software and DevOps
- Intermediate
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.
- REPO
-
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.
- REPO
ZinYY/AdaFlash - Software and DevOps
- Intermediate
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.
- REPO
-
Train an Ada Flash drafter on your own response data
Regenerate training data, initialize the adaptive length head, then run asynchronous on-policy training.
- REPO
ZinYY/AdaFlash - Software and DevOps
- Advanced
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.
- REPO
Quick start with Ada Flash
- 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.
- Open ZinYY/AdaFlash on GitHub and read the README and license.
- Create the environment with
conda create -n adaflash python=3.12 -yand thenconda activate adaflash. - Install the patched SGLang with
pip install "sglang[all] @ git+https://github.com/sgl-project/sglang.git@refs/pull/34171/head#subdirectory=python"and thenpip install -r requirements.txt. - Prepare the benchmark split with
python bin/prepare_data.py --dataset gsm8k. - Set
export MODEL_PATH=Qwen/Qwen3-8B,export DRAFT_MODEL_PATH=AdaFlash/Qwen3-8B-PerfectBlend,export DATASET=gsm8k,export NUM_SAMPLES=1024, andexport 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
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout 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.
Markdown
[](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&utm_medium=badge&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.