kivy / kivy/python-for-android

torch recipe feature request

オープン
#3,106 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature-request recipe
主要言語
Python
スター
8.9k
フォーク
2k
平均マージ
12時間 20分
マージ済み PR(30日)
9

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンクされている Buildozer issue #1538 から始め、`buildozer android debug` でビルドした Python Kivy アプリで報告された失敗を再現してください。`torch` を使用する APK が `libtorch_global_deps.so` が見つからないエラーなしで実行されれば、作業は完了です。この issue では対象ファイルもテストも指定されていません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, python, pytorch
領域
build-system, machine-learning, mobile-dev
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。