-
Notifications
You must be signed in to change notification settings - Fork 16
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
build failed: aortion #178
Comments
Hi, sorry for the delay and thank you for your report. I am wondering is your system running out of memory. |
Hello, I only have the gfx1010 selected in my file, and I have one 16 gb 3000MHz, DDR4, CL16 stick of ram, hoped that would be enough, but if absolutely necessary, I can buy another one and run 32gb, I'm just working on a relatively tight budget, also, in case it is relevant, I'm storing all the code in a 1TB HDD, thank you very much for the assistance |
Can you try if it helps to set the MAX_JOBS variable to 8 cpus. Aotriton/triton will check if that is specified and then it should limit the build only to 8 from your 16 cpus. rm -rf builddir/038_aotriton I am not fully sure whether this helps. but at least the code in theory the |
I'm sorry if this sounds, really dumb, I am a complete newbie as I said, but when I ran the command it just gave back "export: command not found" when I ran it with sudo, and "error: permission denied", I tried running them separately, and also tried running them all together in separate lines and once with them in the same line, which gave no output. It doesen |
So yeah, I don't really know what I should do? |
patch aotriton to check MAX_JOBS environment variable in aotriton v2src/CMakeLists.txt and use that for limiting the amount of python processes allowed to build and compress hsaco files. This fixes the out of memory problem on cases where computer has lot of CPUs compared to amount of memory. Note that this fix only works when using Ninja. (cmake's limitation for add_custom_jobs command) MAX_JOBS environment variable and force to use ninja for building aotriton are set in binfo file. fixes: #178 Signed-off-by: Mika Laitio <[email protected]>
patch aotriton to check MAX_JOBS environment variable in aotriton v2src/CMakeLists.txt and use that for limiting the amount of python processes allowed to build and compress hsaco files. This fixes the out of memory problem on cases where computer has lot of CPUs compared to amount of memory. Note that this fix only works when using Ninja. (cmake's limitation for add_custom_jobs command) MAX_JOBS environment variable and force to use ninja for building aotriton are set in binfo file. fixes: #178 Signed-off-by: Mika Laitio <[email protected]>
I noticed that Aotriton had actually some build process where the "MAX_JOBS" parameter did not work but I have now fixed that place, so it should be now possible to do the build by only having 16GB of memory. About your problems:
This indicated that it's trying to get files from root-users .triton directory. So I am wondering have you tried to make your build by accident as a root-user instead of regular user?
|
I close this now as a fixed. |
the operation runs normaly up until a certin part where it freezes and either crashes the terminal or reboots the entire system, happens by just running ./babs.sh -b on my machine.
I'm on Ubuntu Ubuntu 24.04.1 LTS, my hardware is:
ASUS TUF GAMING B550M-PLUS;
AMD Ryzen™ 7 5800X3D × 16;
AMD Radeon™ RX 5700;
I apologize in advance if I
m being an idiot about something, I'm really new to coding in general, so I
m trying my beast to learn from my mistakes, if the information porivided is insufficient, please, just tell me what else I need to provide and I will do so to the best of my capacities, I did try apt install libzstd-dev, didn`t change the outcomeThe text was updated successfully, but these errors were encountered: