Skip to content

Commit

Permalink
Run MultiNestedTensor tests on both CPU and GPU (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta authored Jan 1, 2025
1 parent febb5e4 commit 17b5507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/data/test_multi_nested_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from torch import Tensor

from torch_frame.data import MultiNestedTensor
from torch_frame.testing import onlyCUDA
from torch_frame.testing import onlyCUDA, withCUDA


def assert_equal(tensor_mat: list[list[Tensor]],
Expand Down Expand Up @@ -95,7 +95,7 @@ def test_fillna_col():
torch.tensor([100], dtype=torch.float32)))


@onlyCUDA
@withCUDA
def test_basics(device):
num_rows = 8
num_cols = 10
Expand Down

0 comments on commit 17b5507

Please sign in to comment.