Open dr-venkman opened 4 years ago
Could this be a result of a randomly generated int32 value from gen_golden.py
? Looking at the script, it seems to generate from np.random.randint(0, 99, this_shape).astype(np.int32)
. For the particular case above, it needs to be strictly within the range [0, 2)
. The surprising part though, is that the model worked successfully on acl_cl
backend. Does it mean the acl_cl
implementation needs safety checks in place? Please correct me if wrong. Thanks in advance.
For now, I have overriden gen_golden.py
temporarily (not to be committed) to provide a value within proper range. In general, I wanted to ask whether it is feasible to check for value constraints within gen_golden.py
? Please let me know.
The Gather op is asserting for the cpu backend, when running the natural language answering model located here. Please find the asserting line below:
On debugging, I found the following information:
Any ideas on how to troubleshoot this would be appreciated. Thank you in advance.