slimgroup / InvertibleNetworks.jl

A Julia framework for invertible neural networks
MIT License
152 stars 23 forks source link

Conditionally load heavy dependencies #35

Closed sethaxen closed 4 months ago

sethaxen commented 3 years ago

Can any of the dependencies be conditionally loaded to make the package more lightweight as a dependency? e.g. is the Zygote dependency necessary for all usage, or does it only add compatibility with Zygote? If the latter, that code could be conditionally loaded with Requires.

mloubout commented 3 years ago

Thank you for the comment.

We tried to keep this package as minimal as possible but we will check if we have unnecessary dependencies.