-
Notifications
You must be signed in to change notification settings - Fork 61
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
FYI: Comment and question #550
Comments
The graph was made using Github and mermaid.js integration, so it is not something we can control. Also, it renders fine on Brave & Firefox. so it is probably a edge problem. Regardless, I will remove the graph soon, because hasn't been updated over time.
Even if flux moves to explicit parameters (in the Zygote sense of the term), it is still via a nested functor style. That doesn't play well with any external framework (unless you use Optimisers.destructure). A lot of work has gone into making that work, but it still have fundamental problems of dealing with non-standard eltypes. See https://discourse.julialang.org/t/comparison-to-numpyro/106495/7 for example where Flux takes 10hrs compared to 7.5 mins of Lux. Additionally, Flux has some strange internal mechanism to override user inputs and do what it thinks makes the "most sense" (which is great for complete beginners but after getting some experience it is a pain trying to override that behavior), but that means you can't switch AD backends easily, and most importantly, makes it undesirable for anything that is not routine (definitely not new research). SciML repos mostly have Lux first-class support (Flux models are converted to Lux for compatibility https://github.com/SciML/DiffEqFlux.jl#diffeqfluxjl). Also, many features (that are quite popular among users) like |
The graph below doesn't display well, for me at least. I enabled dark mode in my web browser and can't barely see the text, or that there was text at all. I assumed there would be and zoomed in to see it. This is going to become more and more common, so I would wish worked better, not just for your repo, and people test both ways... I used some hack to get dark mode in Microsoft Edge, I don't even recall how, thus how to turn of to look at your graph...
I know you share backend infrastructure, are more similar than different(?) but "explicit-parameter" is the main difference? And then if Flux going there, to be more like Lux, then no very large difference? I wanted to reference your package: "Flux.jl and Lux.jl", starting with Flux since more established, but now thinking of doing "Lux, Flux and BetaML" (if I knew a clear winner I would just reference your). I thought BetaML more for educational, not even sure by now, maybe a competitor too (or complementary? or just for different things, at least partially?)? At least seemingly very valuable, should you also list it under related?
The text was updated successfully, but these errors were encountered: