-
Notifications
You must be signed in to change notification settings - Fork 654
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Torchaudio Installation Jetson Aarch System #658
Comments
Hi @ark626 Thanks for opening the issue and sharing the workaround. |
Hi, ./third_party/tmp/lame-3.99.5/config.guess doesn't exist anymore but I am still getting build issues when trying to build on a tx2. What config.guess do I need to update? |
We have switched to cmake-based build so the the build intermediate files are in audio/third_party/sox/CMakeLists.txt Lines 50 to 64 in 0c263a9
Let me see if I can quickly come up with the solution. |
Hi, I've copied the config.guess that ark626 linked and used But there seems to be an issue with building sox. I am running ubuntu 18.04 and already have torch 1.8 installed from I have attached a snippet of the error. |
Okay, looks like codecs are now built.
|
just wanted to share that I've built torchaudio==0.8.0 successfully on my Jetson AVG xavier (jetpack 4.4). Full logs
|
Note that the |
I'm happy to help with this issue. Please let me know if I made correct steps to reproduce this issue:
on master c4a1702:
full logs
|
I merged #1484 and now torchaudio should build fine with |
* Fix formatting to comply with PEP8 * reimplementing conv net from keras examples * reimplementing keras example mnist_cnn in pytorch * adding learning rate scheduling * remove previous mnist model * change softmax layer name * changes after review * fix command line arguments * remove unused attributes
🐛 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:
=> 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
The text was updated successfully, but these errors were encountered: