Skip to content

Commit

Permalink
re-trigger build (#2988)
Browse files Browse the repository at this point in the history
* fixed build

* fixed build
  • Loading branch information
williamFalcon committed Aug 16, 2020
1 parent 9f2b29a commit 766d0f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/base/datamodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setup(self, stage: str = None):
self.dims = self.mnist_train[0][0].shape

if stage == 'test' or stage is None:
self.mnist_test = TrialMNIST(root=self.data_dir, train=False, num_samples=32, download=True)
self.mnist_test = TrialMNIST(root=self.data_dir, train=False, num_samples=64, download=True)
self.dims = getattr(self, 'dims', self.mnist_test[0][0].shape)

self.non_picklable = lambda x: x**2
Expand Down
4 changes: 3 additions & 1 deletion tests/models/test_amp.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@

@pytest.mark.skipif(torch.cuda.device_count() < 2, reason="test requires multi-GPU machine")
def test_multi_gpu_wandb_ddp_spawn(tmpdir):
"""Make sure DP/DDP + AMP work."""
"""
Test ddp + wb
"""
from pytorch_lightning.loggers import WandbLogger
tutils.set_random_master_port()

Expand Down

0 comments on commit 766d0f3

Please sign in to comment.