-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Julia fails on Chrome-OS and NVIDIA Jetson ARM-64 Linux #47399
Comments
What commit is |
That's f70b5e4 (current official nightly build). |
Ok, so that includes #47343, which would make failures to load codegen more clear |
Anything I can do to generate more detail without a custom Julia build (which I'd rather avoid on that poor Chromebook, let alone the Jetson Nano)? |
Have you tried running in gdb to see where it gets stuck? It's interesting to see problems started with 1.6.6 and 1.7.3, I wonder if there is a common patch that was backported to those releases which caused these issues. |
I'll try on a Jetson Xavier NX with a bit more power ... |
Getting even more confusing now, on the NVIDIA Jetson Xavier NX DevKit (freshly reflashed to JetPack 5.02, Ubuntu 20.04.04 LTS), both v1.8.2 and the current Julia nightly (1.9.0-DEV.1721, commit df06375) seem to run just fine. Unfortunately, JetPack 5.x is not available for the Jetson Nano, and I can't go back to JetPack 4.x on the Xavier NX because the JetPack version is firmware-specific and I just updated that firmware. Will try with GDB on the Chromebook - that's a more relevant platform for typical users anyway, given ChromeOS's education market-share nowadays and the recent availability of more powerful ARM Chromebooks. |
Thanks for looking into these platforms. Agree that these are important and good if we can keep julia running on these. It's annoying that our regular aarch64 ci is not sufficient to ensure the build works on all these other systems. |
Aarch64 Linux is decently stable now. Can it be a memory problem? |
I originally thought it might be connected to the Chome-OS Crostini container solution (though older Julia versions work, see above), but then I ran into the same problems on the Jetson Nano with a bare-metal Linux. But not on the Jetson Xavier NX. So, no idea ... So, here we go with GDB on the Chromebook (fresh Crostini Linux container, default current Crostini Debian Bullseye): Versioninfo (with Julia v1.6.5, since that one works):
Then with the current nightly:
just stalls forever, no output, no error. A non-interactive session does crash
Now with gdb:
Is this helpful? |
We don't even have Yggdrasil builds, so that will take a while. It's not too complicated to try yourself though; it's just a matter of checking-out the PR and building with |
Uhm yes ... don't have a fast Linux ARM system though. :-) |
Just an addition, just did a quick test, Julia v1.8.3 seems to run fine on a Raspberry Pi 4 with 64-bit Raspbian (Debian Bullseye). Don't know why it runs there but not on a 64-bit Debian Bullseye Chome-OS container ... |
You can now grab the artifact from the builds of that PR (for example https://buildkite.com/julialang/julia-master/builds/21275#0186610c-4ccd-479c-b6d3-51cf332cfda3) |
I can confirm that using the aarch64 version of Julia 1.8.5 does not work on a freshly installed NVidia Jetson Nano B01.
and using ^C to get out of that adds.
Shame, that, it would be a great little system to learn Julia with opengl, cuda, opencv and all sorts of things with linear programming, convolution networks, all set up... I'll try the older binaries mentioned as working here, as well as the upcoming 1.9.0-beta4 and see how it goes. |
In brief: On Jetson Nano B01, fresh install from nvidia iso (22/2/23), 1.6.7 (LTS) did not work at all. Outputs: 1.6.7
1.7.2
1.9.0-beta4
|
These issues are known. You should try a build that has the fix:
|
Sorry for the delay - just tested, that build does indeed run just fine on my aarch64 Chromebook (under Crostini)! |
Why was this closed? #49745 is still open. |
Just checked, issue does persist (as expected, without #49745) on Julia v1.9.1 on Chromebook-Linux (aarch64-unknown-linux-gnu, standard Crostini Debian Bullseye) . |
Not sure how related this is to the original issue reported in #45681 so I'm opening this as a new issue.
I can't manage to get recent Julia version to run on Chrome-OS (Crostini) Linux and NVIDIA Jetson Linux (Jetson Nano). I went through pretty much all recent versions on Chrome-OS and verified a few on Jetson (with same behaviour). On Chromebook-Linux (aarch64-unknown-linux-gnu, standard Crostini Debian Bullseye) I get (official Julia binaries, tested only REPL-start and ran
rand(100)
):SYSTEM: caught exception of type
(that's all of it, doesn't say what type) at startup, then stalls, no REPL-promptSYSTEM: caught exception of type
(that's all of it, doesn't say what type) at startup, then stalls, no REPL-promptSYSTEM: caught exception of type
(that's all of it, doesn't say what type) at startup, then stalls, no REPL-promptSYSTEM: caught exception of type
(that's all of it, doesn't say what type) at startup, then stalls, no REPL-prompt1+1
, but Julia freezes without output or error on simple things likerand(100)
andversioninfo()
VERSION
, no output.The same happens on NVIDIA Jetson Linux (Ubuntu binonic, JetPack 4.61), at least on Julia v1.8.2 and v1.9.0-DEV.1696 (didn't test all versions above).
I had used Julia v1.5 and v1.6 (early versions) on Chromebook-Linux and NVIDIA Jetson without issues in the past, for some demos that included several large packages, complex code and plots.
The text was updated successfully, but these errors were encountered: