Skip to content

Commit

Permalink
No longer allow usage of tensorboard dev upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmd3k committed Oct 17, 2023
1 parent 9c25f00 commit 4ad4313
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 4,595 deletions.
87 changes: 0 additions & 87 deletions tensorboard/uploader/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ py_library(
visibility = ["//tensorboard:internal"],
deps = [
":auth",
":dry_run_stubs",
":exporter",
":flags_parser",
":formatters",
Expand All @@ -79,7 +78,6 @@ py_library(
"//tensorboard:expect_absl_logging_installed",
"//tensorboard:expect_grpc_installed",
"//tensorboard:program",
"//tensorboard/compat:tensorflow",
"//tensorboard/plugins:base_plugin",
"//tensorboard/uploader/proto:protos_all_py_pb2_grpc",
],
Expand All @@ -90,7 +88,6 @@ py_test(
srcs = ["uploader_subcommand_test.py"],
srcs_version = "PY3",
deps = [
":dry_run_stubs",
":server_info",
":uploader",
":uploader_subcommand",
Expand All @@ -104,87 +101,28 @@ py_library(
srcs = ["uploader.py"],
srcs_version = "PY3",
deps = [
":logdir_loader",
":upload_tracker",
":util",
"//tensorboard:expect_grpc_installed",
"//tensorboard:expect_protobuf_installed",
"//tensorboard/backend:process_graph",
"//tensorboard/backend/event_processing:directory_loader",
"//tensorboard/backend/event_processing:event_file_loader",
"//tensorboard/backend/event_processing:io_wrapper",
"//tensorboard/compat/proto:protos_all_py_pb2",
"//tensorboard/plugins/graph:metadata",
"//tensorboard/uploader/proto:protos_all_py_pb2",
"//tensorboard/util:grpc_util",
"//tensorboard/util:tb_logging",
"//tensorboard/util:tensor_util",
],
)

py_library(
name = "upload_tracker",
srcs = ["upload_tracker.py"],
srcs_version = "PY3",
)

py_test(
name = "uploader_test",
srcs = ["uploader_test.py"],
srcs_version = "PY3",
deps = [
":dry_run_stubs",
":server_info",
":test_util",
":upload_tracker",
":uploader",
":util",
"//tensorboard:data_compat",
"//tensorboard:dataclass_compat",
"//tensorboard:expect_grpc_installed",
"//tensorboard:expect_grpc_testing_installed",
"//tensorboard:expect_protobuf_installed",
"//tensorboard:expect_tensorflow_installed",
"//tensorboard/compat:no_tensorflow",
"//tensorboard/compat/proto:protos_all_py_pb2",
"//tensorboard/plugins/graph:metadata",
"//tensorboard/plugins/histogram:summary_v2",
"//tensorboard/plugins/scalar:metadata",
"//tensorboard/plugins/scalar:summary_v2",
"//tensorboard/summary:summary_v1",
"//tensorboard/uploader/proto:protos_all_py_pb2",
"//tensorboard/uploader/proto:protos_all_py_pb2_grpc",
"//tensorboard/util:test_util",
],
)

py_test(
name = "upload_tracker_test",
srcs = ["upload_tracker_test.py"],
srcs_version = "PY3",
deps = [
":upload_tracker",
"//tensorboard:test",
],
)

py_library(
name = "dry_run_stubs",
srcs = ["dry_run_stubs.py"],
srcs_version = "PY3",
deps = [
"//tensorboard/uploader/proto:protos_all_py_pb2",
],
)

py_test(
name = "dry_run_stubs_test",
srcs = ["dry_run_stubs_test.py"],
srcs_version = "PY3",
deps = [
":dry_run_stubs",
"//tensorboard:test",
"//tensorboard/uploader/proto:protos_all_py_pb2",
],
)

Expand All @@ -211,30 +149,6 @@ py_test(
],
)

py_library(
name = "logdir_loader",
srcs = ["logdir_loader.py"],
srcs_version = "PY3",
deps = [
"//tensorboard/backend/event_processing:directory_watcher",
"//tensorboard/backend/event_processing:io_wrapper",
"//tensorboard/util:tb_logging",
],
)

py_test(
name = "logdir_loader_test",
srcs = ["logdir_loader_test.py"],
deps = [
":logdir_loader",
"//tensorboard:test",
"//tensorboard/backend/event_processing:directory_loader",
"//tensorboard/backend/event_processing:event_file_loader",
"//tensorboard/backend/event_processing:io_wrapper",
"//tensorboard/util:test_util",
],
)

py_library(
name = "test_util",
testonly = 1,
Expand All @@ -257,7 +171,6 @@ py_test(
name = "util_test",
srcs = ["util_test.py"],
deps = [
":test_util",
":util",
"//tensorboard:expect_protobuf_installed",
"//tensorboard:test",
Expand Down
53 changes: 0 additions & 53 deletions tensorboard/uploader/dry_run_stubs.py

This file was deleted.

52 changes: 0 additions & 52 deletions tensorboard/uploader/dry_run_stubs_test.py

This file was deleted.

108 changes: 0 additions & 108 deletions tensorboard/uploader/logdir_loader.py

This file was deleted.

Loading

0 comments on commit 4ad4313

Please sign in to comment.