Skip to content
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

Please support Lux.jl #170

Open
schlichtanders opened this issue Feb 27, 2024 · 7 comments
Open

Please support Lux.jl #170

schlichtanders opened this issue Feb 27, 2024 · 7 comments

Comments

@schlichtanders
Copy link

schlichtanders commented Feb 27, 2024

The SciML ecosystem strongly prefers Lux.jl (see https://github.com/SciML/DiffEqFlux.jl README)

it would be nice if Transformers.jl could also be put on top of Lux.jl

@chengchingwen
Copy link
Owner

What does it need to make a layer Lux compatible?

@tobefreeman
Copy link

tobefreeman commented Mar 1, 2024 via email

@schlichtanders
Copy link
Author

schlichtanders commented Mar 1, 2024

DiffEqFlux.jl is the central package for combining deep learning with differential equation. Take a look there - they even changed the official name to DiffEq For Lux.

Flux ist just older, hence there may be more packages referring to it. But actually for me Lux is already the go to package for deep learning in Julia

@schlichtanders
Copy link
Author

I myself asked once about the advantages of Lux.jl vs Flux.jl for DiffEqFlux.jl

here the important answer SciML/DiffEqFlux.jl#815 (comment)

and meanwhile the issue got closed by moving to Lux.jl completely

@chengchingwen
Copy link
Owner

I'm totally fine with supporting Lux.jl. But IIUC Lux.transform can wrap a Flux layer into a Lux compatible layer already?

@schlichtanders
Copy link
Author

I am not experienced with the pitfalls of Lux.transform. sounds like it works kind of good, as DiffEqFlux is relying on it, but it probably has some drawbacks.

@zahachtah
Copy link

simple test of Lux.transform didn't work. Just to add, Lux support would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants