Skip to content

About

vLLM plugin for attention-ffn disaggregation support

Resources

Stars

249 stars

Watchers

0 watching

Forks

Repository files navigation

AFD Plugin

| Documentation | Recipe | Slides | DeepWiki | User Forum | Developer Slack | WeChat |

Overview

afd-plugin is a vLLM external plugin for Attention-FFN Disaggregation (AFD). It provides plugin-owned worker classes, model runners, model wrappers, connectors, configuration validation, compatibility shims, and hardware-gated integration tests for GPU and Ascend NPU deployments.

Note

This project is still experimental and needs more large-scale testing across different hardware backends.

The plugin extends vLLM through its general-plugin entry point without modifying the vLLM source tree.

Architecture

afd-plugin architecture

Getting started

  1. Install AFD for CUDA or Ascend NPU.
  2. Choose a connector and supported model, then follow its deployment recipe.
  3. Pass role/topology settings through --additional-config. Send requests to Attention; FFN serves connector work.

Support matrix

See the support matrix for models, connectors, tested configurations, and known accuracy/shutdown limits.

Documentation

Browse the documentation index for user guides, module design, validation and troubleshooting.

Development

For CPU-only or macOS development, follow source setup, then run:

uv run pytest
uv run ruff check .

Read the contributor rules and test maintenance guide before changing code or tests. See module design for ownership, native builds for backend operators, and the E2E guide for hardware validation.

License

afd-plugin is licensed under the Apache License 2.0.

Cite

If you find afd-plugin helpful in your research or projects, please consider citing it:

@misc{afdplugin2026,
  title={afd-plugin: Attention-FFN Disaggregation for vLLM},
  author={AFD Plugin Contributors},
  year={2026},
  howpublished={\url{https://github.com/vllm-project/afd-plugin}},
}

About

vLLM plugin for attention-ffn disaggregation support

Resources

Stars

249 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages