triton
triton copied to clipboard
[BUILD] fix ubuntu arm64 build
Fixed issue that occured with ubuntu arm64 builds, here is a run where this workflow was run
Please run pre-commit
How did you figure out these flags btw?
How did you figure out these flags btw?
trial and error + a bit of help from GPT, also verified by running file on the finished build
fixing this part since although the file checkout arm, file name is still x86
Tried fiddling around with a bunch of CMake options but I think this is from the host python version. Works fine
let me know any concerns since I'm aware this code is a bit hacky
Hello, what is the straight-forward way to install triton on an aarch64 machine (such as an Nvidia Jetson)?
Hi @WikiLucas00, I thought the build has been fixed after this PR, but actually I'm still seeing mlir-opt's ELF format doesn't match. @danikhan632, do you want to double check? Weirdly, if I use the same LLVM build instructions and build it locally, that works.
Regarding your question, currently you'll have to build LLVM first, then build triton.
Hi @WikiLucas00, I thought the build has been fixed after this PR, but actually I'm still seeing mlir-opt's ELF format doesn't match. @danikhan632, do you want to double check? Weirdly, if I use the same LLVM build instructions and build it locally, that works.
Regarding your question, currently you'll have to build LLVM first, then build triton.
can u show a screenshot? I think I built locally too and it reads as aarch64 so a bit concerned about this
There you go
oh thats not good, a bit uncertain why this is happening since when file is run on it says arm64, let me fix this my bad