Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci_code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on: # Trigger the workflow on push or pull request, but only for the main branc
jobs:
pre-commit-check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: validate Docs

on: # Trigger the workflow on push or pull request
pull_request: {}
schedule:
# At the end of every day
- cron: "0 0 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand All @@ -13,6 +16,7 @@ jobs:
env:
PUB_BRANCH: publication
PATH_DATASETS: ${{ github.workspace }}/.datasets
timeout-minutes: 20
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on: # Trigger the workflow on push or pull request, but only for the master bran
jobs:
validate-schema:
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion lightning_examples/mnist-hello-world/hello-world.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def configure_optimizers(self):
# - If you don't mind loading all your datasets at once, you can set up a condition to allow for both 'fit' related setup and 'test' related setup to run whenever `None` is passed to `stage` (or ignore it altogether and exclude any conditionals).
# - **Note this runs across all GPUs and it *is* safe to make state assignments here**
#
# 3. [x_dataloader()](https://pytorch-lightning.readthedocs.io/en/stable/api/pytorch_lightning.core.hooks.html) ♻️
# 3. [x_dataloader()](https://pytorch-lightning.readthedocs.io/en/stable/api_references.html#core-api) ♻️
# - `train_dataloader()`, `val_dataloader()`, and `test_dataloader()` all return PyTorch `DataLoader` instances that are created by wrapping their respective datasets that we prepared in `setup()`


Expand Down
2 changes: 1 addition & 1 deletion lightning_examples/mnist-tpu-training/.meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- Image
description: In this notebook, we'll train a model on TPUs. Updating one Trainer flag is all you need for that.
The most up to documentation related to TPU training can be found
[here](https://pytorch-lightning.readthedocs.io/en/stable/advanced/tpu.html).
[here](https://pytorch-lightning.readthedocs.io/en/stable/accelerators/tpu.html).
requirements:
- torchvision
accelerator:
Expand Down