tensorbored 2.21.0rc1769983804__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. tensorbored/__init__.py +112 -0
  2. tensorbored/_vendor/__init__.py +0 -0
  3. tensorbored/_vendor/bleach/__init__.py +125 -0
  4. tensorbored/_vendor/bleach/_vendor/__init__.py +0 -0
  5. tensorbored/_vendor/bleach/_vendor/html5lib/__init__.py +35 -0
  6. tensorbored/_vendor/bleach/_vendor/html5lib/_ihatexml.py +289 -0
  7. tensorbored/_vendor/bleach/_vendor/html5lib/_inputstream.py +918 -0
  8. tensorbored/_vendor/bleach/_vendor/html5lib/_tokenizer.py +1735 -0
  9. tensorbored/_vendor/bleach/_vendor/html5lib/_trie/__init__.py +5 -0
  10. tensorbored/_vendor/bleach/_vendor/html5lib/_trie/_base.py +40 -0
  11. tensorbored/_vendor/bleach/_vendor/html5lib/_trie/py.py +67 -0
  12. tensorbored/_vendor/bleach/_vendor/html5lib/_utils.py +159 -0
  13. tensorbored/_vendor/bleach/_vendor/html5lib/constants.py +2946 -0
  14. tensorbored/_vendor/bleach/_vendor/html5lib/filters/__init__.py +0 -0
  15. tensorbored/_vendor/bleach/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
  16. tensorbored/_vendor/bleach/_vendor/html5lib/filters/base.py +12 -0
  17. tensorbored/_vendor/bleach/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
  18. tensorbored/_vendor/bleach/_vendor/html5lib/filters/lint.py +93 -0
  19. tensorbored/_vendor/bleach/_vendor/html5lib/filters/optionaltags.py +207 -0
  20. tensorbored/_vendor/bleach/_vendor/html5lib/filters/sanitizer.py +916 -0
  21. tensorbored/_vendor/bleach/_vendor/html5lib/filters/whitespace.py +38 -0
  22. tensorbored/_vendor/bleach/_vendor/html5lib/html5parser.py +2795 -0
  23. tensorbored/_vendor/bleach/_vendor/html5lib/serializer.py +409 -0
  24. tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/__init__.py +30 -0
  25. tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/genshi.py +54 -0
  26. tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/sax.py +50 -0
  27. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/__init__.py +88 -0
  28. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/base.py +417 -0
  29. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/dom.py +239 -0
  30. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/etree.py +343 -0
  31. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
  32. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/__init__.py +154 -0
  33. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/base.py +252 -0
  34. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/dom.py +43 -0
  35. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/etree.py +131 -0
  36. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
  37. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/genshi.py +69 -0
  38. tensorbored/_vendor/bleach/_vendor/parse.py +1078 -0
  39. tensorbored/_vendor/bleach/callbacks.py +32 -0
  40. tensorbored/_vendor/bleach/html5lib_shim.py +757 -0
  41. tensorbored/_vendor/bleach/linkifier.py +633 -0
  42. tensorbored/_vendor/bleach/parse_shim.py +1 -0
  43. tensorbored/_vendor/bleach/sanitizer.py +638 -0
  44. tensorbored/_vendor/bleach/six_shim.py +19 -0
  45. tensorbored/_vendor/webencodings/__init__.py +342 -0
  46. tensorbored/_vendor/webencodings/labels.py +231 -0
  47. tensorbored/_vendor/webencodings/mklabels.py +59 -0
  48. tensorbored/_vendor/webencodings/x_user_defined.py +325 -0
  49. tensorbored/assets.py +36 -0
  50. tensorbored/auth.py +102 -0
  51. tensorbored/backend/__init__.py +0 -0
  52. tensorbored/backend/application.py +604 -0
  53. tensorbored/backend/auth_context_middleware.py +38 -0
  54. tensorbored/backend/client_feature_flags.py +113 -0
  55. tensorbored/backend/empty_path_redirect.py +46 -0
  56. tensorbored/backend/event_processing/__init__.py +0 -0
  57. tensorbored/backend/event_processing/data_ingester.py +276 -0
  58. tensorbored/backend/event_processing/data_provider.py +535 -0
  59. tensorbored/backend/event_processing/directory_loader.py +142 -0
  60. tensorbored/backend/event_processing/directory_watcher.py +272 -0
  61. tensorbored/backend/event_processing/event_accumulator.py +950 -0
  62. tensorbored/backend/event_processing/event_file_inspector.py +463 -0
  63. tensorbored/backend/event_processing/event_file_loader.py +292 -0
  64. tensorbored/backend/event_processing/event_multiplexer.py +521 -0
  65. tensorbored/backend/event_processing/event_util.py +68 -0
  66. tensorbored/backend/event_processing/io_wrapper.py +223 -0
  67. tensorbored/backend/event_processing/plugin_asset_util.py +104 -0
  68. tensorbored/backend/event_processing/plugin_event_accumulator.py +721 -0
  69. tensorbored/backend/event_processing/plugin_event_multiplexer.py +522 -0
  70. tensorbored/backend/event_processing/reservoir.py +266 -0
  71. tensorbored/backend/event_processing/tag_types.py +29 -0
  72. tensorbored/backend/experiment_id.py +71 -0
  73. tensorbored/backend/experimental_plugin.py +51 -0
  74. tensorbored/backend/http_util.py +263 -0
  75. tensorbored/backend/json_util.py +70 -0
  76. tensorbored/backend/path_prefix.py +67 -0
  77. tensorbored/backend/process_graph.py +74 -0
  78. tensorbored/backend/security_validator.py +202 -0
  79. tensorbored/compat/__init__.py +69 -0
  80. tensorbored/compat/proto/__init__.py +0 -0
  81. tensorbored/compat/proto/allocation_description_pb2.py +35 -0
  82. tensorbored/compat/proto/api_def_pb2.py +82 -0
  83. tensorbored/compat/proto/attr_value_pb2.py +80 -0
  84. tensorbored/compat/proto/cluster_pb2.py +58 -0
  85. tensorbored/compat/proto/config_pb2.py +271 -0
  86. tensorbored/compat/proto/coordination_config_pb2.py +45 -0
  87. tensorbored/compat/proto/cost_graph_pb2.py +87 -0
  88. tensorbored/compat/proto/cpp_shape_inference_pb2.py +70 -0
  89. tensorbored/compat/proto/debug_pb2.py +65 -0
  90. tensorbored/compat/proto/event_pb2.py +149 -0
  91. tensorbored/compat/proto/full_type_pb2.py +74 -0
  92. tensorbored/compat/proto/function_pb2.py +157 -0
  93. tensorbored/compat/proto/graph_debug_info_pb2.py +111 -0
  94. tensorbored/compat/proto/graph_pb2.py +41 -0
  95. tensorbored/compat/proto/histogram_pb2.py +39 -0
  96. tensorbored/compat/proto/meta_graph_pb2.py +254 -0
  97. tensorbored/compat/proto/node_def_pb2.py +61 -0
  98. tensorbored/compat/proto/op_def_pb2.py +81 -0
  99. tensorbored/compat/proto/resource_handle_pb2.py +48 -0
  100. tensorbored/compat/proto/rewriter_config_pb2.py +93 -0
  101. tensorbored/compat/proto/rpc_options_pb2.py +35 -0
  102. tensorbored/compat/proto/saved_object_graph_pb2.py +193 -0
  103. tensorbored/compat/proto/saver_pb2.py +38 -0
  104. tensorbored/compat/proto/step_stats_pb2.py +116 -0
  105. tensorbored/compat/proto/struct_pb2.py +144 -0
  106. tensorbored/compat/proto/summary_pb2.py +111 -0
  107. tensorbored/compat/proto/tensor_description_pb2.py +38 -0
  108. tensorbored/compat/proto/tensor_pb2.py +68 -0
  109. tensorbored/compat/proto/tensor_shape_pb2.py +46 -0
  110. tensorbored/compat/proto/tfprof_log_pb2.py +307 -0
  111. tensorbored/compat/proto/trackable_object_graph_pb2.py +90 -0
  112. tensorbored/compat/proto/types_pb2.py +105 -0
  113. tensorbored/compat/proto/variable_pb2.py +62 -0
  114. tensorbored/compat/proto/verifier_config_pb2.py +38 -0
  115. tensorbored/compat/proto/versions_pb2.py +35 -0
  116. tensorbored/compat/tensorflow_stub/__init__.py +38 -0
  117. tensorbored/compat/tensorflow_stub/app.py +124 -0
  118. tensorbored/compat/tensorflow_stub/compat/__init__.py +131 -0
  119. tensorbored/compat/tensorflow_stub/compat/v1/__init__.py +20 -0
  120. tensorbored/compat/tensorflow_stub/dtypes.py +692 -0
  121. tensorbored/compat/tensorflow_stub/error_codes.py +169 -0
  122. tensorbored/compat/tensorflow_stub/errors.py +507 -0
  123. tensorbored/compat/tensorflow_stub/flags.py +124 -0
  124. tensorbored/compat/tensorflow_stub/io/__init__.py +17 -0
  125. tensorbored/compat/tensorflow_stub/io/gfile.py +1011 -0
  126. tensorbored/compat/tensorflow_stub/pywrap_tensorflow.py +285 -0
  127. tensorbored/compat/tensorflow_stub/tensor_shape.py +1035 -0
  128. tensorbored/context.py +129 -0
  129. tensorbored/data/__init__.py +0 -0
  130. tensorbored/data/grpc_provider.py +365 -0
  131. tensorbored/data/ingester.py +46 -0
  132. tensorbored/data/proto/__init__.py +0 -0
  133. tensorbored/data/proto/data_provider_pb2.py +517 -0
  134. tensorbored/data/proto/data_provider_pb2_grpc.py +374 -0
  135. tensorbored/data/provider.py +1365 -0
  136. tensorbored/data/server_ingester.py +301 -0
  137. tensorbored/data_compat.py +159 -0
  138. tensorbored/dataclass_compat.py +224 -0
  139. tensorbored/default.py +124 -0
  140. tensorbored/errors.py +130 -0
  141. tensorbored/lazy.py +99 -0
  142. tensorbored/main.py +48 -0
  143. tensorbored/main_lib.py +62 -0
  144. tensorbored/manager.py +487 -0
  145. tensorbored/notebook.py +441 -0
  146. tensorbored/plugin_util.py +266 -0
  147. tensorbored/plugins/__init__.py +0 -0
  148. tensorbored/plugins/audio/__init__.py +0 -0
  149. tensorbored/plugins/audio/audio_plugin.py +229 -0
  150. tensorbored/plugins/audio/metadata.py +69 -0
  151. tensorbored/plugins/audio/plugin_data_pb2.py +37 -0
  152. tensorbored/plugins/audio/summary.py +230 -0
  153. tensorbored/plugins/audio/summary_v2.py +124 -0
  154. tensorbored/plugins/base_plugin.py +367 -0
  155. tensorbored/plugins/core/__init__.py +0 -0
  156. tensorbored/plugins/core/core_plugin.py +981 -0
  157. tensorbored/plugins/custom_scalar/__init__.py +0 -0
  158. tensorbored/plugins/custom_scalar/custom_scalars_plugin.py +320 -0
  159. tensorbored/plugins/custom_scalar/layout_pb2.py +85 -0
  160. tensorbored/plugins/custom_scalar/metadata.py +35 -0
  161. tensorbored/plugins/custom_scalar/summary.py +79 -0
  162. tensorbored/plugins/debugger_v2/__init__.py +0 -0
  163. tensorbored/plugins/debugger_v2/debug_data_multiplexer.py +631 -0
  164. tensorbored/plugins/debugger_v2/debug_data_provider.py +634 -0
  165. tensorbored/plugins/debugger_v2/debugger_v2_plugin.py +504 -0
  166. tensorbored/plugins/distribution/__init__.py +0 -0
  167. tensorbored/plugins/distribution/compressor.py +158 -0
  168. tensorbored/plugins/distribution/distributions_plugin.py +116 -0
  169. tensorbored/plugins/distribution/metadata.py +19 -0
  170. tensorbored/plugins/graph/__init__.py +0 -0
  171. tensorbored/plugins/graph/graph_util.py +129 -0
  172. tensorbored/plugins/graph/graphs_plugin.py +336 -0
  173. tensorbored/plugins/graph/keras_util.py +328 -0
  174. tensorbored/plugins/graph/metadata.py +42 -0
  175. tensorbored/plugins/histogram/__init__.py +0 -0
  176. tensorbored/plugins/histogram/histograms_plugin.py +144 -0
  177. tensorbored/plugins/histogram/metadata.py +63 -0
  178. tensorbored/plugins/histogram/plugin_data_pb2.py +34 -0
  179. tensorbored/plugins/histogram/summary.py +234 -0
  180. tensorbored/plugins/histogram/summary_v2.py +292 -0
  181. tensorbored/plugins/hparams/__init__.py +14 -0
  182. tensorbored/plugins/hparams/_keras.py +93 -0
  183. tensorbored/plugins/hparams/api.py +130 -0
  184. tensorbored/plugins/hparams/api_pb2.py +208 -0
  185. tensorbored/plugins/hparams/backend_context.py +606 -0
  186. tensorbored/plugins/hparams/download_data.py +158 -0
  187. tensorbored/plugins/hparams/error.py +26 -0
  188. tensorbored/plugins/hparams/get_experiment.py +71 -0
  189. tensorbored/plugins/hparams/hparams_plugin.py +206 -0
  190. tensorbored/plugins/hparams/hparams_util_pb2.py +69 -0
  191. tensorbored/plugins/hparams/json_format_compat.py +38 -0
  192. tensorbored/plugins/hparams/list_metric_evals.py +57 -0
  193. tensorbored/plugins/hparams/list_session_groups.py +1040 -0
  194. tensorbored/plugins/hparams/metadata.py +125 -0
  195. tensorbored/plugins/hparams/metrics.py +41 -0
  196. tensorbored/plugins/hparams/plugin_data_pb2.py +69 -0
  197. tensorbored/plugins/hparams/summary.py +205 -0
  198. tensorbored/plugins/hparams/summary_v2.py +597 -0
  199. tensorbored/plugins/image/__init__.py +0 -0
  200. tensorbored/plugins/image/images_plugin.py +232 -0
  201. tensorbored/plugins/image/metadata.py +65 -0
  202. tensorbored/plugins/image/plugin_data_pb2.py +34 -0
  203. tensorbored/plugins/image/summary.py +159 -0
  204. tensorbored/plugins/image/summary_v2.py +130 -0
  205. tensorbored/plugins/mesh/__init__.py +14 -0
  206. tensorbored/plugins/mesh/mesh_plugin.py +292 -0
  207. tensorbored/plugins/mesh/metadata.py +152 -0
  208. tensorbored/plugins/mesh/plugin_data_pb2.py +37 -0
  209. tensorbored/plugins/mesh/summary.py +251 -0
  210. tensorbored/plugins/mesh/summary_v2.py +214 -0
  211. tensorbored/plugins/metrics/__init__.py +0 -0
  212. tensorbored/plugins/metrics/metadata.py +17 -0
  213. tensorbored/plugins/metrics/metrics_plugin.py +623 -0
  214. tensorbored/plugins/pr_curve/__init__.py +0 -0
  215. tensorbored/plugins/pr_curve/metadata.py +75 -0
  216. tensorbored/plugins/pr_curve/plugin_data_pb2.py +34 -0
  217. tensorbored/plugins/pr_curve/pr_curves_plugin.py +241 -0
  218. tensorbored/plugins/pr_curve/summary.py +574 -0
  219. tensorbored/plugins/profile_redirect/__init__.py +0 -0
  220. tensorbored/plugins/profile_redirect/profile_redirect_plugin.py +49 -0
  221. tensorbored/plugins/projector/__init__.py +67 -0
  222. tensorbored/plugins/projector/metadata.py +26 -0
  223. tensorbored/plugins/projector/projector_config_pb2.py +54 -0
  224. tensorbored/plugins/projector/projector_plugin.py +795 -0
  225. tensorbored/plugins/projector/tf_projector_plugin/index.js +32 -0
  226. tensorbored/plugins/projector/tf_projector_plugin/projector_binary.html +524 -0
  227. tensorbored/plugins/projector/tf_projector_plugin/projector_binary.js +15536 -0
  228. tensorbored/plugins/scalar/__init__.py +0 -0
  229. tensorbored/plugins/scalar/metadata.py +60 -0
  230. tensorbored/plugins/scalar/plugin_data_pb2.py +34 -0
  231. tensorbored/plugins/scalar/scalars_plugin.py +181 -0
  232. tensorbored/plugins/scalar/summary.py +109 -0
  233. tensorbored/plugins/scalar/summary_v2.py +124 -0
  234. tensorbored/plugins/text/__init__.py +0 -0
  235. tensorbored/plugins/text/metadata.py +62 -0
  236. tensorbored/plugins/text/plugin_data_pb2.py +34 -0
  237. tensorbored/plugins/text/summary.py +114 -0
  238. tensorbored/plugins/text/summary_v2.py +124 -0
  239. tensorbored/plugins/text/text_plugin.py +288 -0
  240. tensorbored/plugins/wit_redirect/__init__.py +0 -0
  241. tensorbored/plugins/wit_redirect/wit_redirect_plugin.py +49 -0
  242. tensorbored/program.py +910 -0
  243. tensorbored/summary/__init__.py +35 -0
  244. tensorbored/summary/_output.py +124 -0
  245. tensorbored/summary/_tf/__init__.py +14 -0
  246. tensorbored/summary/_tf/summary/__init__.py +178 -0
  247. tensorbored/summary/_writer.py +105 -0
  248. tensorbored/summary/v1.py +51 -0
  249. tensorbored/summary/v2.py +25 -0
  250. tensorbored/summary/writer/__init__.py +13 -0
  251. tensorbored/summary/writer/event_file_writer.py +291 -0
  252. tensorbored/summary/writer/record_writer.py +50 -0
  253. tensorbored/util/__init__.py +0 -0
  254. tensorbored/util/encoder.py +116 -0
  255. tensorbored/util/grpc_util.py +311 -0
  256. tensorbored/util/img_mime_type_detector.py +40 -0
  257. tensorbored/util/io_util.py +20 -0
  258. tensorbored/util/lazy_tensor_creator.py +110 -0
  259. tensorbored/util/op_evaluator.py +104 -0
  260. tensorbored/util/platform_util.py +20 -0
  261. tensorbored/util/tb_logging.py +24 -0
  262. tensorbored/util/tensor_util.py +617 -0
  263. tensorbored/util/timing.py +122 -0
  264. tensorbored/version.py +21 -0
  265. tensorbored/webfiles.zip +0 -0
  266. tensorbored-2.21.0rc1769983804.dist-info/METADATA +49 -0
  267. tensorbored-2.21.0rc1769983804.dist-info/RECORD +271 -0
  268. tensorbored-2.21.0rc1769983804.dist-info/WHEEL +5 -0
  269. tensorbored-2.21.0rc1769983804.dist-info/entry_points.txt +6 -0
  270. tensorbored-2.21.0rc1769983804.dist-info/licenses/LICENSE +739 -0
  271. tensorbored-2.21.0rc1769983804.dist-info/top_level.txt +1 -0
