Skip to content

Commit

Permalink
Exclude "resnet50_graph_inference.mlir" from the test as this feature…
Browse files Browse the repository at this point in the history
… is no long maintained.

PiperOrigin-RevId: 575838551
  • Loading branch information
Jieying Luo authored and copybara-github committed Oct 23, 2023
1 parent 4e2f93c commit 18a68a8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 1,780 deletions.
55 changes: 0 additions & 55 deletions documents/resnet.md

This file was deleted.

20 changes: 0 additions & 20 deletions integrationtest/resnet/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ glob_tfrt_lit_tests(
# "test_data/resnet50_graph_train_tensors.btf",
# "test_data/resnet_toy_tensors.btf",
# ":generate_resnet50_eager_inference_input",
# ":generate_resnet50_graph_inference_input",
# copybara:uncomment_end
# Un-comment this line and download the BTF file to the specified location
# in order to run resnet50_graph_inference.mlir.
# "test_data/resnet50_graph_inference_tensors.btf",
":test_utilities",
],
# Use size_override if needed.
Expand All @@ -22,28 +18,12 @@ glob_tfrt_lit_tests(
"do_not_disable_rtti",
],
exclude = [
# copybara:comment_begin(OSS TFRT user need to manually download the BTF file)
# Comment this line before running resnet50_graph_inference.mlir.
"resnet50_graph_inference.mlir",
# copybara:comment_end
"*.benchmarks.mlir",
],
)

# copybara:uncomment_begin
# genrule(
# name = "generate_resnet50_graph_inference_input",
# srcs = ["test_data/imagenet.tfrecord"],
# outs = ["test_data/resnet50_graph_inference_tensors.btf"],
# cmd = """
# $(location //third_party/tf_runtime/utils/resnet:resnet50_graph_inference_main.par) \
# --mlir_file=dummy.mlir --weights_btf_file=$(OUTS) --data_dir=$(SRCS) \
# --batch_size=1 --mode=correctness
# """,
# tools = ["@tf_runtime//utils/resnet:resnet50_graph_inference_main.par"],
# )
#
# genrule(
# name = "generate_resnet50_eager_inference_input",
# srcs = ["test_data/imagenet.tfrecord"],
# outs = ["resnet50_eager_inference_tensors.btf"],
Expand Down
Loading

0 comments on commit 18a68a8

Please sign in to comment.