kivy / kivy/python-for-android
torch recipe feature request
- Lenguaje dominante
- Python
- Estrellas
- 8.9k
- Forks
- 2k
- Merge medio
- 12 h 20 min
- PR fusionados (30 d)
- 9
Descripción
Hi,
I have a python Kivy app which is using `torch` package. After I compiled it using `buildozer android debug`, installed the APK and tried to run the application, I received the following error:
`OSError: dlopen failed: library "/data/user/0/com.example.app/files/app/_python_bundle/site-packages/torch/lib/libtorch_global_deps.so" not found` .
During my search online I encountered [issue #1538 in kivy/buildozer](https://github.com/kivy/buildozer/issues/1538), where @misl6 mentioned that `torch` is not a plain-python package, so it will need a recipe in order to be cross-compiled.
Is it possible to add this recipe? IMHO it will be very valuable, especially these days, when we see a lot of ML applications.
Thanks,
Idan.
Guía de contribución
Línea de trabajo
Comienza con el issue #1538 de Buildozer enlazado y reproduce el fallo informado con una aplicación Python de Kivy compilada con `buildozer android debug`. El trabajo está completo cuando un APK que usa `torch` se ejecuta sin el error de `libtorch_global_deps.so` faltante; el issue no indica ningún archivo objetivo ni ninguna prueba.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, python, pytorch
- Área
- build-system, machine-learning, mobile-dev
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100