Skip to content

Commit

Permalink
Fix nightly CI (#8396)
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s authored Nov 17, 2023
1 parent 7f50de1 commit cf24b4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/nn/conv/test_hetero_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ def test_compile_hetero_conv_graph_breaks(device):
out = compiled_conv(data.x_dict, data.edge_index_dict)
assert len(out) == len(expected)
for key in expected.keys():
assert torch.allclose(out[key], expected[key])
assert torch.allclose(out[key], expected[key], atol=1e-6)
2 changes: 1 addition & 1 deletion test/utils/test_trim_to_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def test_trim_to_layer_with_neighbor_loader():
batch.num_sampled_nodes, batch.num_sampled_edges)[:2]
assert out2.size() == (2, 16)

assert torch.allclose(out1, out2)
assert torch.allclose(out1, out2, atol=1e-6)


def test_trim_to_layer_filtering():
Expand Down

0 comments on commit cf24b4b

Please sign in to comment.