THUDM / ChatGLM-6B

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

[RuntimeError] <CUDA error: an illegal memory access was encountered> #819

Open Dhaizei opened 1 year ago

Dhaizei commented 1 year ago

Is your feature request related to a problem? Please describe.

RuntimeError: CUDA error: an illegal memory access was encountered CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Solutions

我仅仅是 让这个模型一直运行,没有存储历史数据,用了两张卡来运行的。怎么解决?

Additional context

No response

leoluopy commented 11 months ago

mark , same problem , have you find a solution ? @Dhaizei

Dhaizei commented 11 months ago

i give up. you can try fastchat to use this model