Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Mar 26, 2023
1 parent a6235c4 commit dae4b82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/data/lightning/test_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def configure_optimizers(self):

@onlyCUDA
@onlyFullTest
@withPackage('pyg_lib')
@withPackage('pytorch_lightning>=2.0.0')
@withPackage('torchmetrics>=0.11.0')
@pytest.mark.parametrize('loader', ['full', 'neighbor'])
Expand Down Expand Up @@ -275,6 +276,7 @@ def configure_optimizers(self):

@onlyCUDA
@onlyFullTest
@withPackage('pyg_lib')
@withPackage('pytorch_lightning>=2.0.0')
@withPackage('torchmetrics>=0.11.0')
def test_lightning_hetero_node_data(get_dataset):
Expand Down Expand Up @@ -324,6 +326,7 @@ def sample_from_nodes(self, *args, **kwargs):

@onlyCUDA
@onlyFullTest
@withPackage('pyg_lib')
@withPackage('pytorch_lightning')
def test_lightning_hetero_link_data():
torch.manual_seed(12345)
Expand Down Expand Up @@ -383,6 +386,7 @@ def test_lightning_hetero_link_data():
assert 'edge_label_time' in batch['author', 'paper']


@withPackage('pyg_lib')
@withPackage('pytorch_lightning')
def test_lightning_hetero_link_data_custom_store():
torch.manual_seed(12345)
Expand Down Expand Up @@ -419,6 +423,7 @@ def test_lightning_hetero_link_data_custom_store():
assert 'edge_label_index' in batch['author', 'paper']


@withPackage('pyg_lib')
@withPackage('pytorch_lightning')
def test_eval_loader_kwargs(get_dataset):
data = get_dataset(name='Cora')[0]
Expand Down

0 comments on commit dae4b82

Please sign in to comment.