← 开源

vLLM plugin for attention-ffn disaggregation support

C++
增长势头
+024 小时新增 Star0.0%
256
Star
76
Fork
31
贡献者
创建于 2026-05-14 · 更新于 2026-11-30 · 今日第 27399 名
主要开发者
README

| 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

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}},
}
排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载