Skip to content

Torchaudio Installation Jetson Aarch System #658

@ark626

Description

@ark626

🐛 Bug

For the Jetson Series there is already Torch available but Torchaudio isnt.

To Reproduce

Try install from source to an Jetson Device.
Steps to reproduce the behavior:

  1. Clone repository
  2. sudo packaging/build_from_source.sh
    => Crash of the sh script.

Workaround

This crash is a result of the libraries config.guess that doesnt know the aarch architecture.
This can be bypassed by replacing midinstall the config.guess with a more current one like this
https://raw.githubusercontent.com/ropensci/git2r/master/tools/config.guess

Replace the ones in those folders =>
/tmp/torchaudio-deps/lame-3.99.5/config.guess
/tmp/torchaudio-deps/libmad-0.15.1b/config.guess

Also Edit the Script sudo packaging/build_from_source.sh to not override those changes again.

Now it should install.

Expected behavior

Normal installation of the required dependencies.

Environment

Collecting environment information...
PyTorch version: 1.4.0a0+7f73f1d
Is debug build: No
CUDA used to build PyTorch: 10.2

OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: version 3.10.2

Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: 10.2.89
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Probably one of the following:
/usr/lib/aarch64-linux-gnu/libcudnn.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_adv_infer.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_adv_train.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_cnn_infer.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_cnn_train.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_etc.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_ops_infer.so.8.0.0
/usr/lib/aarch64-linux-gnu/libcudnn_ops_train.so.8.0.0

Versions of relevant libraries:
[pip3] numpy==1.18.4
[pip3] torch==1.5.0
[pip3] torchaudio==0.6.0a0+313f4f5
[pip3] torchvision==0.6.0a0+b68adcf
[conda] Could not collect

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions