Skip to content

Commit

Permalink
[TESTS][Fixed]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Dec 28, 2023
1 parent cbe671c commit 5f36c90
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/structs/test_encoderdecoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import argparse
import pytest

from zeta.nn import EncoderDecoder, Encoder, Decoder
from zeta.structs import EncoderDecoder, Encoder, Decoder


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/structs/test_hierarchicalblock.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
import torch
from zeta.nn import HierarchicalBlock
from zeta.structs import HierarchicalBlock


def test_HierarchicalBlock_init():
Expand Down
2 changes: 1 addition & 1 deletion tests/structs/test_localtransformer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from torch import nn
import pytest
import torch
from zeta.nn import LocalTransformer
from zeta.structs import LocalTransformer
from torch.autograd import gradcheck
from zeta.nn.modules.dynamic_module import DynamicPositionBias

Expand Down
2 changes: 1 addition & 1 deletion tests/structs/test_paralleltransformerblock.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import torch
import pytest
from zeta.nn import ParallelTransformerBlock
from zeta.structs import ParallelTransformerBlock
from torch.autograd import gradcheck


Expand Down
2 changes: 1 addition & 1 deletion tests/structs/test_simpletransformer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import torch
import torch.nn as nn
from zeta.nn import SimpleTransformer
from zeta.structs import SimpleTransformer


def test_valid_init():
Expand Down
2 changes: 1 addition & 1 deletion tests/structs/test_transformer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
import torch
from zeta.nn import Transformer, AttentionLayers
from zeta.structs import Transformer, AttentionLayers

# assuming that you are testing the Transformer class

Expand Down
2 changes: 1 addition & 1 deletion tests/structs/test_vitransformerwrapper.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
import torch
from zeta.nn import ViTransformerWrapper, Encoder
from zeta.structs import ViTransformerWrapper, Encoder
from torch.nn import Module


Expand Down

0 comments on commit 5f36c90

Please sign in to comment.