Skip to content

Commit

Permalink
fix(//tests/core/partitioning): Fixing some issues with the partition
Browse files Browse the repository at this point in the history
tests BUILD files

Signed-off-by: Naren Dasan <naren@narendasan.com>
Signed-off-by: Naren Dasan <narens@nvidia.com>
  • Loading branch information
narendasan committed Apr 30, 2021
1 parent dde0216 commit ff89059
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ test_suite(
tests = [
"//tests/core/conversion:conversion_tests",
"//tests/core/lowering:lowering_tests",
"//tests/core/partitioning::partitioning_tests"
"//tests/core/partitioning:partitioning_tests"
],
)
10 changes: 2 additions & 8 deletions tests/core/partitioning/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ config_setting(
}
)

filegroup(
name = "jit_models",
srcs = ["//tests/modules:resnet50_traced.jit.pt",
"//tests/modules:mobilenet_v2_traced.jit.pt"]
)

partitioning_test(
name = "test_segmentation",
)
Expand Down Expand Up @@ -41,12 +35,12 @@ cc_test(
"//conditions:default": ["@libtorch//:libtorch"],
}),
data = [
":jit_models"
"//tests/modules:jit_models"
]
)

test_suite(
name = "partitioning_test",
name = "partitioning_tests",
tests = [
":test_segmentation",
":test_shape_analysis",
Expand Down

0 comments on commit ff89059

Please sign in to comment.