Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

torch recipe feature request

Open
#3,106 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, python, pytorch

Research direction

Start with linked Buildozer issue #1538 and reproduce the reported failure from a Python Kivy app built with buildozer android debug. The work is complete when an APK using torch runs without the missing libtorch_global_deps.so error; the issue does not name a target file or test.

Written by the indexing model from the issue text.

Description

feature-request recipe

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, 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.

Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kivy/python-for-android

All issues in kivy/python-for-android

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.