tf-models-nightly 2.20.0.dev20250612__py2.py3-none-any.whl → 2.20.0.dev20250614__py2.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.
Potentially problematic release.
This version of tf-models-nightly might be problematic. Click here for more details.
- orbit/utils/loop_fns.py +6 -1
- {tf_models_nightly-2.20.0.dev20250612.dist-info → tf_models_nightly-2.20.0.dev20250614.dist-info}/METADATA +1 -1
- {tf_models_nightly-2.20.0.dev20250612.dist-info → tf_models_nightly-2.20.0.dev20250614.dist-info}/RECORD +7 -7
- {tf_models_nightly-2.20.0.dev20250612.dist-info → tf_models_nightly-2.20.0.dev20250614.dist-info}/AUTHORS +0 -0
- {tf_models_nightly-2.20.0.dev20250612.dist-info → tf_models_nightly-2.20.0.dev20250614.dist-info}/LICENSE +0 -0
- {tf_models_nightly-2.20.0.dev20250612.dist-info → tf_models_nightly-2.20.0.dev20250614.dist-info}/WHEEL +0 -0
- {tf_models_nightly-2.20.0.dev20250612.dist-info → tf_models_nightly-2.20.0.dev20250614.dist-info}/top_level.txt +0 -0
orbit/utils/loop_fns.py
CHANGED
@@ -19,6 +19,10 @@ from orbit.utils import tpu_summaries
|
|
19
19
|
|
20
20
|
import tensorflow as tf, tf_keras
|
21
21
|
|
22
|
+
# pylint: disable=g-direct-tensorflow-import
|
23
|
+
from tensorflow.python.tpu.google.sparse_core import tpu_embedding_v3
|
24
|
+
# pylint: enable=g-direct-tensorflow-import
|
25
|
+
|
22
26
|
|
23
27
|
def create_loop_fn(step_fn):
|
24
28
|
"""Creates a loop function driven by a Python `while` loop.
|
@@ -200,7 +204,8 @@ class LoopFnWithSummaries(tpu_summaries.OptionalSummariesFunction):
|
|
200
204
|
|
201
205
|
def __call__(self, iterator, num_steps):
|
202
206
|
if tf.summary.should_record_summaries():
|
203
|
-
|
207
|
+
with tpu_embedding_v3.SequentialEmbeddingContext():
|
208
|
+
output = self.with_summaries(iterator, tf.constant(1))
|
204
209
|
num_steps -= 1
|
205
210
|
if num_steps >= 1:
|
206
211
|
output = self.without_summaries(iterator, num_steps)
|
@@ -1238,7 +1238,7 @@ orbit/utils/__init__.py,sha256=I34xJSdKQtpdsWS91RoVRdCXgLzRQy6sY0Ijkka3czU,1218
|
|
1238
1238
|
orbit/utils/common.py,sha256=HV50Iy2XnYJ7qSnAk7MohQgNQ5TnLQv8gJIHHX2qb9U,3923
|
1239
1239
|
orbit/utils/common_test.py,sha256=4I643Z04lXqu1E60a2FwbZxtChZ66jtBHowkdaFkSgY,1042
|
1240
1240
|
orbit/utils/epoch_helper.py,sha256=k4cuJQXhzKd5hOtgR_jB-vbrAjNFlFg-w0D4-kz8IYw,2146
|
1241
|
-
orbit/utils/loop_fns.py,sha256=
|
1241
|
+
orbit/utils/loop_fns.py,sha256=wlmD6x6UIM3rwaxhpG7oNLDs9yBbcoG3SXyYsQo9pts,8246
|
1242
1242
|
orbit/utils/summary_manager.py,sha256=_NykIGSl4wLeqzYDjbJTf5RAfn9Jweckr65aHzvUGd0,4287
|
1243
1243
|
orbit/utils/summary_manager_interface.py,sha256=yTX8wt1EjcqRGNxabkYeN2nL_Zk10XExlRp9WoWDp6M,2253
|
1244
1244
|
orbit/utils/tpu_summaries.py,sha256=-BD6LLW-V_qxQWmAMjtu76mrngmCpwtd6Wf--k7mVaA,5641
|
@@ -1248,9 +1248,9 @@ tensorflow_models/tensorflow_models_test.py,sha256=yiAneltAW3NHSj3fUSvHNBjfq0MGZ
|
|
1248
1248
|
tensorflow_models/nlp/__init__.py,sha256=8uQd4wI6Zc4IJMPjtQifMeWVbPFkTxqYh66wfivCOL4,807
|
1249
1249
|
tensorflow_models/uplift/__init__.py,sha256=NzaweFf4ZmhRb2l_fuV6bP-2N8oSO3xu6xJqVb1UmpY,999
|
1250
1250
|
tensorflow_models/vision/__init__.py,sha256=ks420Ooqzi0hU7HnQpM5rylLaE-YcJdJkBx_umVaXlE,833
|
1251
|
-
tf_models_nightly-2.20.0.
|
1252
|
-
tf_models_nightly-2.20.0.
|
1253
|
-
tf_models_nightly-2.20.0.
|
1254
|
-
tf_models_nightly-2.20.0.
|
1255
|
-
tf_models_nightly-2.20.0.
|
1256
|
-
tf_models_nightly-2.20.0.
|
1251
|
+
tf_models_nightly-2.20.0.dev20250614.dist-info/AUTHORS,sha256=1dG3fXVu9jlo7bul8xuix5F5vOnczMk7_yWn4y70uw0,337
|
1252
|
+
tf_models_nightly-2.20.0.dev20250614.dist-info/LICENSE,sha256=WxeBS_DejPZQabxtfMOM_xn8qoZNJDQjrT7z2wG1I4U,11512
|
1253
|
+
tf_models_nightly-2.20.0.dev20250614.dist-info/METADATA,sha256=rApeF7pnw59UkrZ2F_O1OBJ0QFaORjiOZwkcciJVtO0,1432
|
1254
|
+
tf_models_nightly-2.20.0.dev20250614.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
|
1255
|
+
tf_models_nightly-2.20.0.dev20250614.dist-info/top_level.txt,sha256=gum2FfO5R4cvjl2-QtP-S1aNmsvIZaFFT6VFzU0f4-g,33
|
1256
|
+
tf_models_nightly-2.20.0.dev20250614.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|