RuntimeError: probability tensor contains either `inf`, `nan` or element < 0
#1
by
makongduo4112
- opened
Hi guys,
Could you tell me how to fix below issue?
RuntimeError: probability tensor contains either inf
, nan
or element < 0
I just run the example in the model card.
my environment is listed below:
GPU: 1060
OS: windows 11
pytorch: 2.2.2
cuda: 12.1
Same issue occurs on qwen2-7b-instruct-int8