abetlen / abetlen/llama-cpp-python

CUDA error 102

オープン
#904 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
10.6k
フォーク
1.4k
PR マージ指標
PR 指標を取得中

説明

# 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](https://github.com/abetlen/llama-cpp-python/blob/main/README.md).
- [Yes ] I [searched using keywords relevant to my issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/filtering-and-searching-issues-and-pull-requests) to make sure that I am creating a new issue that is not already open (or closed).
- [Yes ] I reviewed the [Discussions](https://github.com/abetlen/llama-cpp-python/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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。