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

Create a FluxCore package? #2572

Open
CarloLucibello opened this issue Jan 2, 2025 · 0 comments
Open

Create a FluxCore package? #2572

CarloLucibello opened this issue Jan 2, 2025 · 0 comments

Comments

@CarloLucibello
Copy link
Member

CarloLucibello commented Jan 2, 2025

Since Flux doesn't impose a type hierarchy, any model/layer can be defined in a Flux-unaware matter and then be used in combination with Flux.

Nonetheless, we can factor out some basic functionalities that are convenient to have without relying on the whole Flux.
This is the motivation for creating a FluxCore package.
It could contain the following:

  • @layer
  • state
  • loadmodel!
  • .... what else?

As an example, with these 3 methods Tsunami.jl could remove the Flux dependence in favor of a FluxCore one.

For convenience, the FluxCore.jl package could be hosted in this repo.

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

1 participant