THUDM / ChatGLM-6B

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

[BUG/Help] CUDA error: an illegal memory access was encountered #1370

Open suckseed5 opened 11 months ago

suckseed5 commented 11 months ago

Is there an existing issue for this?

Current Behavior

有没有人遇到这个问题,同样的数据在A100-40G(cuda-11.4)上,一跑就报错: image

Expected Behavior

No response

Steps To Reproduce

finetune

Environment

- OS:Ubuntu 20.04
- Python: 3.9
- Transformers: 4.31.0
- PyTorch: 2.0.1
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :True 11.4

Anything else?

No response