Skip to content

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

Description

@zhanhang123

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions