Suggestion: batch call for text embeddings
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- pytorch, react-native, typescript
- Área
- machine-learning, mobile
Línea de trabajo
Start by reading the existing embed(input: string) implementation and its worklet variant, then trace how text is tokenized and passed to the native runtime. The issue proposes embedBatch(inputs: string[]) with native batching and padding, but does not identify the relevant files or tests. Done means the batch API and worklet variant return one embedding per input and are covered by tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem description
embed(input: string) takes one text. Indexing a corpus means one call per document (5183 documents in our SciFact run = 5183 calls), each paying the JS-to-native and worklet hop.
Proposed solution
Add embedBatch(inputs: string[]): Promise<Float32Array[]> (and a worklet variant) that tokenizes and runs the batch natively, padding inside.
Alternative solutions
No response
Benefits to React Native ExecuTorch
Not a performance problem today: RNE was the fastest embedder we measured on Android (all-MiniLM-L6-v2 int8, about 13 ms per text on both phones). A batch call would send the texts once instead of once per text, and make RAG indexing code simpler.
Additional context
No response
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.8k
- Forks
- 102
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 46
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 software-mansion/react-native-executorch
-
Require react-native-blob-util >=1.0.0 (Xcode 27 iOS build failure)Posiblemente ocupada @msluszniak la tomó hace 22 días. Abiertodependencies platform: ios
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
software-mansion/react-native-executorch#1617 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Android: prebuilt libexecutorch.so SIGILLs on ARMv8.0 CPUs (unguarded LSE atomics in the JNI layer, one-line fix upstream)Posiblemente ocupada @msluszniak la tomó hoy. Abiertouser exp
software-mansion/react-native-executorch#1665 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Chat session: add `session.reset()` for stateless single-turn requestsPosiblemente ocupada @barhanc la tomó hace 1 día. Abiertofeature request
software-mansion/react-native-executorch#1664 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
software-mansion/react-native-executorch#1661 ·
Los mantenedores suelen responder en 1 día
-
Selfie segmentation: single-channel mask is passed through sigmoid twicePosiblemente ocupada @barhanc la tomó hace 1 día. Abiertomodel
software-mansion/react-native-executorch#1660 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de software-mansion/react-native-executorch
Issues similares
-
enhancement from-app needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
nightly-labs/openbot#19162 ·
Los mantenedores suelen responder en 1 día
-
triage:in-progress
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Cotal-AI/Cotal#11229 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
npm ci fails with EALLOWREMOTE on npm 12Posiblemente ocupada @landry-kapgnep la tomó hoy. Abiertostatus/need-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
google-gemini/gemini-cli#30525 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
omdsh-dev/DSH-better-sidebar#1290 ·
Los mantenedores suelen responder en 1 día
-
Suggest a wallet: WalletChanPosiblemente ocupada @apoorvlathey la tomó hoy. Abiertoawaiting changes needs triage 📥
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ethereum/ethereum-org-website#20000 · 3 comentarios ·
Los mantenedores suelen responder en 1 día