Skip to content

CUDA error 102 #904

@Lookforworld

Description

@Lookforworld

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [ Yes] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
  • [Yes ] I carefully followed the README.md.
  • [Yes ] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • [Yes ] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Operating Environment:
wsl2(Ubuntu 22.04.2 LTS)
python:3.10.13
llama-cpp-python: 0.2.15
NVIDIA-SMI 535.43.02
Driver Version: 535.98
CUDA Version: 11.7

The installation process is fine, running with the CPU without any errors, but it often happens once it is running on the GPU

CUDA error 102 at /tmp/pip-install-7_e6fm5e/llama-cpp-python_bce7693afa4f423faad647793d7b8412/vendor/llama.cpp/ggml-cuda.cu:7100: device doesn't have valid Grid license
current device: 0

It's not 100% that there is such an error, sometimes the first few conversations are fine, and suddenly the error is reported! What is certain is that if you keep talking, this error will happen, and then the process will be terminated. And I've tested multiple different models, and the problem is the same, how can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions