From 020b641933dcaec528836e0734356ec1555f6b33 Mon Sep 17 00:00:00 2001 From: Adrian RC Date: Wed, 16 Jul 2025 21:59:33 +0000 Subject: [PATCH 1/3] Updates TF compat protos (cherry picked from commit 1f184b43a6f3e210a2bf03d23931de19f353d5ea) --- tensorboard/compat/proto/config.proto | 10 +++++++++- tensorboard/compat/proto/tfprof_log.proto | 9 ++------- tensorboard/compat/proto/types.proto | 4 ++++ tensorboard/data/server/descriptor.bin | Bin 59373 -> 59601 bytes tensorboard/data/server/tensorboard.pb.rs | 4 ++++ 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/tensorboard/compat/proto/config.proto b/tensorboard/compat/proto/config.proto index f7c8ee837a5..0b798c3f27e 100644 --- a/tensorboard/compat/proto/config.proto +++ b/tensorboard/compat/proto/config.proto @@ -777,9 +777,17 @@ message ConfigProto { // disabled, and parallel execution is allowed. bool disable_eager_executor_streaming_enqueue = 26; + // If true, the function library runtime will be finalized when the session + // is finalized. + bool finalize_function_library_runtime = 33; + + // If true, the resource manager will be finalized when the session + // is finalized. + bool finalize_resource_manager = 34; + reserved 25; - // Next: 33 + // Next: 35 } Experimental experimental = 16; diff --git a/tensorboard/compat/proto/tfprof_log.proto b/tensorboard/compat/proto/tfprof_log.proto index 68a2b2fe8f5..20ca0bf2fe4 100644 --- a/tensorboard/compat/proto/tfprof_log.proto +++ b/tensorboard/compat/proto/tfprof_log.proto @@ -11,17 +11,12 @@ option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/profile message CodeDef { repeated Trace traces = 1; message Trace { - string file = 1 [deprecated = true]; // deprecated by file_id. + reserved 1, 3, 4; + reserved "file", "function", "line"; int64 file_id = 6; - int32 lineno = 2; - - string function = 3 [deprecated = true]; // deprecated by function_id. int64 function_id = 7; - - string line = 4 [deprecated = true]; // deprecated line_id. int64 line_id = 8; - int32 func_start_line = 5; } } diff --git a/tensorboard/compat/proto/types.proto b/tensorboard/compat/proto/types.proto index c0e131bf14f..7ed62e2c7e9 100644 --- a/tensorboard/compat/proto/types.proto +++ b/tensorboard/compat/proto/types.proto @@ -52,6 +52,8 @@ enum DataType { DT_INT4 = 29; DT_UINT4 = 30; + DT_INT2 = 31; + DT_UINT2 = 32; // Do not use! These are only for TF1's obsolete reference Variables. // Every enum above should have a corresponding value below (verified by @@ -87,6 +89,8 @@ enum DataType { DT_FLOAT8_E5M2FNUZ_REF = 128; DT_INT4_REF = 129; DT_UINT4_REF = 130; + DT_INT2_REF = 131; + DT_UINT2_REF = 132; } // DISABLED.ThenChange( // https://www.tensorflow.org/code/tensorflow/c/tf_datatype.h, diff --git a/tensorboard/data/server/descriptor.bin b/tensorboard/data/server/descriptor.bin index 681c537d34ffd245a80db9263d6b3f2fe88d1bef..bd230a3947916ce1d7c50f583edeef3923477812 100644 GIT binary patch delta 1340 zcmX}sO-~w86b9hoUbH%l3P%tH5j5f_F)9vV1VOAAqoN>25sm4>M(v_alP$&jh-Y!kVNoK@=Zs=Wh@Yt!>O#;d2*Y9D1WLEgq zR|&wZ(A@->?HkZPdz_NvB=gqm$S3P%bUZes%mjW>;6@YpMS()r_o&$pDKQCA6#Z_3 zCE_Sm8D10V}*lisZI4 zojqI%aGQrq0dC{yYB4i5tmasN*b%sY=N1yT&s{MI4Q`1ut{ zwzy;wu*D^dfGsXrB6-dax&(O66-$8UsA%fKtC9CwyY)n76ZNZS&#$b%@l@`*$GKXs gCNz>a_q*Al+fL3ui=9yN#^*dTJ4vKYGx6@ne{~dqS^xk5 delta 1107 zcmX}rO;1`;5C&kF1BPB`g}HpFh_|DnFTjs$)et=0FzC4HN>^vB4M zeubugB0-wk^H)TTH#*i#>u<5=58h_1IS%-IFZBz5S&w++e>VNh;ZXRK-wFhMlx6i) z+v%HD){js0$ck7&_n1({;#PQua;$2UG+*TaYc%gwfHh7Sm}ga|g#MZ?WfBGyzz?Kv z0sJ5q*MHN_ByPki#34QODu~0VZ5pnzI+B~$0FUJ6HNYded7afUEt($dfXBpM1$dlT zFdd7m8svs+xN{aE8V^+kiNcbepVB zWsFV0Q-Pa+rvkTFoza2`z6E$jF|PtVi>LIvjFU;3v&RtU6!j{Ib33VjW}L~AIeP-p zBHODVTFFJTifvYH8E_l0Edy=?w&hpYVbzgTJAfTYwFB6Rr%cB(t1h|WChl^}kX=bv zhV0r&BP*ykdF>s&NhzbVo1I9)YWgl|1lGis`XW+f2 z8px$Ay9RM7%dWE;&mO3|!aCqs-e( Date: Wed, 16 Jul 2025 23:30:36 +0000 Subject: [PATCH 2/3] Release notes for TensorBoard 2.20.0 (cherry picked from commit 0e3a961ccc7b7fae6daf15fcc5489165c8a58fee) --- RELEASE.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index 31ca6dc48cd..b7b407f78f7 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,3 +1,13 @@ +# Release 2.20.0 + +The 2.20 minor series tracks TensorFlow 2.20. + +## Features +- Compatible with Python 3.13 (see next point) +- Added a dependency to Pillow (https://python-pillow.github.io/), to replace use of deprecated standard library `imghdr` (removed in Python 3.13) (#7009, thanks @Zamanhuseyinli) +- Updated vendored version of `bleach` library to 6.2.0 and removed dependency on `six` library. (#7013) + + # Release 2.19.0 The 2.19 minor series tracks TensorFlow 2.19. From a2ddb44a5ca980e41028953639b5b1422507c359 Mon Sep 17 00:00:00 2001 From: Adrian RC Date: Thu, 17 Jul 2025 19:28:09 +0000 Subject: [PATCH 3/3] Bump version at HEAD --- tensorboard/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorboard/version.py b/tensorboard/version.py index 7be1322f75d..d3dadf70bcd 100644 --- a/tensorboard/version.py +++ b/tensorboard/version.py @@ -15,7 +15,7 @@ """Contains the version string.""" -VERSION = "2.20.0a0" +VERSION = "2.21.0a0" if __name__ == "__main__": print(VERSION)