@@ -0,0 +1,80 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/attr_value.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from tensorbored.compat.proto import tensor_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__pb2
16
+ from tensorbored.compat.proto import tensor_shape_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__shape__pb2
17
+ from tensorbored.compat.proto import types_pb2 as tensorbored_dot_compat_dot_proto_dot_types__pb2
18
+
19
+
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)tensorbored/compat/proto/attr_value.proto\x12\x0btensorbored\x1a%tensorbored/compat/proto/tensor.proto\x1a+tensorbored/compat/proto/tensor_shape.proto\x1a$tensorbored/compat/proto/types.proto\"\xaf\x04\n\tAttrValue\x12\x0b\n\x01s\x18\x02 \x01(\x0cH\x00\x12\x0b\n\x01i\x18\x03 \x01(\x03H\x00\x12\x0b\n\x01\x66\x18\x04 \x01(\x02H\x00\x12\x0b\n\x01\x62\x18\x05 \x01(\x08H\x00\x12%\n\x04type\x18\x06 \x01(\x0e\x32\x15.tensorbored.DataTypeH\x00\x12.\n\x05shape\x18\x07 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProtoH\x00\x12*\n\x06tensor\x18\x08 \x01(\x0b\x32\x18.tensorbored.TensorProtoH\x00\x12\x30\n\x04list\x18\x01 \x01(\x0b\x32 .tensorbored.AttrValue.ListValueH\x00\x12)\n\x04\x66unc\x18\n \x01(\x0b\x32\x19.tensorbored.NameAttrListH\x00\x12\x15\n\x0bplaceholder\x18\t \x01(\tH\x00\x1a\xed\x01\n\tListValue\x12\t\n\x01s\x18\x02 \x03(\x0c\x12\r\n\x01i\x18\x03 \x03(\x03\x42\x02\x10\x01\x12\r\n\x01\x66\x18\x04 \x03(\x02\x42\x02\x10\x01\x12\r\n\x01\x62\x18\x05 \x03(\x08\x42\x02\x10\x01\x12\'\n\x04type\x18\x06 \x03(\x0e\x32\x15.tensorbored.DataTypeB\x02\x10\x01\x12,\n\x05shape\x18\x07 \x03(\x0b\x32\x1d.tensorbored.TensorShapeProto\x12(\n\x06tensor\x18\x08 \x03(\x0b\x32\x18.tensorbored.TensorProto\x12\'\n\x04\x66unc\x18\t \x03(\x0b\x32\x19.tensorbored.NameAttrListB\x07\n\x05value\"\x94\x01\n\x0cNameAttrList\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x31\n\x04\x61ttr\x18\x02 \x03(\x0b\x32#.tensorbored.NameAttrList.AttrEntry\x1a\x43\n\tAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorbored.AttrValue:\x02\x38\x01\x42\x83\x01\n\x18org.tensorflow.frameworkB\x0f\x41ttrValueProtosP\x01ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/attr_value_go_proto\xf8\x01\x01\x62\x06proto3')
21
+
22
+
23
+
24
+ _ATTRVALUE = DESCRIPTOR.message_types_by_name['AttrValue']
25
+ _ATTRVALUE_LISTVALUE = _ATTRVALUE.nested_types_by_name['ListValue']
26
+ _NAMEATTRLIST = DESCRIPTOR.message_types_by_name['NameAttrList']
27
+ _NAMEATTRLIST_ATTRENTRY = _NAMEATTRLIST.nested_types_by_name['AttrEntry']
28
+ AttrValue = _reflection.GeneratedProtocolMessageType('AttrValue', (_message.Message,), {
29
+
30
+ 'ListValue' : _reflection.GeneratedProtocolMessageType('ListValue', (_message.Message,), {
31
+ 'DESCRIPTOR' : _ATTRVALUE_LISTVALUE,
32
+ '__module__' : 'tensorbored.compat.proto.attr_value_pb2'
33
+ # @@protoc_insertion_point(class_scope:tensorbored.AttrValue.ListValue)
34
+ })
35
+ ,
36
+ 'DESCRIPTOR' : _ATTRVALUE,
37
+ '__module__' : 'tensorbored.compat.proto.attr_value_pb2'
38
+ # @@protoc_insertion_point(class_scope:tensorbored.AttrValue)
39
+ })
40
+ _sym_db.RegisterMessage(AttrValue)
41
+ _sym_db.RegisterMessage(AttrValue.ListValue)
42
+
43
+ NameAttrList = _reflection.GeneratedProtocolMessageType('NameAttrList', (_message.Message,), {
44
+
45
+ 'AttrEntry' : _reflection.GeneratedProtocolMessageType('AttrEntry', (_message.Message,), {
46
+ 'DESCRIPTOR' : _NAMEATTRLIST_ATTRENTRY,
47
+ '__module__' : 'tensorbored.compat.proto.attr_value_pb2'
48
+ # @@protoc_insertion_point(class_scope:tensorbored.NameAttrList.AttrEntry)
49
+ })
50
+ ,
51
+ 'DESCRIPTOR' : _NAMEATTRLIST,
52
+ '__module__' : 'tensorbored.compat.proto.attr_value_pb2'
53
+ # @@protoc_insertion_point(class_scope:tensorbored.NameAttrList)
54
+ })
55
+ _sym_db.RegisterMessage(NameAttrList)
56
+ _sym_db.RegisterMessage(NameAttrList.AttrEntry)
57
+
58
+ if _descriptor._USE_C_DESCRIPTORS == False:
59
+
60
+ DESCRIPTOR._options = None
61
+ DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\017AttrValueProtosP\001ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/attr_value_go_proto\370\001\001'
62
+ _ATTRVALUE_LISTVALUE.fields_by_name['i']._options = None
63
+ _ATTRVALUE_LISTVALUE.fields_by_name['i']._serialized_options = b'\020\001'
64
+ _ATTRVALUE_LISTVALUE.fields_by_name['f']._options = None
65
+ _ATTRVALUE_LISTVALUE.fields_by_name['f']._serialized_options = b'\020\001'
66
+ _ATTRVALUE_LISTVALUE.fields_by_name['b']._options = None
67
+ _ATTRVALUE_LISTVALUE.fields_by_name['b']._serialized_options = b'\020\001'
68
+ _ATTRVALUE_LISTVALUE.fields_by_name['type']._options = None
69
+ _ATTRVALUE_LISTVALUE.fields_by_name['type']._serialized_options = b'\020\001'
70
+ _NAMEATTRLIST_ATTRENTRY._options = None
71
+ _NAMEATTRLIST_ATTRENTRY._serialized_options = b'8\001'
72
+ _ATTRVALUE._serialized_start=181
73
+ _ATTRVALUE._serialized_end=740
74
+ _ATTRVALUE_LISTVALUE._serialized_start=494
75
+ _ATTRVALUE_LISTVALUE._serialized_end=731
76
+ _NAMEATTRLIST._serialized_start=743
77
+ _NAMEATTRLIST._serialized_end=891
78
+ _NAMEATTRLIST_ATTRENTRY._serialized_start=824
79
+ _NAMEATTRLIST_ATTRENTRY._serialized_end=891
80
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,58 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/cluster.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&tensorbored/compat/proto/cluster.proto\x12\x0btensorbored\"s\n\x06JobDef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12-\n\x05tasks\x18\x02 \x03(\x0b\x32\x1e.tensorbored.JobDef.TasksEntry\x1a,\n\nTasksEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\nClusterDef\x12 \n\x03job\x18\x01 \x03(\x0b\x32\x13.tensorbored.JobDefB\x87\x01\n\x1aorg.tensorflow.distruntimeB\rClusterProtosP\x01ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\xf8\x01\x01\x62\x06proto3')
18
+
19
+
20
+
21
+ _JOBDEF = DESCRIPTOR.message_types_by_name['JobDef']
22
+ _JOBDEF_TASKSENTRY = _JOBDEF.nested_types_by_name['TasksEntry']
23
+ _CLUSTERDEF = DESCRIPTOR.message_types_by_name['ClusterDef']
24
+ JobDef = _reflection.GeneratedProtocolMessageType('JobDef', (_message.Message,), {
25
+
26
+ 'TasksEntry' : _reflection.GeneratedProtocolMessageType('TasksEntry', (_message.Message,), {
27
+ 'DESCRIPTOR' : _JOBDEF_TASKSENTRY,
28
+ '__module__' : 'tensorbored.compat.proto.cluster_pb2'
29
+ # @@protoc_insertion_point(class_scope:tensorbored.JobDef.TasksEntry)
30
+ })
31
+ ,
32
+ 'DESCRIPTOR' : _JOBDEF,
33
+ '__module__' : 'tensorbored.compat.proto.cluster_pb2'
34
+ # @@protoc_insertion_point(class_scope:tensorbored.JobDef)
35
+ })
36
+ _sym_db.RegisterMessage(JobDef)
37
+ _sym_db.RegisterMessage(JobDef.TasksEntry)
38
+
39
+ ClusterDef = _reflection.GeneratedProtocolMessageType('ClusterDef', (_message.Message,), {
40
+ 'DESCRIPTOR' : _CLUSTERDEF,
41
+ '__module__' : 'tensorbored.compat.proto.cluster_pb2'
42
+ # @@protoc_insertion_point(class_scope:tensorbored.ClusterDef)
43
+ })
44
+ _sym_db.RegisterMessage(ClusterDef)
45
+
46
+ if _descriptor._USE_C_DESCRIPTORS == False:
47
+
48
+ DESCRIPTOR._options = None
49
+ DESCRIPTOR._serialized_options = b'\n\032org.tensorflow.distruntimeB\rClusterProtosP\001ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\370\001\001'
50
+ _JOBDEF_TASKSENTRY._options = None
51
+ _JOBDEF_TASKSENTRY._serialized_options = b'8\001'
52
+ _JOBDEF._serialized_start=55
53
+ _JOBDEF._serialized_end=170
54
+ _JOBDEF_TASKSENTRY._serialized_start=126
55
+ _JOBDEF_TASKSENTRY._serialized_end=170
56
+ _CLUSTERDEF._serialized_start=172
57
+ _CLUSTERDEF._serialized_end=218
58
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,271 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/config.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from tensorbored.compat.proto import coordination_config_pb2 as tensorbored_dot_compat_dot_proto_dot_coordination__config__pb2
16
+ from tensorbored.compat.proto import cost_graph_pb2 as tensorbored_dot_compat_dot_proto_dot_cost__graph__pb2
17
+ from tensorbored.compat.proto import graph_pb2 as tensorbored_dot_compat_dot_proto_dot_graph__pb2
18
+ from tensorbored.compat.proto import step_stats_pb2 as tensorbored_dot_compat_dot_proto_dot_step__stats__pb2
19
+ from tensorbored.compat.proto import cluster_pb2 as tensorbored_dot_compat_dot_proto_dot_cluster__pb2
20
+ from tensorbored.compat.proto import debug_pb2 as tensorbored_dot_compat_dot_proto_dot_debug__pb2
21
+ from tensorbored.compat.proto import rewriter_config_pb2 as tensorbored_dot_compat_dot_proto_dot_rewriter__config__pb2
22
+ from tensorbored.compat.proto import rpc_options_pb2 as tensorbored_dot_compat_dot_proto_dot_rpc__options__pb2
23
+
24
+
25
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%tensorbored/compat/proto/config.proto\x12\x0btensorbored\x1a\x32tensorbored/compat/proto/coordination_config.proto\x1a)tensorbored/compat/proto/cost_graph.proto\x1a$tensorbored/compat/proto/graph.proto\x1a)tensorbored/compat/proto/step_stats.proto\x1a&tensorbored/compat/proto/cluster.proto\x1a$tensorbored/compat/proto/debug.proto\x1a.tensorbored/compat/proto/rewriter_config.proto\x1a*tensorbored/compat/proto/rpc_options.proto\"\x8c\n\n\nGPUOptions\x12\'\n\x1fper_process_gpu_memory_fraction\x18\x01 \x01(\x01\x12\x14\n\x0c\x61llow_growth\x18\x04 \x01(\x08\x12\x16\n\x0e\x61llocator_type\x18\x02 \x01(\t\x12\x1f\n\x17\x64\x65\x66\x65rred_deletion_bytes\x18\x03 \x01(\x03\x12\x1b\n\x13visible_device_list\x18\x05 \x01(\t\x12\"\n\x1apolling_active_delay_usecs\x18\x06 \x01(\x05\x12$\n\x1cpolling_inactive_delay_msecs\x18\x07 \x01(\x05\x12\x1c\n\x14\x66orce_gpu_compatible\x18\x08 \x01(\x08\x12:\n\x0c\x65xperimental\x18\t \x01(\x0b\x32$.tensorbored.GPUOptions.Experimental\x1a\xc4\x07\n\x0c\x45xperimental\x12L\n\x0fvirtual_devices\x18\x01 \x03(\x0b\x32\x33.tensorbored.GPUOptions.Experimental.VirtualDevices\x12#\n\x1bnum_virtual_devices_per_gpu\x18\x0f \x01(\x05\x12\x1a\n\x12use_unified_memory\x18\x02 \x01(\x08\x12#\n\x1bnum_dev_to_dev_copy_streams\x18\x03 \x01(\x05\x12\x1d\n\x15\x63ollective_ring_order\x18\x04 \x01(\t\x12\x1d\n\x15timestamped_allocator\x18\x05 \x01(\x08\x12#\n\x1bkernel_tracker_max_interval\x18\x07 \x01(\x05\x12 \n\x18kernel_tracker_max_bytes\x18\x08 \x01(\x05\x12\"\n\x1akernel_tracker_max_pending\x18\t \x01(\x05\x12\'\n\x1finternal_fragmentation_fraction\x18\n \x01(\x01\x12\x1d\n\x15use_cuda_malloc_async\x18\x0b \x01(\x08\x12,\n$disallow_retry_on_allocation_failure\x18\x0c \x01(\x08\x12 \n\x18gpu_host_mem_limit_in_mb\x18\r \x01(\x02\x12$\n\x1cgpu_host_mem_disallow_growth\x18\x0e \x01(\x08\x12$\n\x1cgpu_system_memory_size_in_mb\x18\x10 \x01(\x05\x12.\n&populate_pjrt_gpu_client_creation_info\x18\x11 \x01(\x08\x12\x0f\n\x07node_id\x18\x12 \x01(\x05\x12U\n\x14stream_merge_options\x18\x13 \x01(\x0b\x32\x37.tensorbored.GPUOptions.Experimental.StreamMergeOptions\x1aS\n\x0eVirtualDevices\x12\x17\n\x0fmemory_limit_mb\x18\x01 \x03(\x02\x12\x10\n\x08priority\x18\x02 \x03(\x05\x12\x16\n\x0e\x64\x65vice_ordinal\x18\x03 \x03(\x05\x1a\x85\x01\n\x12StreamMergeOptions\x12#\n\x1bmerge_host_to_device_stream\x18\x01 \x01(\x08\x12#\n\x1bmerge_device_to_host_stream\x18\x02 \x01(\x08\x12%\n\x1dmerge_device_to_device_stream\x18\x03 \x01(\x08\"\x9f\x03\n\x10OptimizerOptions\x12+\n#do_common_subexpression_elimination\x18\x01 \x01(\x08\x12\x1b\n\x13\x64o_constant_folding\x18\x02 \x01(\x08\x12$\n\x1cmax_folded_constant_in_bytes\x18\x06 \x01(\x03\x12\x1c\n\x14\x64o_function_inlining\x18\x04 \x01(\x08\x12\x36\n\topt_level\x18\x03 \x01(\x0e\x32#.tensorbored.OptimizerOptions.Level\x12\x46\n\x10global_jit_level\x18\x05 \x01(\x0e\x32,.tensorbored.OptimizerOptions.GlobalJitLevel\x12\x16\n\x0e\x63pu_global_jit\x18\x07 \x01(\x08\" \n\x05Level\x12\x06\n\x02L1\x10\x00\x12\x0f\n\x02L0\x10\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"C\n\x0eGlobalJitLevel\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x10\n\x03OFF\x10\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\x12\x08\n\x04ON_1\x10\x01\x12\x08\n\x04ON_2\x10\x02\"\xf0\x02\n\x0cGraphOptions\x12\x1e\n\x16\x65nable_recv_scheduling\x18\x02 \x01(\x08\x12\x38\n\x11optimizer_options\x18\x03 \x01(\x0b\x32\x1d.tensorbored.OptimizerOptions\x12\x18\n\x10\x62uild_cost_model\x18\x04 \x01(\x03\x12\x1e\n\x16\x62uild_cost_model_after\x18\t \x01(\x03\x12\x14\n\x0cinfer_shapes\x18\x05 \x01(\x08\x12\x1a\n\x12place_pruned_graph\x18\x06 \x01(\x08\x12 \n\x18\x65nable_bfloat16_sendrecv\x18\x07 \x01(\x08\x12\x15\n\rtimeline_step\x18\x08 \x01(\x05\x12\x34\n\x0frewrite_options\x18\n \x01(\x0b\x32\x1b.tensorbored.RewriterConfigJ\x04\x08\x01\x10\x02R%skip_common_subexpression_elimination\"A\n\x15ThreadPoolOptionProto\x12\x13\n\x0bnum_threads\x18\x01 \x01(\x05\x12\x13\n\x0bglobal_name\x18\x02 \x01(\t\"0\n\x0fSessionMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\"\xbf\x11\n\x0b\x43onfigProto\x12?\n\x0c\x64\x65vice_count\x18\x01 \x03(\x0b\x32).tensorbored.ConfigProto.DeviceCountEntry\x12$\n\x1cintra_op_parallelism_threads\x18\x02 \x01(\x05\x12$\n\x1cinter_op_parallelism_threads\x18\x05 \x01(\x05\x12\x1f\n\x17use_per_session_threads\x18\t \x01(\x08\x12H\n\x1csession_inter_op_thread_pool\x18\x0c \x03(\x0b\x32\".tensorbored.ThreadPoolOptionProto\x12\x18\n\x10placement_period\x18\x03 \x01(\x05\x12\x16\n\x0e\x64\x65vice_filters\x18\x04 \x03(\t\x12,\n\x0bgpu_options\x18\x06 \x01(\x0b\x32\x17.tensorbored.GPUOptions\x12\x39\n\x18pluggable_device_options\x18\x12 \x01(\x0b\x32\x17.tensorbored.GPUOptions\x12\x1c\n\x14\x61llow_soft_placement\x18\x07 \x01(\x08\x12\x1c\n\x14log_device_placement\x18\x08 \x01(\x08\x12\x30\n\rgraph_options\x18\n \x01(\x0b\x32\x19.tensorbored.GraphOptions\x12\x1f\n\x17operation_timeout_in_ms\x18\x0b \x01(\x03\x12,\n\x0brpc_options\x18\r \x01(\x0b\x32\x17.tensorbored.RPCOptions\x12,\n\x0b\x63luster_def\x18\x0e \x01(\x0b\x32\x17.tensorbored.ClusterDef\x12\x1d\n\x15isolate_session_state\x18\x0f \x01(\x08\x12(\n share_cluster_devices_in_session\x18\x11 \x01(\x08\x12;\n\x0c\x65xperimental\x18\x10 \x01(\x0b\x32%.tensorbored.ConfigProto.Experimental\x1a\x32\n\x10\x44\x65viceCountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\xf7\n\n\x0c\x45xperimental\x12\x1f\n\x17\x63ollective_group_leader\x18\x01 \x01(\t\x12\x15\n\rexecutor_type\x18\x03 \x01(\t\x12\x1a\n\x12recv_buf_max_chunk\x18\x04 \x01(\x05\x12\x19\n\x11use_numa_affinity\x18\x05 \x01(\x08\x12\x35\n-collective_deterministic_sequential_execution\x18\x06 \x01(\x08\x12\x17\n\x0f\x63ollective_nccl\x18\x07 \x01(\x08\x12\x36\n.share_session_state_in_clusterspec_propagation\x18\x08 \x01(\x08\x12\x1f\n\x17\x64isable_thread_spinning\x18\t \x01(\x08\x12(\n share_cluster_devices_in_session\x18\n \x01(\x08\x12\x36\n\x10session_metadata\x18\x0b \x01(\x0b\x32\x1c.tensorbored.SessionMetadata\x12!\n\x19optimize_for_static_graph\x18\x0c \x01(\x08\x12\x1a\n\x12\x65nable_mlir_bridge\x18\r \x01(\x08\x12T\n\x13mlir_bridge_rollout\x18\x11 \x01(\x0e\x32\x37.tensorbored.ConfigProto.Experimental.MlirBridgeRollout\x12&\n\x1e\x65nable_mlir_graph_optimization\x18\x10 \x01(\x08\x12\'\n\x1f\x64isable_output_partition_graphs\x18\x0e \x01(\x08\x12#\n\x1bxla_fusion_autotuner_thresh\x18\x0f \x01(\x03\x12\x10\n\x08use_tfrt\x18\x12 \x01(\x08\x12\x19\n\x11\x65nable_multi_host\x18\x1b \x01(\x08\x12\x15\n\rtfrt_use_ifrt\x18 \x01(\x08\x12\x1b\n\x13\x62\x61\x63kend_server_port\x18\x1c \x01(\x05\x12\x12\n\ntarget_tpu\x18\x1d \x01(\x08\x12\x12\n\ntarget_gpu\x18\x1e \x01(\x08\x12\x1e\n\x16stream_merge_threshold\x18\x1f \x01(\x05\x12\'\n\x1f\x64isable_functional_ops_lowering\x18\x15 \x01(\x08\x12\'\n\x1fxla_prefer_single_graph_cluster\x18\x16 \x01(\x08\x12\x43\n\x13\x63oordination_config\x18\x17 \x01(\x0b\x32&.tensorbored.CoordinationServiceConfig\x12)\n!disable_optimize_for_static_graph\x18\x18 \x01(\x08\x12\x30\n(disable_eager_executor_streaming_enqueue\x18\x1a \x01(\x08\x12)\n!finalize_function_library_runtime\x18! \x01(\x08\x12!\n\x19\x66inalize_resource_manager\x18\" \x01(\x08\"\xde\x01\n\x11MlirBridgeRollout\x12#\n\x1fMLIR_BRIDGE_ROLLOUT_UNSPECIFIED\x10\x00\x12\x1f\n\x1bMLIR_BRIDGE_ROLLOUT_ENABLED\x10\x01\x12 \n\x1cMLIR_BRIDGE_ROLLOUT_DISABLED\x10\x02\"\x04\x08\x03\x10\x03\"\x04\x08\x04\x10\x04*%MLIR_BRIDGE_ROLLOUT_SAFE_MODE_ENABLED*.MLIR_BRIDGE_ROLLOUT_SAFE_MODE_FALLBACK_ENABLEDJ\x04\x08\x02\x10\x03J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x19\x10\x1a\"\xe5\x04\n\nRunOptions\x12\x37\n\x0btrace_level\x18\x01 \x01(\x0e\x32\".tensorbored.RunOptions.TraceLevel\x12\x15\n\rtimeout_in_ms\x18\x02 \x01(\x03\x12\x1c\n\x14inter_op_thread_pool\x18\x03 \x01(\x05\x12\x1f\n\x17output_partition_graphs\x18\x05 \x01(\x08\x12\x30\n\rdebug_options\x18\x06 \x01(\x0b\x32\x19.tensorbored.DebugOptions\x12*\n\"report_tensor_allocations_upon_oom\x18\x07 \x01(\x08\x12:\n\x0c\x65xperimental\x18\x08 \x01(\x0b\x32$.tensorbored.RunOptions.Experimental\x1a\xd3\x01\n\x0c\x45xperimental\x12\x1c\n\x14\x63ollective_graph_key\x18\x01 \x01(\x03\x12\x1c\n\x14use_run_handler_pool\x18\x02 \x01(\x08\x12\\\n\x18run_handler_pool_options\x18\x03 \x01(\x0b\x32:.tensorbored.RunOptions.Experimental.RunHandlerPoolOptions\x1a)\n\x15RunHandlerPoolOptions\x12\x10\n\x08priority\x18\x01 \x01(\x03\"R\n\nTraceLevel\x12\x0c\n\x08NO_TRACE\x10\x00\x12\x12\n\x0eSOFTWARE_TRACE\x10\x01\x12\x12\n\x0eHARDWARE_TRACE\x10\x02\x12\x0e\n\nFULL_TRACE\x10\x03J\x04\x08\x04\x10\x05\"\xc6\x03\n\x0bRunMetadata\x12*\n\nstep_stats\x18\x01 \x01(\x0b\x32\x16.tensorbored.StepStats\x12-\n\ncost_graph\x18\x02 \x01(\x0b\x32\x19.tensorbored.CostGraphDef\x12/\n\x10partition_graphs\x18\x03 \x03(\x0b\x32\x15.tensorbored.GraphDef\x12@\n\x0f\x66unction_graphs\x18\x04 \x03(\x0b\x32\'.tensorbored.RunMetadata.FunctionGraphs\x12\x36\n\x10session_metadata\x18\x05 \x01(\x0b\x32\x1c.tensorbored.SessionMetadata\x1a\xb0\x01\n\x0e\x46unctionGraphs\x12/\n\x10partition_graphs\x18\x01 \x03(\x0b\x32\x15.tensorbored.GraphDef\x12\x35\n\x16pre_optimization_graph\x18\x02 \x01(\x0b\x32\x15.tensorbored.GraphDef\x12\x36\n\x17post_optimization_graph\x18\x03 \x01(\x0b\x32\x15.tensorbored.GraphDef\":\n\x10TensorConnection\x12\x13\n\x0b\x66rom_tensor\x18\x01 \x01(\t\x12\x11\n\tto_tensor\x18\x02 \x01(\t\"\xb4\x03\n\x0f\x43\x61llableOptions\x12\x0c\n\x04\x66\x65\x65\x64\x18\x01 \x03(\t\x12\r\n\x05\x66\x65tch\x18\x02 \x03(\t\x12\x0e\n\x06target\x18\x03 \x03(\t\x12,\n\x0brun_options\x18\x04 \x01(\x0b\x32\x17.tensorbored.RunOptions\x12\x38\n\x11tensor_connection\x18\x05 \x03(\x0b\x32\x1d.tensorbored.TensorConnection\x12\x43\n\x0c\x66\x65\x65\x64_devices\x18\x06 \x03(\x0b\x32-.tensorbored.CallableOptions.FeedDevicesEntry\x12\x45\n\rfetch_devices\x18\x07 \x03(\x0b\x32..tensorbored.CallableOptions.FetchDevicesEntry\x12\x17\n\x0f\x66\x65tch_skip_sync\x18\x08 \x01(\x08\x1a\x32\n\x10\x46\x65\x65\x64\x44\x65vicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11\x46\x65tchDevicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9d\x01\n\x0f\x42\x61tchingOptions\x12\x19\n\x11num_batch_threads\x18\x01 \x01(\x05\x12\x16\n\x0emax_batch_size\x18\x02 \x01(\x05\x12\x1c\n\x14\x62\x61tch_timeout_micros\x18\x03 \x01(\x05\x12\x1b\n\x13\x61llowed_batch_sizes\x18\x04 \x03(\x05\x12\x1c\n\x14max_enqueued_batches\x18\x05 \x01(\x05\x42\x84\x01\n\x18org.tensorflow.frameworkB\x0c\x43onfigProtosP\x01ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\xf8\x01\x01\x62\x06proto3')
26
+
27
+
28
+
29
+ _GPUOPTIONS = DESCRIPTOR.message_types_by_name['GPUOptions']
30
+ _GPUOPTIONS_EXPERIMENTAL = _GPUOPTIONS.nested_types_by_name['Experimental']
31
+ _GPUOPTIONS_EXPERIMENTAL_VIRTUALDEVICES = _GPUOPTIONS_EXPERIMENTAL.nested_types_by_name['VirtualDevices']
32
+ _GPUOPTIONS_EXPERIMENTAL_STREAMMERGEOPTIONS = _GPUOPTIONS_EXPERIMENTAL.nested_types_by_name['StreamMergeOptions']
33
+ _OPTIMIZEROPTIONS = DESCRIPTOR.message_types_by_name['OptimizerOptions']
34
+ _GRAPHOPTIONS = DESCRIPTOR.message_types_by_name['GraphOptions']
35
+ _THREADPOOLOPTIONPROTO = DESCRIPTOR.message_types_by_name['ThreadPoolOptionProto']
36
+ _SESSIONMETADATA = DESCRIPTOR.message_types_by_name['SessionMetadata']
37
+ _CONFIGPROTO = DESCRIPTOR.message_types_by_name['ConfigProto']
38
+ _CONFIGPROTO_DEVICECOUNTENTRY = _CONFIGPROTO.nested_types_by_name['DeviceCountEntry']
39
+ _CONFIGPROTO_EXPERIMENTAL = _CONFIGPROTO.nested_types_by_name['Experimental']
40
+ _RUNOPTIONS = DESCRIPTOR.message_types_by_name['RunOptions']
41
+ _RUNOPTIONS_EXPERIMENTAL = _RUNOPTIONS.nested_types_by_name['Experimental']
42
+ _RUNOPTIONS_EXPERIMENTAL_RUNHANDLERPOOLOPTIONS = _RUNOPTIONS_EXPERIMENTAL.nested_types_by_name['RunHandlerPoolOptions']
43
+ _RUNMETADATA = DESCRIPTOR.message_types_by_name['RunMetadata']
44
+ _RUNMETADATA_FUNCTIONGRAPHS = _RUNMETADATA.nested_types_by_name['FunctionGraphs']
45
+ _TENSORCONNECTION = DESCRIPTOR.message_types_by_name['TensorConnection']
46
+ _CALLABLEOPTIONS = DESCRIPTOR.message_types_by_name['CallableOptions']
47
+ _CALLABLEOPTIONS_FEEDDEVICESENTRY = _CALLABLEOPTIONS.nested_types_by_name['FeedDevicesEntry']
48
+ _CALLABLEOPTIONS_FETCHDEVICESENTRY = _CALLABLEOPTIONS.nested_types_by_name['FetchDevicesEntry']
49
+ _BATCHINGOPTIONS = DESCRIPTOR.message_types_by_name['BatchingOptions']
50
+ _OPTIMIZEROPTIONS_LEVEL = _OPTIMIZEROPTIONS.enum_types_by_name['Level']
51
+ _OPTIMIZEROPTIONS_GLOBALJITLEVEL = _OPTIMIZEROPTIONS.enum_types_by_name['GlobalJitLevel']
52
+ _CONFIGPROTO_EXPERIMENTAL_MLIRBRIDGEROLLOUT = _CONFIGPROTO_EXPERIMENTAL.enum_types_by_name['MlirBridgeRollout']
53
+ _RUNOPTIONS_TRACELEVEL = _RUNOPTIONS.enum_types_by_name['TraceLevel']
54
+ GPUOptions = _reflection.GeneratedProtocolMessageType('GPUOptions', (_message.Message,), {
55
+
56
+ 'Experimental' : _reflection.GeneratedProtocolMessageType('Experimental', (_message.Message,), {
57
+
58
+ 'VirtualDevices' : _reflection.GeneratedProtocolMessageType('VirtualDevices', (_message.Message,), {
59
+ 'DESCRIPTOR' : _GPUOPTIONS_EXPERIMENTAL_VIRTUALDEVICES,
60
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
61
+ # @@protoc_insertion_point(class_scope:tensorbored.GPUOptions.Experimental.VirtualDevices)
62
+ })
63
+ ,
64
+
65
+ 'StreamMergeOptions' : _reflection.GeneratedProtocolMessageType('StreamMergeOptions', (_message.Message,), {
66
+ 'DESCRIPTOR' : _GPUOPTIONS_EXPERIMENTAL_STREAMMERGEOPTIONS,
67
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
68
+ # @@protoc_insertion_point(class_scope:tensorbored.GPUOptions.Experimental.StreamMergeOptions)
69
+ })
70
+ ,
71
+ 'DESCRIPTOR' : _GPUOPTIONS_EXPERIMENTAL,
72
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
73
+ # @@protoc_insertion_point(class_scope:tensorbored.GPUOptions.Experimental)
74
+ })
75
+ ,
76
+ 'DESCRIPTOR' : _GPUOPTIONS,
77
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
78
+ # @@protoc_insertion_point(class_scope:tensorbored.GPUOptions)
79
+ })
80
+ _sym_db.RegisterMessage(GPUOptions)
81
+ _sym_db.RegisterMessage(GPUOptions.Experimental)
82
+ _sym_db.RegisterMessage(GPUOptions.Experimental.VirtualDevices)
83
+ _sym_db.RegisterMessage(GPUOptions.Experimental.StreamMergeOptions)
84
+
85
+ OptimizerOptions = _reflection.GeneratedProtocolMessageType('OptimizerOptions', (_message.Message,), {
86
+ 'DESCRIPTOR' : _OPTIMIZEROPTIONS,
87
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
88
+ # @@protoc_insertion_point(class_scope:tensorbored.OptimizerOptions)
89
+ })
90
+ _sym_db.RegisterMessage(OptimizerOptions)
91
+
92
+ GraphOptions = _reflection.GeneratedProtocolMessageType('GraphOptions', (_message.Message,), {
93
+ 'DESCRIPTOR' : _GRAPHOPTIONS,
94
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
95
+ # @@protoc_insertion_point(class_scope:tensorbored.GraphOptions)
96
+ })
97
+ _sym_db.RegisterMessage(GraphOptions)
98
+
99
+ ThreadPoolOptionProto = _reflection.GeneratedProtocolMessageType('ThreadPoolOptionProto', (_message.Message,), {
100
+ 'DESCRIPTOR' : _THREADPOOLOPTIONPROTO,
101
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
102
+ # @@protoc_insertion_point(class_scope:tensorbored.ThreadPoolOptionProto)
103
+ })
104
+ _sym_db.RegisterMessage(ThreadPoolOptionProto)
105
+
106
+ SessionMetadata = _reflection.GeneratedProtocolMessageType('SessionMetadata', (_message.Message,), {
107
+ 'DESCRIPTOR' : _SESSIONMETADATA,
108
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
109
+ # @@protoc_insertion_point(class_scope:tensorbored.SessionMetadata)
110
+ })
111
+ _sym_db.RegisterMessage(SessionMetadata)
112
+
113
+ ConfigProto = _reflection.GeneratedProtocolMessageType('ConfigProto', (_message.Message,), {
114
+
115
+ 'DeviceCountEntry' : _reflection.GeneratedProtocolMessageType('DeviceCountEntry', (_message.Message,), {
116
+ 'DESCRIPTOR' : _CONFIGPROTO_DEVICECOUNTENTRY,
117
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
118
+ # @@protoc_insertion_point(class_scope:tensorbored.ConfigProto.DeviceCountEntry)
119
+ })
120
+ ,
121
+
122
+ 'Experimental' : _reflection.GeneratedProtocolMessageType('Experimental', (_message.Message,), {
123
+ 'DESCRIPTOR' : _CONFIGPROTO_EXPERIMENTAL,
124
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
125
+ # @@protoc_insertion_point(class_scope:tensorbored.ConfigProto.Experimental)
126
+ })
127
+ ,
128
+ 'DESCRIPTOR' : _CONFIGPROTO,
129
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
130
+ # @@protoc_insertion_point(class_scope:tensorbored.ConfigProto)
131
+ })
132
+ _sym_db.RegisterMessage(ConfigProto)
133
+ _sym_db.RegisterMessage(ConfigProto.DeviceCountEntry)
134
+ _sym_db.RegisterMessage(ConfigProto.Experimental)
135
+
136
+ RunOptions = _reflection.GeneratedProtocolMessageType('RunOptions', (_message.Message,), {
137
+
138
+ 'Experimental' : _reflection.GeneratedProtocolMessageType('Experimental', (_message.Message,), {
139
+
140
+ 'RunHandlerPoolOptions' : _reflection.GeneratedProtocolMessageType('RunHandlerPoolOptions', (_message.Message,), {
141
+ 'DESCRIPTOR' : _RUNOPTIONS_EXPERIMENTAL_RUNHANDLERPOOLOPTIONS,
142
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
143
+ # @@protoc_insertion_point(class_scope:tensorbored.RunOptions.Experimental.RunHandlerPoolOptions)
144
+ })
145
+ ,
146
+ 'DESCRIPTOR' : _RUNOPTIONS_EXPERIMENTAL,
147
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
148
+ # @@protoc_insertion_point(class_scope:tensorbored.RunOptions.Experimental)
149
+ })
150
+ ,
151
+ 'DESCRIPTOR' : _RUNOPTIONS,
152
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
153
+ # @@protoc_insertion_point(class_scope:tensorbored.RunOptions)
154
+ })
155
+ _sym_db.RegisterMessage(RunOptions)
156
+ _sym_db.RegisterMessage(RunOptions.Experimental)
157
+ _sym_db.RegisterMessage(RunOptions.Experimental.RunHandlerPoolOptions)
158
+
159
+ RunMetadata = _reflection.GeneratedProtocolMessageType('RunMetadata', (_message.Message,), {
160
+
161
+ 'FunctionGraphs' : _reflection.GeneratedProtocolMessageType('FunctionGraphs', (_message.Message,), {
162
+ 'DESCRIPTOR' : _RUNMETADATA_FUNCTIONGRAPHS,
163
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
164
+ # @@protoc_insertion_point(class_scope:tensorbored.RunMetadata.FunctionGraphs)
165
+ })
166
+ ,
167
+ 'DESCRIPTOR' : _RUNMETADATA,
168
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
169
+ # @@protoc_insertion_point(class_scope:tensorbored.RunMetadata)
170
+ })
171
+ _sym_db.RegisterMessage(RunMetadata)
172
+ _sym_db.RegisterMessage(RunMetadata.FunctionGraphs)
173
+
174
+ TensorConnection = _reflection.GeneratedProtocolMessageType('TensorConnection', (_message.Message,), {
175
+ 'DESCRIPTOR' : _TENSORCONNECTION,
176
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
177
+ # @@protoc_insertion_point(class_scope:tensorbored.TensorConnection)
178
+ })
179
+ _sym_db.RegisterMessage(TensorConnection)
180
+
181
+ CallableOptions = _reflection.GeneratedProtocolMessageType('CallableOptions', (_message.Message,), {
182
+
183
+ 'FeedDevicesEntry' : _reflection.GeneratedProtocolMessageType('FeedDevicesEntry', (_message.Message,), {
184
+ 'DESCRIPTOR' : _CALLABLEOPTIONS_FEEDDEVICESENTRY,
185
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
186
+ # @@protoc_insertion_point(class_scope:tensorbored.CallableOptions.FeedDevicesEntry)
187
+ })
188
+ ,
189
+
190
+ 'FetchDevicesEntry' : _reflection.GeneratedProtocolMessageType('FetchDevicesEntry', (_message.Message,), {
191
+ 'DESCRIPTOR' : _CALLABLEOPTIONS_FETCHDEVICESENTRY,
192
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
193
+ # @@protoc_insertion_point(class_scope:tensorbored.CallableOptions.FetchDevicesEntry)
194
+ })
195
+ ,
196
+ 'DESCRIPTOR' : _CALLABLEOPTIONS,
197
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
198
+ # @@protoc_insertion_point(class_scope:tensorbored.CallableOptions)
199
+ })
200
+ _sym_db.RegisterMessage(CallableOptions)
201
+ _sym_db.RegisterMessage(CallableOptions.FeedDevicesEntry)
202
+ _sym_db.RegisterMessage(CallableOptions.FetchDevicesEntry)
203
+
204
+ BatchingOptions = _reflection.GeneratedProtocolMessageType('BatchingOptions', (_message.Message,), {
205
+ 'DESCRIPTOR' : _BATCHINGOPTIONS,
206
+ '__module__' : 'tensorbored.compat.proto.config_pb2'
207
+ # @@protoc_insertion_point(class_scope:tensorbored.BatchingOptions)
208
+ })
209
+ _sym_db.RegisterMessage(BatchingOptions)
210
+
211
+ if _descriptor._USE_C_DESCRIPTORS == False:
212
+
213
+ DESCRIPTOR._options = None
214
+ DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\014ConfigProtosP\001ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\370\001\001'
215
+ _CONFIGPROTO_DEVICECOUNTENTRY._options = None
216
+ _CONFIGPROTO_DEVICECOUNTENTRY._serialized_options = b'8\001'
217
+ _CALLABLEOPTIONS_FEEDDEVICESENTRY._options = None
218
+ _CALLABLEOPTIONS_FEEDDEVICESENTRY._serialized_options = b'8\001'
219
+ _CALLABLEOPTIONS_FETCHDEVICESENTRY._options = None
220
+ _CALLABLEOPTIONS_FETCHDEVICESENTRY._serialized_options = b'8\001'
221
+ _GPUOPTIONS._serialized_start=401
222
+ _GPUOPTIONS._serialized_end=1693
223
+ _GPUOPTIONS_EXPERIMENTAL._serialized_start=729
224
+ _GPUOPTIONS_EXPERIMENTAL._serialized_end=1693
225
+ _GPUOPTIONS_EXPERIMENTAL_VIRTUALDEVICES._serialized_start=1474
226
+ _GPUOPTIONS_EXPERIMENTAL_VIRTUALDEVICES._serialized_end=1557
227
+ _GPUOPTIONS_EXPERIMENTAL_STREAMMERGEOPTIONS._serialized_start=1560
228
+ _GPUOPTIONS_EXPERIMENTAL_STREAMMERGEOPTIONS._serialized_end=1693
229
+ _OPTIMIZEROPTIONS._serialized_start=1696
230
+ _OPTIMIZEROPTIONS._serialized_end=2111
231
+ _OPTIMIZEROPTIONS_LEVEL._serialized_start=2010
232
+ _OPTIMIZEROPTIONS_LEVEL._serialized_end=2042
233
+ _OPTIMIZEROPTIONS_GLOBALJITLEVEL._serialized_start=2044
234
+ _OPTIMIZEROPTIONS_GLOBALJITLEVEL._serialized_end=2111
235
+ _GRAPHOPTIONS._serialized_start=2114
236
+ _GRAPHOPTIONS._serialized_end=2482
237
+ _THREADPOOLOPTIONPROTO._serialized_start=2484
238
+ _THREADPOOLOPTIONPROTO._serialized_end=2549
239
+ _SESSIONMETADATA._serialized_start=2551
240
+ _SESSIONMETADATA._serialized_end=2599
241
+ _CONFIGPROTO._serialized_start=2602
242
+ _CONFIGPROTO._serialized_end=4841
243
+ _CONFIGPROTO_DEVICECOUNTENTRY._serialized_start=3389
244
+ _CONFIGPROTO_DEVICECOUNTENTRY._serialized_end=3439
245
+ _CONFIGPROTO_EXPERIMENTAL._serialized_start=3442
246
+ _CONFIGPROTO_EXPERIMENTAL._serialized_end=4841
247
+ _CONFIGPROTO_EXPERIMENTAL_MLIRBRIDGEROLLOUT._serialized_start=4595
248
+ _CONFIGPROTO_EXPERIMENTAL_MLIRBRIDGEROLLOUT._serialized_end=4817
249
+ _RUNOPTIONS._serialized_start=4844
250
+ _RUNOPTIONS._serialized_end=5457
251
+ _RUNOPTIONS_EXPERIMENTAL._serialized_start=5156
252
+ _RUNOPTIONS_EXPERIMENTAL._serialized_end=5367
253
+ _RUNOPTIONS_EXPERIMENTAL_RUNHANDLERPOOLOPTIONS._serialized_start=5326
254
+ _RUNOPTIONS_EXPERIMENTAL_RUNHANDLERPOOLOPTIONS._serialized_end=5367
255
+ _RUNOPTIONS_TRACELEVEL._serialized_start=5369
256
+ _RUNOPTIONS_TRACELEVEL._serialized_end=5451
257
+ _RUNMETADATA._serialized_start=5460
258
+ _RUNMETADATA._serialized_end=5914
259
+ _RUNMETADATA_FUNCTIONGRAPHS._serialized_start=5738
260
+ _RUNMETADATA_FUNCTIONGRAPHS._serialized_end=5914
261
+ _TENSORCONNECTION._serialized_start=5916
262
+ _TENSORCONNECTION._serialized_end=5974
263
+ _CALLABLEOPTIONS._serialized_start=5977
264
+ _CALLABLEOPTIONS._serialized_end=6413
265
+ _CALLABLEOPTIONS_FEEDDEVICESENTRY._serialized_start=6310
266
+ _CALLABLEOPTIONS_FEEDDEVICESENTRY._serialized_end=6360
267
+ _CALLABLEOPTIONS_FETCHDEVICESENTRY._serialized_start=6362
268
+ _CALLABLEOPTIONS_FETCHDEVICESENTRY._serialized_end=6413
269
+ _BATCHINGOPTIONS._serialized_start=6416
270
+ _BATCHINGOPTIONS._serialized_end=6573
271
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,45 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/coordination_config.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2tensorbored/compat/proto/coordination_config.proto\x12\x0btensorbored\"1\n\x0e\x43oordinatedJob\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tnum_tasks\x18\x02 \x01(\x05\"\xf8\x03\n\x19\x43oordinationServiceConfig\x12\x14\n\x0cservice_type\x18\x01 \x01(\t\x12\x16\n\x0eservice_leader\x18\x02 \x01(\t\x12\x1b\n\x13\x65nable_health_check\x18\x03 \x01(\x08\x12&\n\x1e\x63luster_register_timeout_in_ms\x18\x04 \x01(\x03\x12%\n\x1d\x63luster_register_with_barrier\x18\x0e \x01(\x08\x12\x1f\n\x17heartbeat_timeout_in_ms\x18\x05 \x01(\x03\x12\x39\n\x14\x63oordinated_job_list\x18\n \x03(\x0b\x32\x1b.tensorbored.CoordinatedJob\x12&\n\x1eshutdown_barrier_timeout_in_ms\x18\x07 \x01(\x03\x12*\n\"agent_destruction_without_shutdown\x18\x08 \x01(\x08\x12\x18\n\x10recoverable_jobs\x18\t \x03(\t\x12*\n\"allow_new_incarnation_to_reconnect\x18\x0b \x01(\x08\x12\x15\n\rforce_disable\x18\x0c \x01(\x08\x12.\n&poll_for_error_from_service_at_startup\x18\r \x01(\x08J\x04\x08\x06\x10\x07\x42WZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_protob\x06proto3')
18
+
19
+
20
+
21
+ _COORDINATEDJOB = DESCRIPTOR.message_types_by_name['CoordinatedJob']
22
+ _COORDINATIONSERVICECONFIG = DESCRIPTOR.message_types_by_name['CoordinationServiceConfig']
23
+ CoordinatedJob = _reflection.GeneratedProtocolMessageType('CoordinatedJob', (_message.Message,), {
24
+ 'DESCRIPTOR' : _COORDINATEDJOB,
25
+ '__module__' : 'tensorbored.compat.proto.coordination_config_pb2'
26
+ # @@protoc_insertion_point(class_scope:tensorbored.CoordinatedJob)
27
+ })
28
+ _sym_db.RegisterMessage(CoordinatedJob)
29
+
30
+ CoordinationServiceConfig = _reflection.GeneratedProtocolMessageType('CoordinationServiceConfig', (_message.Message,), {
31
+ 'DESCRIPTOR' : _COORDINATIONSERVICECONFIG,
32
+ '__module__' : 'tensorbored.compat.proto.coordination_config_pb2'
33
+ # @@protoc_insertion_point(class_scope:tensorbored.CoordinationServiceConfig)
34
+ })
35
+ _sym_db.RegisterMessage(CoordinationServiceConfig)
36
+
37
+ if _descriptor._USE_C_DESCRIPTORS == False:
38
+
39
+ DESCRIPTOR._options = None
40
+ DESCRIPTOR._serialized_options = b'ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto'
41
+ _COORDINATEDJOB._serialized_start=67
42
+ _COORDINATEDJOB._serialized_end=116
43
+ _COORDINATIONSERVICECONFIG._serialized_start=119
44
+ _COORDINATIONSERVICECONFIG._serialized_end=623
45
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,87 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/cost_graph.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from tensorbored.compat.proto import tensor_shape_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__shape__pb2
16
+ from tensorbored.compat.proto import types_pb2 as tensorbored_dot_compat_dot_proto_dot_types__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)tensorbored/compat/proto/cost_graph.proto\x12\x0btensorbored\x1a+tensorbored/compat/proto/tensor_shape.proto\x1a$tensorbored/compat/proto/types.proto\"\xd0\x06\n\x0c\x43ostGraphDef\x12,\n\x04node\x18\x01 \x03(\x0b\x32\x1e.tensorbored.CostGraphDef.Node\x12\x36\n\x04\x63ost\x18\x02 \x03(\x0b\x32(.tensorbored.CostGraphDef.AggregatedCost\x1a\xa6\x05\n\x04Node\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x65vice\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\x05\x12<\n\ninput_info\x18\x04 \x03(\x0b\x32(.tensorbored.CostGraphDef.Node.InputInfo\x12>\n\x0boutput_info\x18\x05 \x03(\x0b\x32).tensorbored.CostGraphDef.Node.OutputInfo\x12\x1d\n\x15temporary_memory_size\x18\x06 \x01(\x03\x12\x1e\n\x16persistent_memory_size\x18\x0c \x01(\x03\x12!\n\x15host_temp_memory_size\x18\n \x01(\x03\x42\x02\x18\x01\x12#\n\x17\x64\x65vice_temp_memory_size\x18\x0b \x01(\x03\x42\x02\x18\x01\x12)\n\x1d\x64\x65vice_persistent_memory_size\x18\x10 \x01(\x03\x42\x02\x18\x01\x12\x14\n\x0c\x63ompute_cost\x18\t \x01(\x03\x12\x14\n\x0c\x63ompute_time\x18\x0e \x01(\x03\x12\x13\n\x0bmemory_time\x18\x0f \x01(\x03\x12\x10\n\x08is_final\x18\x07 \x01(\x08\x12\x15\n\rcontrol_input\x18\x08 \x03(\x05\x12\x12\n\ninaccurate\x18\x11 \x01(\x08\x1a;\n\tInputInfo\x12\x16\n\x0epreceding_node\x18\x01 \x01(\x05\x12\x16\n\x0epreceding_port\x18\x02 \x01(\x05\x1a\x88\x01\n\nOutputInfo\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x18\n\x10\x61lias_input_port\x18\x02 \x01(\x03\x12,\n\x05shape\x18\x03 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProto\x12$\n\x05\x64type\x18\x04 \x01(\x0e\x32\x15.tensorbored.DataType\x1a\x31\n\x0e\x41ggregatedCost\x12\x0c\n\x04\x63ost\x18\x01 \x01(\x02\x12\x11\n\tdimension\x18\x02 \x01(\tB\x83\x01\n\x18org.tensorflow.frameworkB\x0f\x43ostGraphProtosP\x01ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/cost_graph_go_proto\xf8\x01\x01\x62\x06proto3')
20
+
21
+
22
+
23
+ _COSTGRAPHDEF = DESCRIPTOR.message_types_by_name['CostGraphDef']
24
+ _COSTGRAPHDEF_NODE = _COSTGRAPHDEF.nested_types_by_name['Node']
25
+ _COSTGRAPHDEF_NODE_INPUTINFO = _COSTGRAPHDEF_NODE.nested_types_by_name['InputInfo']
26
+ _COSTGRAPHDEF_NODE_OUTPUTINFO = _COSTGRAPHDEF_NODE.nested_types_by_name['OutputInfo']
27
+ _COSTGRAPHDEF_AGGREGATEDCOST = _COSTGRAPHDEF.nested_types_by_name['AggregatedCost']
28
+ CostGraphDef = _reflection.GeneratedProtocolMessageType('CostGraphDef', (_message.Message,), {
29
+
30
+ 'Node' : _reflection.GeneratedProtocolMessageType('Node', (_message.Message,), {
31
+
32
+ 'InputInfo' : _reflection.GeneratedProtocolMessageType('InputInfo', (_message.Message,), {
33
+ 'DESCRIPTOR' : _COSTGRAPHDEF_NODE_INPUTINFO,
34
+ '__module__' : 'tensorbored.compat.proto.cost_graph_pb2'
35
+ # @@protoc_insertion_point(class_scope:tensorbored.CostGraphDef.Node.InputInfo)
36
+ })
37
+ ,
38
+
39
+ 'OutputInfo' : _reflection.GeneratedProtocolMessageType('OutputInfo', (_message.Message,), {
40
+ 'DESCRIPTOR' : _COSTGRAPHDEF_NODE_OUTPUTINFO,
41
+ '__module__' : 'tensorbored.compat.proto.cost_graph_pb2'
42
+ # @@protoc_insertion_point(class_scope:tensorbored.CostGraphDef.Node.OutputInfo)
43
+ })
44
+ ,
45
+ 'DESCRIPTOR' : _COSTGRAPHDEF_NODE,
46
+ '__module__' : 'tensorbored.compat.proto.cost_graph_pb2'
47
+ # @@protoc_insertion_point(class_scope:tensorbored.CostGraphDef.Node)
48
+ })
49
+ ,
50
+
51
+ 'AggregatedCost' : _reflection.GeneratedProtocolMessageType('AggregatedCost', (_message.Message,), {
52
+ 'DESCRIPTOR' : _COSTGRAPHDEF_AGGREGATEDCOST,
53
+ '__module__' : 'tensorbored.compat.proto.cost_graph_pb2'
54
+ # @@protoc_insertion_point(class_scope:tensorbored.CostGraphDef.AggregatedCost)
55
+ })
56
+ ,
57
+ 'DESCRIPTOR' : _COSTGRAPHDEF,
58
+ '__module__' : 'tensorbored.compat.proto.cost_graph_pb2'
59
+ # @@protoc_insertion_point(class_scope:tensorbored.CostGraphDef)
60
+ })
61
+ _sym_db.RegisterMessage(CostGraphDef)
62
+ _sym_db.RegisterMessage(CostGraphDef.Node)
63
+ _sym_db.RegisterMessage(CostGraphDef.Node.InputInfo)
64
+ _sym_db.RegisterMessage(CostGraphDef.Node.OutputInfo)
65
+ _sym_db.RegisterMessage(CostGraphDef.AggregatedCost)
66
+
67
+ if _descriptor._USE_C_DESCRIPTORS == False:
68
+
69
+ DESCRIPTOR._options = None
70
+ DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\017CostGraphProtosP\001ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/cost_graph_go_proto\370\001\001'
71
+ _COSTGRAPHDEF_NODE.fields_by_name['host_temp_memory_size']._options = None
72
+ _COSTGRAPHDEF_NODE.fields_by_name['host_temp_memory_size']._serialized_options = b'\030\001'
73
+ _COSTGRAPHDEF_NODE.fields_by_name['device_temp_memory_size']._options = None
74
+ _COSTGRAPHDEF_NODE.fields_by_name['device_temp_memory_size']._serialized_options = b'\030\001'
75
+ _COSTGRAPHDEF_NODE.fields_by_name['device_persistent_memory_size']._options = None
76
+ _COSTGRAPHDEF_NODE.fields_by_name['device_persistent_memory_size']._serialized_options = b'\030\001'
77
+ _COSTGRAPHDEF._serialized_start=142
78
+ _COSTGRAPHDEF._serialized_end=990
79
+ _COSTGRAPHDEF_NODE._serialized_start=261
80
+ _COSTGRAPHDEF_NODE._serialized_end=939
81
+ _COSTGRAPHDEF_NODE_INPUTINFO._serialized_start=741
82
+ _COSTGRAPHDEF_NODE_INPUTINFO._serialized_end=800
83
+ _COSTGRAPHDEF_NODE_OUTPUTINFO._serialized_start=803
84
+ _COSTGRAPHDEF_NODE_OUTPUTINFO._serialized_end=939
85
+ _COSTGRAPHDEF_AGGREGATEDCOST._serialized_start=941
86
+ _COSTGRAPHDEF_AGGREGATEDCOST._serialized_end=990
87
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,70 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/cpp_shape_inference.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from tensorbored.compat.proto import full_type_pb2 as tensorbored_dot_compat_dot_proto_dot_full__type__pb2
16
+ from tensorbored.compat.proto import tensor_shape_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__shape__pb2
17
+ from tensorbored.compat.proto import types_pb2 as tensorbored_dot_compat_dot_proto_dot_types__pb2
18
+
19
+
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2tensorbored/compat/proto/cpp_shape_inference.proto\x12\x0btensorbored\x1a(tensorbored/compat/proto/full_type.proto\x1a+tensorbored/compat/proto/tensor_shape.proto\x1a$tensorbored/compat/proto/types.proto\"\xa1\x03\n\x17\x43ppShapeInferenceResult\x12,\n\x05shape\x18\x01 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProto\x12\x44\n\x0bhandle_data\x18\x04 \x01(\x0b\x32/.tensorbored.CppShapeInferenceResult.HandleData\x1a\x96\x01\n\x12HandleShapeAndType\x12,\n\x05shape\x18\x01 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProto\x12$\n\x05\x64type\x18\x02 \x01(\x0e\x32\x15.tensorbored.DataType\x12&\n\x04type\x18\x04 \x01(\x0b\x32\x18.tensorbored.FullTypeDefJ\x04\x08\x03\x10\x04\x1am\n\nHandleData\x12\x0e\n\x06is_set\x18\x01 \x01(\x08\x12O\n\x0eshape_and_type\x18\x02 \x03(\x0b\x32\x37.tensorbored.CppShapeInferenceResult.HandleShapeAndTypeJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\"e\n\x1d\x43ppShapeInferenceInputsNeeded\x12\x1c\n\x14input_tensors_needed\x18\x01 \x03(\x05\x12&\n\x1einput_tensors_as_shapes_needed\x18\x02 \x03(\x05\x42\x61Z\\github.com/tensorflow/tensorflow/tensorflow/go/python/framework/cpp_shape_inference_go_proto\xf8\x01\x01\x62\x06proto3')
21
+
22
+
23
+
24
+ _CPPSHAPEINFERENCERESULT = DESCRIPTOR.message_types_by_name['CppShapeInferenceResult']
25
+ _CPPSHAPEINFERENCERESULT_HANDLESHAPEANDTYPE = _CPPSHAPEINFERENCERESULT.nested_types_by_name['HandleShapeAndType']
26
+ _CPPSHAPEINFERENCERESULT_HANDLEDATA = _CPPSHAPEINFERENCERESULT.nested_types_by_name['HandleData']
27
+ _CPPSHAPEINFERENCEINPUTSNEEDED = DESCRIPTOR.message_types_by_name['CppShapeInferenceInputsNeeded']
28
+ CppShapeInferenceResult = _reflection.GeneratedProtocolMessageType('CppShapeInferenceResult', (_message.Message,), {
29
+
30
+ 'HandleShapeAndType' : _reflection.GeneratedProtocolMessageType('HandleShapeAndType', (_message.Message,), {
31
+ 'DESCRIPTOR' : _CPPSHAPEINFERENCERESULT_HANDLESHAPEANDTYPE,
32
+ '__module__' : 'tensorbored.compat.proto.cpp_shape_inference_pb2'
33
+ # @@protoc_insertion_point(class_scope:tensorbored.CppShapeInferenceResult.HandleShapeAndType)
34
+ })
35
+ ,
36
+
37
+ 'HandleData' : _reflection.GeneratedProtocolMessageType('HandleData', (_message.Message,), {
38
+ 'DESCRIPTOR' : _CPPSHAPEINFERENCERESULT_HANDLEDATA,
39
+ '__module__' : 'tensorbored.compat.proto.cpp_shape_inference_pb2'
40
+ # @@protoc_insertion_point(class_scope:tensorbored.CppShapeInferenceResult.HandleData)
41
+ })
42
+ ,
43
+ 'DESCRIPTOR' : _CPPSHAPEINFERENCERESULT,
44
+ '__module__' : 'tensorbored.compat.proto.cpp_shape_inference_pb2'
45
+ # @@protoc_insertion_point(class_scope:tensorbored.CppShapeInferenceResult)
46
+ })
47
+ _sym_db.RegisterMessage(CppShapeInferenceResult)
48
+ _sym_db.RegisterMessage(CppShapeInferenceResult.HandleShapeAndType)
49
+ _sym_db.RegisterMessage(CppShapeInferenceResult.HandleData)
50
+
51
+ CppShapeInferenceInputsNeeded = _reflection.GeneratedProtocolMessageType('CppShapeInferenceInputsNeeded', (_message.Message,), {
52
+ 'DESCRIPTOR' : _CPPSHAPEINFERENCEINPUTSNEEDED,
53
+ '__module__' : 'tensorbored.compat.proto.cpp_shape_inference_pb2'
54
+ # @@protoc_insertion_point(class_scope:tensorbored.CppShapeInferenceInputsNeeded)
55
+ })
56
+ _sym_db.RegisterMessage(CppShapeInferenceInputsNeeded)
57
+
58
+ if _descriptor._USE_C_DESCRIPTORS == False:
59
+
60
+ DESCRIPTOR._options = None
61
+ DESCRIPTOR._serialized_options = b'Z\\github.com/tensorflow/tensorflow/tensorflow/go/python/framework/cpp_shape_inference_go_proto\370\001\001'
62
+ _CPPSHAPEINFERENCERESULT._serialized_start=193
63
+ _CPPSHAPEINFERENCERESULT._serialized_end=610
64
+ _CPPSHAPEINFERENCERESULT_HANDLESHAPEANDTYPE._serialized_start=337
65
+ _CPPSHAPEINFERENCERESULT_HANDLESHAPEANDTYPE._serialized_end=487
66
+ _CPPSHAPEINFERENCERESULT_HANDLEDATA._serialized_start=489
67
+ _CPPSHAPEINFERENCERESULT_HANDLEDATA._serialized_end=598
68
+ _CPPSHAPEINFERENCEINPUTSNEEDED._serialized_start=612
69
+ _CPPSHAPEINFERENCEINPUTSNEEDED._serialized_end=713
70
+ # @@protoc_insertion_point(module_scope)