sdobber / FluxArchitectures.jl

Complex neural network examples for Flux.jl
MIT License
122 stars 15 forks source link

Compilation fails on Julia 1.7 #31

Closed ufechner7 closed 2 years ago

ufechner7 commented 2 years ago

Creating a system image with FluxArchitectures fails when using PackageCompiler 2.0.2 and Julia 1.7. It works fine with Julia 1.6.4.

See: https://github.com/JuliaLang/PackageCompiler.jl/issues/643

sdobber commented 2 years ago

Thank you for letting me know. I haven't used PackageCompiler before, so I will need to dig into this a bit. My first suspicion would be that it could be related to FluxArchitectures pinning the version of Zygote to an older one.

sdobber commented 2 years ago

Sorry for pushing that further on... The issue seems to be coming directly from Flux' setup - in https://github.com/sdobber/FluxPkgCompilerIssue.jl, Flux is the only dependency, and cannot be compiled on 1.7. You might want to open an issue there - unfortunately, I don't have enough knowledge about all its inner workings...

Ping JuliaLang/PackageCompiler.jl#643