-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Organize the Examples Folder #16273
Comments
that sounds good to me, just would split the app into
cc: @lantiga @Lightning-AI/core-lightning |
I think we should get rid of the distinction between app and component, every component should be runnable in isolation (as a simple app), so I'd just keep app |
ok, but go with folders or flat and prefix? 🦦 |
Just like @awaelchli suggested
inside app, just have the current app examples (no need to further split between app and component, that was my suggestion) |
Would be happy to take this one. |
@andrewaf1 the stage is yours :) |
@andrewaf1, how is it going, can I help somehow? :) |
So, I've been going through everything, making sure everything makes sense, is relevant, runs according to the readme instructions, etc. I wanted to clarify what is going to go into the "pytorch" folder. Is that supposed to be the examples with a "pl_" prefix (in which case the folder should be called something else, right?) Or is that intended to contain the plain pytorch examples that are bundled with the fabric examples? |
And another thing that has me a little confused. One of the examples throws the error:
I can do |
@andrewaf1 Good questions. Yes you are right, with the pytorch folder we mean anything that was previously prefixed with pl_. The PyTorch Lightning examples. The Lightning package, as it currently is on master, will have these three modules: lightning.app: The app framework This is what motivates the new example structure I proposed. The examples/fabric folder already follows that pattern, so this, and the pure torch files inside of it, can be left as they are.
This is simply because the imports in the examples haven't been updated yet. |
@andrewaf1, how is it going here? :) |
hey @Borda, please assign this issue to me. Would love to work on this! |
Outline & Motivation
Our examples folder is messy, it currently looks like this: https://github.com/Lightning-AI/lightning/tree/master/examples
It does not matter if you are an expert or a beginner, if you arrive here in this repository, the examples folder sticks out as an obvious place to start exploring. But it's a mess. Where to start? What is important? What is new, what is old? The Readme is outdated.
Pitch
Organize the top level folders into:
Organize the readme, either at the top level or in each subfolder, with sections for
Beginner
Intermediate
Expert
(or a similar structure organized by concepts).
Delete examples that are too outdated or irrelevant. Make everything as concise as possible.
Additional context
No response
cc @Borda @justusschock @awaelchli
The text was updated successfully, but these errors were encountered: