-
Notifications
You must be signed in to change notification settings - Fork 652
[Torch] Fix deps issue for Torch #5551
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
Conversation
|
When this Torch JLL is registered (JuliaRegistries/General#68204), it might break current Torch.jl usages, as the C wrapper ("libtch") is not included - as there is no compat entry for Torch_jll in the currently registered Torch.jl. |
|
@gbaraldi I suspect JuliaPackaging/BinaryBuilderBase.jl#271 broke something: |
|
I will take a look. Edit: It was that, it made it type unstable, so for empty arrays, which |
@stemann that should be fixed in the registry then (and in the package as well) |
|
@Wimmerer maybe next time don't use "fix |
|
Wait what, I figured that would have privileges preventing it. Yeah sorry about this PR in general, I think I made it right before sleeping then forgot 🥲 |
| # Dependency("TensorRT_jll"; platforms = cuda_platforms), # Building with TensorRT is not supported: https://github.com/pytorch/pytorch/issues/60228 | ||
| Dependency("XNNPACK_jll"; compat = "0.0.20210622"), | ||
| BuildDependency(PackageSpec("protoc_jll", Base.UUID("c7845625-083e-5bbe-8504-b32d602b7110"), v"3.13.0")), | ||
| Dependency(PackageSpec("protoc_jll", Base.UUID("c7845625-083e-5bbe-8504-b32d602b7110")); compat="3.13.0"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JuliaRegistries/General#68946 sounds like protoc breaks the ABI across minor versions. What a mess
Attempt to fix JuliaRegistries/General#68204
Might also need to be a
BuildDependencyin addition toDependency