parent
9f2b29a7cd
commit
766d0f391b
|
@ -25,7 +25,7 @@ class TrialMNISTDataModule(LightningDataModule):
|
|||
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
|
||||
|
|
|
@ -15,7 +15,9 @@ from tests.base import EvalModelTemplate
|
|||
|
||||
@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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue