Spike: llama.rn inference on the Note 9S
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- android, react-native, typescript
Línea de trabajo
Resolve dependency #63 first, then run the minimal Expo SDK 57 dev build with llama.rn on the Redmi Note 9S. Test the listed GGUF sizes, quantizations, thread counts, prompt shapes, and JSON-schema generation, recording device details and measurements in evidence/64/bench.json. Finish with the decision in docs/adr/0001-on-device-runtime.md and a screen recording.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Part of the JobTrail v2 rebuild · design doc · all drafts · draft #3
Depends on: #63
Context. Decides which model sizes and quantizations are viable on the minimum-spec device, before we train anything. Legacy never ran a model on a device.
Scope
-
Minimal Expo SDK 57 dev build (New Architecture) with
llama.rn; Android build on Windows (local Android SDK or EAS). -
Load off-the-shelf GGUFs: Gemma 3 270M and Qwen3-0.6B at Q8_0, Q4_K_M, Q4_0 (+ one ~1B model if RAM allows).
-
Measure per config: model load time, TTFT, prefill tok/s, decode tok/s, peak RSS, with threads = 2 / 4 / 6.
-
Measure two prompt shapes: long (~400-token instructions + schema + note) vs short (note only, ~100 tokens) — quantifies the prefill cost fine-tuning would remove.
-
Test JSON-schema-constrained generation works (grammar) and its overhead.
-
Record Note 9S RAM variant and Android version.
Acceptance criteria
-
evidence/64/bench.jsonwith all measurements + device info; screen recording of one run. -
Short written decision (ADR
docs/adr/0001-on-device-runtime.md): viable size range, best thread count, quant formats to carry forward, p50 latency target for the product.
Definition of done (all issues)
Definition of done (every issue):
-
Acceptance criteria met with evidence linked in the closing comment (test run, results JSON, screenshot/recording).
-
needs-deviceissues: benchmark JSON + short screen recording from the named device committed underevidence/<issue#>/. -
No claim in README/docs that isn't backed by a committed artifact.
-
CI green.
Device shorthand: Note 9S = Redmi Note 9S 6 GB (Snapdragon 720G, CPU-only), the minimum-spec device. iPhone = iPhone 16 Pro.
Budget rule: free tiers first (Gemini API free tier, Kaggle/Colab free GPUs, HF Hub, Vercel Hobby). Any script calling a cloud model must throttle to free-tier limits, checkpoint/resume, and log token usage. Paid spend only with owner approval, capped at a few dollars.
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 14 h 46 min
- PR fusionados (30 d)
- 21
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Taleef7/JobTrail
-
area:docs
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
area:data type:eval
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
area:mobile type:eval
Dificultad 4/5 Más de una semana Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
Results & evidence pages; deployAbiertoarea:docs area:web
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
area:web type:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de Taleef7/JobTrail
Issues similares
-
parse names a key after a top-level multi() threshold Bitcoin Core v31.1 refuses as not validAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
btclib-org/btclib-wallet#587 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Judgment-Pack/judgment-pack-spec#275 ·
Los mantenedores suelen responder en 1 día
-
ai-generated
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
documentation good first issue priority: low size: XS
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
yeongseon/azure-functions-doctor-python#651 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Changaco/python-libarchive-c#146 ·