THUDM / ChatGLM-6B

ChatGLM-6B: An Open Bilingual Dialogue Language Model | 开源双语对话语言模型
Apache License 2.0
39.96k stars 5.15k forks source link

mPLUG-owl2: RuntimeError: probability tensor contains either `inf`, `nan` or element < 0 #1477

Open liuxuannan opened 2 months ago

liuxuannan commented 2 months ago

Is there an existing issue for this?

Current Behavior

We try the Quick Start Code provided in the mPLUG-owl2. There is a error: RuntimeError: probability tensor contains either inf, nan or element < 0

Expected Behavior

No response

Steps To Reproduce

We followed the instruction in the mPLUG-Owl2

Environment

- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :

Anything else?

No response