exllama icon indicating copy to clipboard operation
exllama copied to clipboard

Please handle the case your logits contain nans

Open ParisNeo opened this issue 2 years ago • 1 comments

image

Hi, I was prompting llama-2-7B and got into this error.

Can you please handle the case there are nans in the logits?

ParisNeo avatar Aug 04 '23 20:08 ParisNeo

NaN or infinities in the logits implies the model has failed for one reason or another. This may be caused by a bug in the implementation, or it may be a corrupted/incorrectly finetuned model, but I'd need a lot more details to start figuring out what the cause is.

turboderp avatar Aug 05 '23 02:08 turboderp