Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory exits process #173

Open
kczimm opened this issue Nov 1, 2023 · 0 comments
Open

Out of memory exits process #173

kczimm opened this issue Nov 1, 2023 · 0 comments

Comments

@kczimm
Copy link

kczimm commented Nov 1, 2023

Thanks for creating this library! We are using ctransformers at PostgresML to support GGUF models from Huggingface. We need to detect and recover from CUDA out of memory errors. Currently, it appears that ctransformers exits the process whenever a CUDA error is encountered.

Is there any plan to add error handling to ctransformers? Ideally, we would get some sort of Exception in Python that we can handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant