ml-explore / ml-explore/mlx-examples

Implement RadixAttention in KV cache

Open
#329 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Enhancement request:

Implement RadixAttention in the KV cache

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked RadixAttention paper and locating the repository's KV cache implementation and its tests. Determine how prefix sharing and cache updates should fit the existing design. Done means RadixAttention is implemented in the KV cache with coverage for its expected behavior, but the issue names no files or test entry points.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.