Skip to content

Commit 0fbd10b

Browse files
fix tests
1 parent 06bd5e5 commit 0fbd10b

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

tests/test_decoders.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ def test_decoder_2d():
99
dim=64,
1010
num_layers=3,
1111
heads=2,
12-
use_rotary_embed=True,
1312
dropout=0.0,
1413
)
1514
B = 2
@@ -27,7 +26,6 @@ def test_decoder_3d():
2726
dim=64,
2827
num_layers=3,
2928
heads=2,
30-
use_rotary_embed=True,
3129
dropout=0.0,
3230
)
3331
B = 2
@@ -44,7 +42,6 @@ def test_decoder_4d():
4442
dim=128,
4543
num_layers=3,
4644
heads=2,
47-
use_rotary_embed=True,
4845
dropout=0.0,
4946
)
5047
B = 2

tests/test_mae.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __getitem__(self, idx: int):
6363

6464
@pytest.mark.parametrize("in_channels", [1, 3])
6565
@pytest.mark.parametrize("ndim", [2, 3, 4])
66-
def test_mae_fwd(input_space: str, in_channels: int, ndim: int):
66+
def test_mae_fwd(in_channels: int, ndim: int):
6767
if ndim not in (2, 3, 4):
6868
raise ValueError("ndim must be either 2, 3, or 4.")
6969
ActualCls = NDIM_TO_MAE_CLS[ndim]
@@ -168,4 +168,4 @@ def test_mae_io(ndim: int):
168168
)
169169

170170
if __name__ == "__main__":
171-
test_mae_fwd("real", 1, 4)
171+
test_mae_fwd("real", 1, 4)

0 commit comments

Comments
 (0)