-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
The cause of reproducibility problem of bazel build in jaxlib #321920
Comments
For #296737 , when it first happened, @ConnorBaker and I managed to reproduce it and point out that the difference in hash was due to:
This was the diff in the tar file:
vs
That file is fetched from an endpoint via: https://github.com/bazelbuild/rules_go/blob/master/go/private/sdk.bzl#L86-L87 |
Do we know how exactly jaxlib depends on rules_go? It's must be a deep transitive dependency... |
Bazel, in hands of Google, can't even fetch reproducibly. Cf. NixOS#321920 (comment)
Actually, my bad, those dependencies are fetched only by the rules_python internal deps so they shouldn't be pulled. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
any news on that ? |
Is it currently failing ? The plan anyway is to update the draft PR: #318995 |
Yep we currently have a hash mismatch, in 24.11 or 24.05 |
Oh! I didn't backport #323681
You mean unstable? Seems to work in hydra: https://hydra.nix-community.org/job/nixpkgs/cuda/python3Packages.jaxlib.x86_64-linux |
Indeed, hydra prints no error. |
Has the issue never happened since #323681 is merged (though the root cause still seems unclear)? |
A discussion issue for reproducibility issue with bazel that causes build failures in jaxlib package.
I created #296737 when I first noticed this problem. After it was fixed (by #291705), another person opened it again because the issue occurred again. As per #321559 (review), I am opening a new issue for discussing what are possible causes of this. Hopefully the original issue or a similar issue won't need to be opened again.
CC: @ndl @samuela @natsukium @GaetanLepage
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: