Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

A minimal template for pytorch-lightning and grid.ai

License

Notifications You must be signed in to change notification settings

ChenghaoMou/lightning-grid-template

Repository files navigation

lightning-grid-template

This is a minimal project template for people use pytorch-lightning and grid.ai. It combines both lightning cli and grid config/actions so you don't need to pass on tons of parameters anywhere.

GitHub

Acknowledgements

Features

  • lightning.yaml for model and dataset hyper-parameters
  • grid.yaml for grid experiment configs
  • Custom environment management with poetry

Usage

  1. Create your own model and data modules like the ones defined in run.py
  2. Update lightning.yaml accordingly or create your own with lightning cli
  3. Update the environment with poetry to include any packages used in your project
  4. Update grid.yaml to include your credentials and tweak the hardware settings
  5. Let grid do the magic

Todo

  • Overwrite lightning config hyper-parameters with grid, so we could do hyper-parameters search

Disclaimer

This is not an official lightning project nor grid project. Both lightning cli and grid actions/cli are in their early stages, so please do expect frequent changes.

About

A minimal template for pytorch-lightning and grid.ai

Topics

Resources

License

Stars

Watchers

Forks

Languages