Added boring model as a ipynb so it can be updated (#10521)

Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
This commit is contained in:
Jaime Ferrando Huertas 2021-11-19 17:32:30 +01:00 committed by GitHub
parent e83e8ae305
commit 721b8413a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1422 additions and 3 deletions

View File

@ -16,7 +16,7 @@ assignees: ''
Please reproduce using the BoringModel!
You can use the following Colab link:
https://colab.research.google.com/drive/1HvWVVTK8j2Nj52qU4Q4YCyzOm0_aLQF3?usp=sharing
https://colab.research.google.com/github/PytorchLightning/pytorch-lightning/blob/master/pl_examples/bug_report/The_BoringModel.ipynb
IMPORTANT: has to be public.
or this simple template:

File diff suppressed because one or more lines are too long

View File

@ -22,12 +22,11 @@ import pytest
import torch
from torch.utils.data.dataloader import _MultiProcessingDataLoaderIter, DataLoader
from pl_examples.bug_report_model import RandomDataset
from pytorch_lightning import LightningModule, Trainer
from pytorch_lightning.callbacks import Callback, ModelCheckpoint
from pytorch_lightning.loops import Loop, TrainingBatchLoop
from pytorch_lightning.trainer.progress import BaseProgress
from tests.helpers import BoringModel
from tests.helpers import BoringModel, RandomDataset
from tests.helpers.runif import RunIf