"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "5e620a92cf7e6c312435db86ec55e13b75dece75"
Fix: unfinished_sequences with correct device (#22184)
Fix: unfinished_sequences with correct device The original code was causing errors when running torch.jit.trace due to the tensor options being incorrect. I fixed this by using torch.ones to create a tensor with the correct device and dtype. This should resolve the issue with running torch.jit.trace.
Showing
Please register or sign in to comment