Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/models/test_graphsage_dgl.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ def test_graphsage_dgl(
pytest.skip(
"Windows and macOS use `spawn` in multiprocessing, which does not work well in pytest"
)
if sys.platform == "darwin":
pytest.skip(
"DGL is incompatible with macOS, which uses torch.mps"
)

tf.compat.v1.reset_default_graph()
pd_data, train_data, eval_data, data_info = feat_data_small
if task == "ranking" and neg_sampling is False and loss_type == "cross_entropy":
Expand Down
5 changes: 5 additions & 0 deletions tests/models/test_pinsage_dgl.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ def test_pinsage_dgl(
pytest.skip(
"Windows and macOS use `spawn` in multiprocessing, which does not work well in pytest"
)
if sys.platform == "darwin":
pytest.skip(
"DGL is incompatible with macOS, which uses torch.mps"
)

tf.compat.v1.reset_default_graph()
pd_data, train_data, eval_data, data_info = feat_data_small
if task == "ranking" and neg_sampling is False and loss_type == "cross_entropy":
Expand Down
Loading