Adopt the upstream split-backend linking once executorch#21849 lands
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Once pytorch/executorch#21849 lands, move RNE to an ExecuTorch release that carries it and adopt the supported arrangement rather than the one we build today.
Why this needs a deliberate step
We already ship split backend .so files, but our libs are built from the PR branch and the topology we rely on is not the one the upstream AAR uses. Ours works because libRnExecutorch.so links libexecutorch.so and the backend together, so they land in one lookup group with the runtime first. The shipped v0.10.2-libs backends confirm the dependency is implicit:
libxnnpack_executorch_backend.so NEEDED: libm, liblog, libdl, libc # no libexecutorch
GLOBAL DEFAULT executorch::runtime::register_backend(...) # its own copy
The merged version links the backend against the runtime instead, so register_backend and get_pthreadpool become UND and resolve through DT_NEEDED. That is load-order independent, and libexecutorch.so gains a matching SONAME.
What to check when we bump
-
android/CMakeLists.txtstill links the backends explicitly. WithDT_NEEDEDin place this is no longer what makes registration work, but it is still what gets them packaged. - Confirm the new backends are
UNDforregister_backend, not defining it:llvm-readelf --dyn-syms libxnnpack_executorch_backend.so | grep register_backend. - Confirm
DT_NEEDEDnameslibexecutorch.soand that theSONAMEof our staged runtime matches, or the loader looks for a file the APK does not carry. - Re-check the thread pool:
get_pthreadpool()must resolve to the runtime's singleton, otherwise XNNPACK runs on a second, unconfigured pool and our thread-count tuning silently does nothing. - Run a delegated model on device per backend. A backend registering into the wrong table fails as
DelegateNotFoundat execution, not at load, so a smoke test that only loads the library will not catch it.
Related
- Upstream PR: pytorch/executorch#21849
- Our current libs:
v0.10.2-libs
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.8k
- Forks
- 101
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 58
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
-
dependencies platform: ios
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
software-mansion/react-native-executorch#1617 ·
Los mantenedores suelen responder en 1 día
-
Peer react-native >=0.83Posiblemente ocupada @msluszniak la tomó hace 1 día. Abiertodependencies dev exp
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
software-mansion/react-native-executorch#1623 ·
Los mantenedores suelen responder en 1 día
-
Docs: iOS < 17 fails pod install on the bare templatePosiblemente ocupada @msluszniak la tomó hace 1 día. Abiertodocumentation platform: ios
Dificultad 1/5 Menos de una hora Aptitud para principiantes 20/100
software-mansion/react-native-executorch#1622 ·
Los mantenedores suelen responder en 1 día
-
Docs: dynamic frameworks are supportedPosiblemente ocupada @msluszniak la tomó hace 1 día. Abiertodocumentation platform: ios
Dificultad 1/5 1-3 horas Aptitud para principiantes 35/100
software-mansion/react-native-executorch#1621 ·
Los mantenedores suelen responder en 1 día
-
Docs: drop the Expo babel.config.js stepPosiblemente ocupada @msluszniak la tomó hace 1 día. Abiertodocumentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
software-mansion/react-native-executorch#1620 ·
Los mantenedores suelen responder en 1 día
Todos los issues de software-mansion/react-native-executorch
Issues similares
-
Navbar avatar and name stay stale after saving profile changesPosiblemente ocupada @alexechoi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
marmelab/atomic-crm#416 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
epam/ai-dial-react-file-manager#99 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
canonical/craft-actions#146 ·
Los mantenedores suelen responder en 2 días
-
feature-request
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
bluesky-social/social-app#12343 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
lucide-icons/lucide#5165 ·
Los mantenedores suelen responder en 1 día