Skip to content

Commit

Permalink
Skip sparse tests on GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Jun 25, 2024
1 parent 5d78ec2 commit c03e7b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras/src/ops/numpy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ def test_matmul(self):
y = KerasTensor((2, 3, 4))
knp.matmul(x, y)

@pytest.mark.skipif(testing.tensorflow_uses_gpu(), reason="Segfault")
def test_matmul_sparse(self):
x = KerasTensor((2, 3), sparse=True)
y = KerasTensor((3, 2))
Expand Down

0 comments on commit c03e7b0

Please sign in to comment.