Practical overview
When it fits
Use Orthrus when you want to experiment with parallel decoding for Qwen3 checkpoints and can meet the documented hardware and dependency requirements.
Who it is for
- Developers experimenting with faster inference for Qwen3-based language models.
- Researchers comparing parallel diffusion decoding with autoregressive generation.
- Apple Silicon users looking to try the repository’s documented MLX inference path.
Documented uses
- Load an Orthrus Qwen3 checkpoint and generate text in diffusion mode.
- Explore parallel token generation while retaining the base model’s predictive distribution, as claimed by the project.
- Try the provided inference implementation on CUDA or through the documented MLX path.
Requirements & limits
The implementation is in a public GitHub repository under the MIT license. The README links model checkpoints on Hugging Face and provides a Colab quickstart.
- The listed checkpoints use Qwen3 backbones; the repository does not document a general checkpoint-agnostic setup.
- The standard quickstart uses CUDA, bfloat16 and FlashAttention, with SDPA and eager listed as attention options.
- The repository documents a separate MLX route for Apple Silicon and identifies the MLX and MLX-LM versions used.
- Native vLLM and SGLang integration is described as forthcoming in the README.
- The README reports speedup and lossless-generation results; these are project claims rather than independent evaluations.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Load an Orthrus checkpoint for diffusion-mode generation
Set up the documented CUDA/Transformers quickstart and generate text with an Orthrus Qwen3 checkpoint.
Before you start
- Python environment with the Orthrus repository
- CUDA device for the documented CUDA quickstart
- PyTorch, Transformers and a tokenizer
- Ninja, Packaging and FlashAttention dependencies
Steps
Install the repository in editable mode with the command below.
uv pip install -e .Install Ninja and Packaging, then install FlashAttention as shown in the README.
Load
chiennv/Orthrus-Qwen3-8Bwith Transformers,dtype=torch.bfloat16,device_map="cuda"and the documented attention implementation.Load the tokenizer, prepare prompt input with the chat template, and call
model.generatewithuse_diffusion_mode=True.
Expected outcome
The example produces streamed text from an Orthrus Qwen3-8B checkpoint using diffusion-mode generation.
Guide limitations
- The README’s quickstart depends on a CUDA device and shows
trust_remote_code=True. - The README describes native vLLM and SGLang integration as forthcoming.
Generate tokens with the documented MLX example
Use the repository’s MLX support example to generate output with an Orthrus checkpoint on Apple Silicon.
Before you start
- Apple Silicon device
- MLX and MLX-LM; the README lists mlx==0.31.2 and mlx-lm==0.31.3 as tested versions
- Access to the Orthrus-Qwen3-1.7B checkpoint
Steps
Import
load_model_and_tokenizerandmlx_generatefromsrc.model_mlx.Load the
chiennv/Orthrus-Qwen3-1.7Bmodel and tokenizer.Encode a prompt with the tokenizer.
Pass the model, prompt tokens, end-of-sequence token ID and a token limit to
mlx_generate, then decode generated tokens.
Expected outcome
The documented example prints generated text token by token through the MLX path.
Guide limitations
- The README identifies specific MLX and MLX-LM versions for its tested support.
- The example uses the 1.7B checkpoint.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 12 November 2026
- Original website title
- chiennv2000/orthrus · Official homepage title · retained in its source language

