You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tf.raw_ops.LookupTableExportV2 aborts process on dtype mismatch instead of raising InvalidArgumentError #125503
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
tf2.21.0
Custom code
Yes
OS platform and distribution
Linux Ubuntu 22.04.5 LTS
Mobile device
N/A
Python version
3.10.20
Bazel version
N/A
GCC/compiler version
N/A
CUDA/cuDNN version
CUDA 13.0.88 cuDNN 9.x
GPU model and memory
NVIDIA GeForce RTX 5090 32G
Current behavior?
tf.raw_ops.LookupTableExportV2 aborts the process when exporting a table with incompatible key/value dtypes.
A StaticHashTable initialized with int64 keys and values is exported while requesting string keys and values. This triggers a fatal internal check failure:
TensorFlow should validate the requested key/value dtypes against the actual table dtypes and raise a framework-level exception such as InvalidArgumentError instead of terminating the process.
Hi @TTZTTZ1, Thank you for raising your concern here.
A fix for this issue has been proposed in this PR. Once it is merged, this issue will be resolved.
Many thanks to @adi-IL for raising the PR to address this issue. We truly appreciate your initiative and the effort in contributing the fix.
Activity
Kayyuri commentedon Sep 3, 2026
Hi @TTZTTZ1, Thank you for raising your concern here.
A fix for this issue has been proposed in this PR. Once it is merged, this issue will be resolved.
Many thanks to @adi-IL for raising the PR to address this issue. We truly appreciate your initiative and the effort in contributing the fix.
google-ml-butler commentedon Sep 25, 2026
Are you satisfied with the resolution of your issue?
Yes
No