Elastic on-device inference - swap LLM mid-generation and carry KV cache (molt / kvine)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 領域
- ai, machine-learning, mobile-dev
調査の方向性
Read the molt and kvine proposals linked in the issue and compare them with ExecuTorch’s on-device inference capabilities. The issue asks maintainers to choose a direction and offers an RFC, but does not define a specific code change or completion criteria.
索引モデルが issue の本文から書いたものです。
説明
🚀 The feature, motivation and pitch
Hi, proposing a concrete contribution for ExecuTorch:
Proposal 1: molt - elastic on-device inference
Swap the LLM mid-sentence and carry the KV cache across.
When a generation hits memory pressure, it migrates to a smaller model between tokens instead of being reclaimed or restarted.
Repo: https://github.com/NagaYu/molt
Proposal 2: kvine - branch-aware KV cache
Treats agent trajectories as a persistent copy-on-write tree (PyTorch + HF Transformers), useful for branching on-device agents.
Repo: https://github.com/NagaYu/kvine
Portfolio: https://nagayu-portfolio.nagayu.workers.dev/en
Happy to open a PR for Proposal 1 first as an example / RFC if you are open to it. Which would be most useful for ExecuTorch?
MIT for research. Open to commercial license discussion.
Alternatives
No response
Additional context
No response
RFC (Optional)
No response
- 主要言語
- Python
- スター
- 5.1k
- フォーク
- 1.2k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 684
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pytorch/executorch のほかの issue
-
Windows: _get_flatc_path() looks for data/bin/flatc but the wheel ships flatc.exe (WinError 2)対応中かも @JacobSzwejbka が 4 日前に担当しました。 オープンbug module: exir triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
pytorch/executorch#23989 · リアクション 1 件 · 担当者 3 名 ·
メンテナーはふだん 1 日以内に返信
-
Portable remainder kernel: wrong sign for integers and float64 rounded to float対応中かも @JakeStevens が 13 日前に担当しました。 オープンbug module: kernels triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
pytorch/executorch#23682 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
enhancement triaged
難易度 2/5 半日 初心者へのやさしさ 68/100
pytorch/executorch#21640 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
pytorch/executorch#24125 ·
メンテナーはふだん 1 日以内に返信
-
Arm/TOSA: allow int64 through when the spec declares the int64 extension対応中かも @abm-77 が 2 日前に担当しました。 オープンbug module: arm partner: arm
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
pytorch/executorch#24095 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
pytorch/executorch の issue をすべて見る
似ている issue
-
bug P2 rust
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
jscott3201/rusty-bacnet#2085 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
evarness-ai/iris-harness#401 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
sistemicorp/scripts#62 ·
-
area/mac help wanted needs-qa
難易度 1/5 1時間未満 初心者へのやさしさ 76/100