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

Meta Issue for Reactant Compilation of Lux Models #733

Open
4 of 5 tasks
avik-pal opened this issue Jun 26, 2024 · 2 comments
Open
4 of 5 tasks

Meta Issue for Reactant Compilation of Lux Models #733

avik-pal opened this issue Jun 26, 2024 · 2 comments
Labels

Comments

@avik-pal
Copy link
Member

avik-pal commented Jun 26, 2024

WIP PRs

List of missing operations

It is mostly an incomplete list, but certain operations are known not to work

Shortcomings in Lux design that can be improved

  • states are not updated in-place making it not ideal for both Enzyme and Reactant. This is honestly hard to fix at this point.
@avik-pal avik-pal added the xla label Jun 26, 2024
@avik-pal avik-pal mentioned this issue Jun 26, 2024
32 tasks
@wsmoses
Copy link
Contributor

wsmoses commented Jun 26, 2024

@avik-pal since Reactant has a lot more than just XLA, including custom linear algebra/fusion optimiations, MLIR AD, etc, can this be renamed Reactant compilation rather than xla?

@avik-pal avik-pal changed the title Meta Issue for XLA Compilation of Lux Models Meta Issue for Reactant Compilation of Lux Models Jun 26, 2024
@avik-pal avik-pal pinned this issue Jul 3, 2024
@avik-pal
Copy link
Member Author

avik-pal commented Sep 23, 2024

Listing out models that would allow how to figure out how much of Lux we can compile atm

Target List of Models

Vision

Text

  • Llama2

Other nice to haves

  • Stable Diffusion

SciML

These are longer term goals because these need compiling NonlinearSolve/OrdinaryDiffEq/SciMLSensitivity which would be harder at this point

  • Deep Equilibrium Networks -- DeepEquilibriumNetworks.jl
  • NeuralODEs -- DiffEqFlux.jl
  • PINNs -- Nested AD needed
  • NeuralOperators -- we need fft support in Reactant (stablehlo has the ops)

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

No branches or pull requests

2 participants