-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Mount the UV cache in devcontainer->faster builds Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Move the "references" section Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Add more text in the Jax RL Example Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Simplify the paragraph headers a bit Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Revert "Move the "references" section" This reverts commit 26ed330. * Cleanup `docs/generate_reference_docs.py` Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Various small docstring changes Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Reorganize docs a bit Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Make the auto-schema plugin more portable Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix issue in import_object Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Move / rename doc files Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * More helpful error msg in instance_attr resolver Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix [jax] in example link Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Add a bit of text Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix bug in auto_schema.py Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Update the cluster sweep example config Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Add a "--watch" flag to auto-schema util Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix outdated docstring Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Simplify `main.py` Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix broken test Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix broken test Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Rename `overrides`->`command_line_overrides` Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Remove outdated auto_schema_test.py module Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Also ignore regression files folder Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Remove buggy test, add note and todo Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Remove outdated comment Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Try to fix weird testing bug Sharing state between tests is causing issues! Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix bug when `trainer.logger` is None Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * "fix" bug in config_test.py Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Update config_test.py * Update config_test.py * Update config_test.py * Update main_test.py * Update main_test.py * Update main_test.py * Update profiling_test.py --------- Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
- Loading branch information
Showing
34 changed files
with
450 additions
and
1,455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
* [Home](index.md) | ||
* [Intro](intro.md) | ||
* Features 🔥 | ||
* [Features 🔥](features/index.md) | ||
* [Magic Config Schemas](features/auto_schema.md) | ||
* [Jax and Torch support with Lightning ⚡](features/jax.md) | ||
* [Launching Jobs on Remote Clusters](features/remote_slurm_launcher.md) | ||
* [Thorough automated testing on SLURM clusters](features/testing.md) | ||
* features/*.md | ||
* Reference 🤓 | ||
* reference/* | ||
* Examples 🧪 | ||
* [Image Classification (⚡)](examples/supervised_learning.md) | ||
* [Image Classification ([jax](+⚡)](examples/jax_sl_example.md) | ||
* [Image Classification (jax+⚡)](examples/jax_sl_example.md) | ||
* [NLP (🤗+⚡)](examples/nlp.md) | ||
* [RL (jax)](examples/jax_rl_example.md) | ||
* [Running sweeps](examples/sweeps.md) | ||
* [Profiling your code📎](examples/profiling.md) | ||
* [Related projects](related.md) | ||
* Reference 🤓 | ||
* reference/* | ||
* [Learning Resources](resources.md) | ||
* [Getting Help](help.md) | ||
* [Contributing](contributing.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
# Features unique to this project template | ||
|
||
Here are some cool features that are unique to this particular template: | ||
|
||
|
||
- Support for both Jax and Torch with PyTorch-Lightning (See the [Jax example](jax.md)) | ||
- Your Hydra configs will have an [Auto-Generated YAML schemas](auto_schema.md) 🔥 | ||
- A comprehensive suite of automated tests for new algorithms, datasets and networks | ||
- 🤖 [Thoroughly tested on the Mila directly with GitHub CI](testing.md#automated-testing-on-slurm-clusters-with-github-ci) | ||
- Automated testing on the DRAC clusters will also be added soon. | ||
- Easy development inside a [devcontainer with VsCode] | ||
- Tailor-made for ML researchers that run their jobs on SLURM clusters (with default configurations for the [Mila](https://docs.mila.quebec) and [DRAC](https://docs.alliancecan.ca) clusters.) | ||
- Rich typing of all parts of the source code | ||
|
||
This template is aimed for ML researchers that run their jobs on SLURM clusters. | ||
The target audience is researchers and students at [Mila](https://mila.quebec). This template should still be useful for others outside of Mila that use PyTorch-Lightning and Hydra. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Related projects and resources | ||
|
||
## [Hydra docs](https://hydra.cc) | ||
|
||
|
||
## Other project templates | ||
|
||
There are other project templates out there, that often have better documentation. | ||
If you need an introduction to Hydra, or Lightning, or good software development practices, these might have better guides and documentation for you. | ||
|
||
Here are some we'd recommend: | ||
|
||
|
||
### [lightning-hydra-template](https://github.com/ashleve/lightning-hydra-template) | ||
|
||
- How it works: https://github.com/gorodnitskiy/yet-another-lightning-hydra-template/tree/main?tab=readme-ov-file#workflow---how-it-works | ||
|
||
For everything that has to do with Hydra and PyTorch-Lightning, their documentation also applies directly to this template. In order to avoid copying their documentation, we recommend you take a look at their nice readme. | ||
|
||
|
||
### [yet-another-lightning-hydra-template](https://github.com/gorodnitskiy/yet-another-lightning-hydra-template) | ||
|
||
- Excellent template. based on the lightning-hydra-template. Great documentation, which is referenced extensively in this project. | ||
- - Has a **great** Readme with lots of information | ||
- - Is really well organized | ||
- - doesn't support Jax | ||
- - doesn't have a devcontainer | ||
- Great blog: https://hackernoon.com/yet-another-lightning-hydra-template-for-ml-experiments | ||
|
||
### [cookiecutter-data-science](https://github.com/drivendataorg/cookiecutter-data-science) | ||
|
||
- Awesome library for data science. | ||
- Related projects: https://github.com/drivendataorg/cookiecutter-data-science/blob/master/docs/docs/related.md#links-to-related-projects-and-references |
Oops, something went wrong.