Skip to content
 
 

Repository files navigation

Cookiecutter-Pytorch-Lightning

Build status Supported Python versions Docs License

pytorch lightning hydra


This modern Cookiecutter template provides all the necessary tools for deep learning development, training, testing, and deployment. It supports the following features:

Deep Learning related

  • PyTorch and PyTorch Lightning for deep learning framework
  • Hydra for modular experiment configuration
  • Optional experiment trackers: Tensorboard, W&B, Neptune, Comet, MLFlow and CSVLogger

Python related


Documentation - Example


Quickstart

On your local machine, navigate to the directory in which you want to create a project directory, and run the following command:

uvx cookiecutter https://github.com/foreverYoungGitHub/cookiecutter-pytorch-lightning.git

or if you don't have uv installed yet:

pip install cookiecutter
cookiecutter https://github.com/foreverYoungGitHub/cookiecutter-pytorch-lightning.git

Follow the prompts to configure your project. Once completed, a new directory containing your project will be created. Then navigate into your newly created project directory and follow the instructions in the README.md to complete the setup of your project.

Acknowledgements

This project is partially based on Florian Maas's great cookiecutter-uv and Lukas's great lightning-hydra-template repository.

About

A modern cookiecutter template for deep learning projects with pytorch lightning that use uv for dependency management

Resources

Contributing

Stars

39 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages