Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building libtorch for android fails #126394

Open
bmanga opened this issue May 16, 2024 · 2 comments
Open

Building libtorch for android fails #126394

bmanga opened this issue May 16, 2024 · 2 comments
Labels
module: build Build system issues module: vulkan triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@bmanga
Copy link

bmanga commented May 16, 2024

馃悰 Describe the bug

Building android fails:

I get errors regarding

Cannot find source file:

    ~/Android/Sdk/ndk/25.1.8937393/sources/third_party/vulkan/src/common/vulkan_wrapper.h

Apparently vulkan_wrapper.[h/cpp] haven't been part of ndk for a few versions...

Versions

pytorch main branch

cc @malfet @seemethere

@mikaylagawarecki mikaylagawarecki added module: build Build system issues module: vulkan triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels May 20, 2024
@seemethere
Copy link
Member

This will probably be something that won't get fixed unfortunately.

PyTorch mobile is being spun down in favor of ExecuTorch so it's expected to move workloads to that instead.

cc @dbort

@bmanga
Copy link
Author

bmanga commented May 21, 2024

Hello there :)

I am referring to an android build of libtorch, I'm not interested in the pytorch mobile runtime.

As a matter of fact, I was interested in a full libtorch cpu build (including training infrastructure, optimizers etc).
I got it working by hacking some cmake files, but let's say the pytorch cmake code could do with some love 馃槄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: build Build system issues module: vulkan triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

3 participants