Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 02660da

Browse files
azad-metafacebook-github-bot
authored andcommitted
removing base_module for glow/glow/torch_glow/tests:test_utils
Differential Revision: D55695991
1 parent 162684d commit 02660da

File tree

154 files changed

+165
-165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+165
-165
lines changed

torch_glow/tests/backends/NNPI/model_serialization_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import torch
77
import torch.jit
88
import torch_glow
9-
from tests import utils
9+
from glow.glow.torch_glow.tests.tests import utils
1010

1111

1212
class Bar(torch.nn.Module):

torch_glow/tests/backends/NNPI/qconv_big_stride_small_kernel_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import unittest
55

66
import torch
7-
from tests import utils
7+
from glow.glow.torch_glow.tests.tests import utils
88

99

1010
class TestQuantizedConv2dBigStrideSmallKernel(utils.TorchGlowTestCase):

torch_glow/tests/functionality/blocklist_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
import torch
77
import torch_glow
8-
from tests import utils
9-
from tests.utils import GLOW_FUSION_GROUP, SUBGRAPH_ATTR
8+
from glow.glow.torch_glow.tests.tests import utils
9+
from glow.glow.torch_glow.tests.tests.utils import GLOW_FUSION_GROUP, SUBGRAPH_ATTR
1010

1111

1212
class TestBlockList(utils.TorchGlowTestCase):

torch_glow/tests/functionality/compilation_spec_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import torch
99
import torch_glow
10-
from tests import utils
10+
from glow.glow.torch_glow.tests.tests import utils
1111

1212

1313
class TestCompilationSpec(utils.TorchGlowTestCase):

torch_glow/tests/functionality/conv_to_glow_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import torch
99
import torch_glow
10-
from tests import utils
10+
from glow.glow.torch_glow.tests.tests import utils
1111

1212

1313
def create_model(x, relu, bias=True):

torch_glow/tests/functionality/fuse_parallel_branches_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import torch
99
import torch_glow
10-
from tests import utils
10+
from glow.glow.torch_glow.tests.tests import utils
1111

1212

1313
class TestFuseParallelBranches(utils.TorchGlowTestCase):

torch_glow/tests/functionality/fused_linear_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
import torch
77
import torch_glow
8-
from tests import utils
9-
from tests.utils import graph_contains_str
8+
from glow.glow.torch_glow.tests.tests import utils
9+
from glow.glow.torch_glow.tests.tests.utils import graph_contains_str
1010

1111

1212
graph_str = """

torch_glow/tests/functionality/input_spec_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import torch
77
import torch_glow
8-
from tests import utils
8+
from glow.glow.torch_glow.tests.tests import utils
99

1010

1111
def get_compilation_spec(inputs):

torch_glow/tests/functionality/jit_vs_glow_path_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import torch
77
import torch.nn.functional as F
88
import torch_glow
9-
from tests import utils
9+
from glow.glow.torch_glow.tests.tests import utils
1010

1111

1212
class TestJITVsGlowPath(utils.TorchGlowTestCase):

torch_glow/tests/functionality/load_backend_specific_options_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import torch
99
import torch_glow
10-
from tests import utils
10+
from glow.glow.torch_glow.tests.tests import utils
1111

1212

1313
class TestLoadBackendSpecificOptions(utils.TorchGlowTestCase):

0 commit comments

Comments
 (0)