Skip to content

Commit

Permalink
#0: Add pytest import to vit tests because they didn't exist before a…
Browse files Browse the repository at this point in the history
…nd so it died on import error
  • Loading branch information
tt-rkim committed Apr 19, 2024
1 parent 7155821 commit d844ddf
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_intermediate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_selfattention.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down
2 changes: 2 additions & 0 deletions models/experimental/vit/tests/test_vit_selfoutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# SPDX-License-Identifier: Apache-2.0

import pytest

import torch

from loguru import logger
Expand Down

0 comments on commit d844ddf

Please sign in to comment.