FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

AttributeError: module 'torch.cuda' has no attribute 'OutOfMemoryError'

Open zhanhang123 opened this issue 2 years ago • 1 comments

When using the langchain-chatGLM project to run, the model does not report an error and can be used normally, but when it is changed to FastChat, the following error appears. What is the reason for this?

Environment python=3.8.16,torch=1.12.1, T4

model chatGLM-6B-int4

Error AttributeError: module 'torch.cuda' has no attribute 'OutOfMemoryError' image

zhanhang123 avatar Jun 08 '23 06:06 zhanhang123