Skip to content
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

rocm-opencl-runtime: "Output limit exceeded" on Hydra #203949

Closed
SuperSamus opened this issue Dec 1, 2022 · 6 comments · Fixed by #204378
Closed

rocm-opencl-runtime: "Output limit exceeded" on Hydra #203949

SuperSamus opened this issue Dec 1, 2022 · 6 comments · Fixed by #204378
Labels
0.kind: build failure A package fails to build

Comments

@SuperSamus
Copy link
Contributor

https://hydra.nixos.org/build/200341028

Notify maintainers

@acowley @lovesegfault @Flakebi

@SuperSamus SuperSamus added the 0.kind: build failure A package fails to build label Dec 1, 2022
@Madouura
Copy link
Contributor

Madouura commented Dec 3, 2022

rocm-llvm is built before it, and adding clang-tools-extra adds I think about 1k new lines or more in the build output.
From what I see, the issue isn't rocm-opencl-runtime, but something to do with how much rocm-llvm outputs when building.

@Madouura
Copy link
Contributor

Madouura commented Dec 3, 2022

My bad, that error would be different if it were the amount of lines.
This is strange, nothing has changed except for adding clang-tools-extra.
I haven't tested closure sizes for the difference, but it shouldn't be above the output limit (4.7GiB IIRC).
Looking at some of the other similar errors it's possible this may be a memory error while compressing.

@Madouura
Copy link
Contributor

Madouura commented Dec 4, 2022

rocm-llvm with clang-tools-extra exceeds 3GiB.
The above PR should fix this by reverting the commit adding it.

LunNova added a commit to LunNova/nixos-configs that referenced this issue Dec 4, 2022
@vcunat
Copy link
Member

vcunat commented Dec 4, 2022

Hydra's limit is 2 GiB for the sum of build output sizes (non-transitive) of a single build.

Atemu added a commit to Atemu/nixos-config that referenced this issue Dec 4, 2022
This reverts commit 3b7cc01.

Takes a long time to build because it's not cached on hydra due to
NixOS/nixpkgs#203949

I don't currently need OpenCL or HIP and if I needed OpenCL in the future, I'd
probably use rusticl.
@Lillecarl
Copy link
Contributor

I'm building rocm-llvm-5.3.3 locally on my laptop right now, been thermal throttling for some good 30 minutes by now 😆

#159612 They're discussing raising hydra limits and making the Gnome ISO smaller here too. I see @vcunat is part of that conversation too.

@vcunat
Copy link
Member

vcunat commented Dec 5, 2022

Oh right, it was raised surely, as the ISO (still) doesn't fit into 2 GiB. I forgot, clearly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants