Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Move DeepSeek R1 to LiteRT-LM and remove MediaPipe

オープン
#217 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
flutter
領域
mobile

調査の方向性

Start with the model URL and file type in lib/data/repositories/ai_model_repository_impl.dart, then check the DeepSeek token limit in lib/data/datasources/llm/local_model_params.dart. Update the listed FlutterGemma.initialize(...) call sites and integration tests, and remove the dependency from pubspec.yaml. Test download and responses on a real phone, including <think> rendering and memory use on a low-RAM device; confirm the old .task file is no longer needed.

索引モデルが issue の本文から書いたものです。

説明

enhancement good first issue P2-Medium

What

Move DeepSeek R1 to the LiteRT-LM engine and remove the MediaPipe engine from the app.

Why

  • Right now MediaPipe is only in the app for one model: DeepSeek R1. Our catalog downloads it as a .task file (deepseek_q8_ekv1280.task), which only MediaPipe can run. Qwen3 and Gemma 4 already use LiteRT-LM.
  • Google's own model card says the MediaPipe route is "in maintenance mode", so it won't get new fixes or speedups.
  • A LiteRT-LM build of DeepSeek R1 now exists in the same Hugging Face repo:
    DeepSeek-R1-Distill-Qwen-1.5B_multi-prefill-seq_q8_ekv4096.litertlm
  • One engine instead of two means less to maintain, a smaller app, and DeepSeek gets the same GPU handling and fixes as the other models.

Not a drop-in swap

  • The new file has a bigger context (4096 vs our 1280), so it uses more memory. Needs checking on a low-RAM phone.
  • People who already downloaded the old .task file would need to download the new one. The old file becomes unused (the storage cleanup can remove it).

What to change

  • lib/data/repositories/ai_model_repository_impl.dart — point DeepSeek R1 at the .litertlm URL, file type litertlm
  • lib/data/datasources/llm/local_model_params.dart — DeepSeek maxTokens 1280 → 4096
  • Remove MediaPipeEngine() from FlutterGemma.initialize(...) in lib/main.dart, lib/features/shiv/gana/engine/gana_workmanager.dart, and the integration tests
  • Remove flutter_gemma_mediapipe from pubspec.yaml

How to test (on a real phone)

  • DeepSeek R1 downloads, loads, and answers
  • <think> reasoning blocks still show correctly
  • Memory use and speed compared with the old file
  • Works on a low-RAM phone without being killed

Depends on #216 (flutter_gemma 1.8.3).

主要言語
Dart
スター
2
フォーク
2
平均マージ
18時間 53分
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

basictech01/uniun のほかの issue

basictech01/uniun の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。