[Torch] Fix deps issue for Torch#5551
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.
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