A check fail can be triggered in LearnedUnigramCandidateSampler #60197
Labels
comp:ops
OPs related issues
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.12
For issues related to Tensorflow 2.12
type:bug
Bug
Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
binary
Tensorflow Version
2.13.0-dev20230331
Custom Code
No
OS Platform and Distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
CUDA 11.8
GPU model and memory
No response
Current Behaviour?
Standalone code to reproduce the issue
import tensorflow as tf with tf.device("GPU:0"): num_true = 13 num_sampled = 48 unique = True range_max = 3031324185113192368 seed = 93 seed2 = 11 true_classes = tf.saturate_cast(tf.random.uniform([14, 13], minval=-1024, maxval=1024, dtype=tf.int64), dtype=tf.int64) res = tf.raw_ops.LearnedUnigramCandidateSampler( num_true=num_true, num_sampled=num_sampled, unique=unique, range_max=range_max, seed=seed, seed2=seed2, true_classes=true_classes, )
Relevant log output
The text was updated successfully, but these errors were encountered: