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
When running infernce.py, if the input length is too long, it will report an error: RuntimeError: probability tensor contains either inf, nan or element < 0; you need to change a parameter in infernce.py at this time.
former:
torch_dtype=torch.float16
now:
torch_dtype=torch.bfloat16
The text was updated successfully, but these errors were encountered:
When running infernce.py, if the input length is too long, it will report an error: RuntimeError: probability tensor contains either inf, nan or element < 0; you need to change a parameter in infernce.py at this time.
former:
torch_dtype=torch.float16
now:
torch_dtype=torch.bfloat16
The text was updated successfully, but these errors were encountered: