macOS Pyinstaller: libc++abi: terminating with uncaught exception of type c10::Error: Type c10::intrusive_ptr<ConvPackedParamsBase<2>> could not be converted to any of the known types #84782
Labels
module: cpp-extensions
Related to torch.utils.cpp_extension
module: m1
module: third_party
needs research
We need to decide whether or not this merits inclusion, based on research world
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
I'm trying to package a python app using pyinstaller.
Torch: 1.12.1
Pyinstaller: 5.3
OS: macOS 12.5 (M1)
[UPDATE] This appears to be a problem with
torchvision
. If I remove the dependency, no crash.When I try to run my UNIX executable, I get the following:
Versions
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.23.1
[pip3] pytorch-lightning==1.4.2
[pip3] torch==1.12.1
[pip3] torch-fidelity==0.3.0
[pip3] torchaudio==0.12.1
[pip3] torchmetrics==0.6.0
[pip3] torchvision==0.13.1
[conda] numpy 1.23.1 pypi_0 pypi
[conda] pytorch-lightning 1.4.2 pypi_0 pypi
[conda] torch 1.13.0.dev20220907 pypi_0 pypi
[conda] torch-fidelity 0.3.0 pypi_0 pypi
[conda] torchmetrics 0.6.0 pypi_0 pypi
[conda] torchvision 0.14.0.dev20220907 pypi_0 pypi
cc @malfet @zou3519
The text was updated successfully, but these errors were encountered: