ONNX importer: LSTM, Gather, Unsqueeze/Squeeze, Cast, Where, If (Silero VAD import as the gate)
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
- Activo
- Stack tecnológico
- kotlin
- Área
- machine-learning
Línea de trabajo
Start with OnnxImport.kt and the existing converters, then read the Lstm API from #823 and the ONNX opset semantics described here. The work spans recurrent lowering, multiple operators, constant-folded control flow, and test coverage; run the one-node converter tests and the pinned silero_vad.onnx import against its ORT golden. Done means end-to-end import without hand edits and outputs within 1e-4.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
skainet-io-onnx's graph importer (OnnxImport.kt) handles Add, BatchNormalization, Concat, Conv, Div, Gemm, LeakyRelu, MatMul, MaxPool, Mul, Relu, Reshape, Resize, Sigmoid, Silu, Slice, Softmax, Split, Sub, Transpose, Upsample — the YOLO-shaped set from #230. Recurrent and control-flow nodes are absent, so common small audio/speech graphs (Silero VAD, RNN-T prediction nets, NeMo exports) cannot be imported even though the DSL has Lstm (#823) and gather.
This is the verification path for the native Silero VAD issue: importing the upstream graph and comparing against the hand-written module catches drift in either.
Scope
-
LSTM(ONNX opset ≥ 7 semantics:W,R,Blayouts,initial_h/initial_c,direction=forwardfirst; bidirectional as a follow-up) lowered ontoLstm.stepunrolled over the sequence axis. -
Gather,Unsqueeze,Squeeze,Cast,Where,Shape/ConstantOfShapeas needed by the Silero graph. -
Ifwith constant-foldable conditions (Silero's sample-rate branch) — fold at import when the condition is an initializer, reject otherwise with a clear message rather than silently importing one branch. - Import test on the pinned
silero_vad.onnx: graph builds, forward matches ORT golden within 1e-4 (same golden as the native Silero issue). - Ground-truth coverage for the new ops (#985).
Acceptance
OnnxLoaderimports Silero VAD end to end without hand edits to the file.- Each new converter has a unit test with a minimal one-node graph.
Related
- #230 — ONNX I/O module MVP
- #823 —
Lstm - #985 — ground-truth op coverage
- Lenguaje dominante
- Kotlin
- Estrellas
- 52
- Forks
- 15
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 36
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 SKaiNET-developers/SKaiNET
-
coding good first issue size:xs skill:kotlin-core sub-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
SKaiNET-developers/SKaiNET#1323 ·
Los mantenedores suelen responder en 1 día
-
coding good first issue platform size:xs skill:js sub-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SKaiNET-developers/SKaiNET#1232 ·
Los mantenedores suelen responder en 1 día
-
skeep tracking
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
SKaiNET-developers/SKaiNET#1331 ·
Los mantenedores suelen responder en 1 día
-
assessment size:s skill:review sub-issue
Dificultad 4/5 1-2 días Aptitud para principiantes 18/100
SKaiNET-developers/SKaiNET#1330 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue size:s skill:docs sub-issue
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
SKaiNET-developers/SKaiNET#1329 ·
Los mantenedores suelen responder en 1 día
Todos los issues de SKaiNET-developers/SKaiNET
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 3 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
lugassawan/swe-workbench#799 ·
Los mantenedores suelen responder en 1 día
-
Default book icon displayed while loadingPosiblemente ocupada @Bhaskar-Guthula-137 la tomó hoy. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
kiwix/kiwix-android#5194 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
d4rken-org/butler#300 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
jellyfin/jellyfin-androidtv#5885 ·
Los mantenedores suelen responder en 1 día