8000 【Pytorch mobile android】torch jit forward fail,Calling torch.geqrf on a CPU tensor requires compiling PyTorch with LAPACK. Please use PyTorch built with LAPACK support. · Issue #130309 · pytorch/pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
【Pytorch mobile android】torch jit forward fail,Calling torch.geqrf on a CPU tensor requires compiling PyTorch with LAPACK. Please use PyTorch built with LAPACK support. #130309
Open
@Qinlong275

Description

@Qinlong275

🐛 Describe the bug

Hi, I run my model on android mobile platform(Use c++ api with link libpytorch_jni_lite.so), the model load is success, but when i run forward occur this error:
torch jit forward fail,Calling torch.geqrf on a CPU tensor requires compiling PyTorch with LAPACK. Please use PyTorch built with LAPACK support.
Exception raised from apply_geqrf at /Users/qinlong/aiInterpret/TNetPytorch/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp:330 (most recent call first):

pytorch version: v2.1.0
platform: android

Versions

pytorch version: v2.1.0
platform: android
MacbookM1 apple
I follow the document(https://github.com/pytorch/pytorch/tree/main/android), builld android aar and so use sourcecode.

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel

Metadata

Metadata

Assignees

No one assigned

    Labels

    oncall: jitAdd this issue/PR to JIT oncall triage queue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0