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

feat(app): create a basic app #1

Merged
merged 4 commits into from
Mar 9, 2021
Merged

feat(app): create a basic app #1

merged 4 commits into from
Mar 9, 2021

Conversation

ydcjeff
Copy link
Member

@ydcjeff ydcjeff commented Mar 8, 2021

Created a basic app with left sidebar which has Task -> Training Configurations (includes cpu, gpu, xla, distributed training)

To test this app:

  • pip install streamlit
  • streamlit run app/streamlit_app.py
  • cd dist/base
  • python main.py
  • python main.py -h for help

There is templates folder which will have many templates afterward. In this PR, I added base template.
In base template, there are

  • datasets.py.jinja for getting datasets and dataloaders
  • fn.py.jinja for Engine step functions
  • main.py.jinja for main entry training point
  • models.py.jinja for getting many model variants
  • utils.py.jinja for common utilites
  • base_config.py for base configs

Files created in template folder are inspired by https://github.com/facebookresearch/deit

Files will be created in dist folder with another folder with template name as soon as the app runs. ('dist/base' for base template).

P.S: removed unneeded gitignore

@ydcjeff ydcjeff requested a review from vfdev-5 March 8, 2021 16:07
@vfdev-5
Copy link
Member

vfdev-5 commented Mar 8, 2021

I let @trsvchn comment out as well

@ydcjeff
Copy link
Member Author

ydcjeff commented Mar 9, 2021

I am merging not to block other works. Feel free to review

@ydcjeff ydcjeff merged commit 32c8cea into master Mar 9, 2021
@ydcjeff ydcjeff deleted the basic-app branch March 9, 2021 14:04
@trsvchn
Copy link
Member

trsvchn commented Mar 9, 2021

@ydcjeff , thanks for the wonderful lift off! Hope we can keep it like that -- supersonic! :)
I've tried it on my machine it and works great!

@trsvchn trsvchn added backend Backend: code gen etc frontend Vue app templates enhancement New feature or request labels Mar 15, 2021
@ydcjeff ydcjeff added this to the v0.1.0 milestone Mar 15, 2021
@ydcjeff ydcjeff added this to In progress in v0.1.0 via automation Apr 7, 2021
@ydcjeff ydcjeff moved this from In progress to Done in v0.1.0 Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend: code gen etc enhancement New feature or request frontend Vue app templates
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants