SmolLM2-135M compiled leg: DSL → StableHLO → IREE showcase (gemma-iree precedent)
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
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- kotlin
- Área
- backend, machine-learning
Línea de trabajo
Read llm-runtime/gemma-iree/src/nativeMain/IreeRuntime.kt, GemmaDecoder.kt, and GemmaKvDecoder.kt, then inspect the host-side :llm-inference:gemma StableHLO export. The issue asks for a SmolLM2 export and compiled decode path integrated with the #272 cross-target reproducer; done means eager and compiled results can be compared on the listed targets. This spans model export, runtime architecture, and multiple platforms.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Split out from #272 — the eager-path scope of that issue is done (the
SmolLm2InferenceSpike.kt commonTest reproducer, AndroidSmolLm2E2eTest.kt,
and the feature/smoll disposition are all resolved). This issue tracks the
one item that's still open: the compiled path.
Ask
Add the SmolLM2-135M-Instruct compiled leg — DSL → nn-DAG → StableHLO → IREE
— following the :llm-runtime:gemma-iree precedent:
- A
gemma3(orsmollm2) → StableHLO export on the host side, matching
:llm-inference:gemma's existing gemma3 → StableHLO export that produces
the.vmfb+.irpapair. - A
:llm-runtime:smollm2-iree-shaped module (or extendgemma-ireeif the
architecture is close enough) with the on-device decode loop —
IreeRuntime+ a*Decoder, mirroringGemmaDecoder/GemmaKvDecoderin
llm-runtime/gemma-iree/src/nativeMain. - Wire it into the same cross-target reproducer harness from #272 so eager
vs. compiled numbers are directly comparable per target (JVM, Android,
iOS simulator/device, linuxX64/Arm64, macosArm64).
Why this model
SmolLM2-135M-Instruct (138 MiB, GGUF Q8_0) is already the standard
cross-target reproducer per #272 — small enough for CI, phones and
simulators, llama-architecture. Using the same checkpoint for the compiled
leg gives an apples-to-apples eager-vs-compiled comparison per target instead
of introducing a second model just for this path.
Context
- Field report that motivated the reproducer effort: SKaiNET-developers/SKaiNET's mobile
field report (context in #272). gemma-ireeprecedent:llm-runtime/gemma-iree(IreeRuntime.kt,
GemmaDecoder.kt,GemmaKvDecoder.ktinsrc/nativeMain), paired with the
host-sidegemma3→ StableHLO export in:llm-inference:gemma.
- Lenguaje dominante
- Kotlin
- Estrellas
- 8
- Forks
- 3
- Merge medio
- 1 d 16 h
- PR fusionados (30 d)
- 48
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 SKaiNET-developers/SKaiNET-transformers
-
documentation good first issue size:xs skill:docs sub-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
SKaiNET-developers/SKaiNET-transformers#478 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement skill:kotlin-core
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
SKaiNET-developers/SKaiNET-transformers#502 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
SKaiNET-developers/SKaiNET-transformers#483 ·
Los mantenedores suelen responder en 1 día
-
coding good first issue size:s skill:kotlin-core sub-issue
Dificultad 4/5 1-2 días Aptitud para principiantes 64/100
SKaiNET-developers/SKaiNET-transformers#477 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
coding good first issue size:s skill:numerics sub-issue
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
SKaiNET-developers/SKaiNET-transformers#476 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de SKaiNET-developers/SKaiNET-transformers
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
AniTrend/anitrend-v2#1344 ·
Los mantenedores suelen responder en 1 día
-
Non-standard unsaved file dialogAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
zhanghai/MaterialFiles#1659 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Droid-Deck/DroidDeck#1098 ·
Los mantenedores suelen responder en 1 día
-
Blank screen in Download tab after searching with no results and switching tabsPosiblemente ocupada @mangod12 la tomó hoy. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
kiwix/kiwix-android#5211 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
deniscerri/ytdlnis#1430 ·
Los mantenedores suelen responder en 1 día