Closed fginter closed 6 years ago
The library itself seems to be fine, so this is tensorflow bindings. Any thoughts on this?
(venv-mozds-gpu) ginter@speech-gpu-preempt:~/warp-transducer/build$ ./test_gpu
Running gpu tests
finish small_test 1
finish options_test 1
finish inf_test 1
finished 1
Tests pass
``'
Tried with tensorflow 1.9. Here setup.py install
works out of the box, but the same Segmentation Fault error occurs.
The segfault happens in this loop: https://github.com/HawkAaron/warp-transducer/blob/master/tensorflow_binding/src/warprnnt_op.cc#L82 when I comment it out, setup.py test finishes without error.
Thank you very much! This error happened because all tensors are placed on GPU except "costs", so I temporarily remove those batch size checking code, it works well now.
Hi,
Is there any similar fix in the pytorch binding?
I can run the built binaries like test_cpu, test_gpu without problem, but in pytorch binding I got the segfault.
Best regards, Yimeng
I use pip-installed tensorflow-gpu. To complete the build, I changed the following (in addition to #5 ):
1)
2) use
tf.sysconfig.get_lib()
But I still get a segfault