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

Calling ggml from a Python script #120

Open
StellaAthena opened this issue Apr 30, 2023 · 1 comment
Open

Calling ggml from a Python script #120

StellaAthena opened this issue Apr 30, 2023 · 1 comment

Comments

@StellaAthena
Copy link

C n00b here, but I was wondering how nicely this library plays with Python. I have some existing codebases that are written in Python and would like make ggml an optional backend for people who don’t have GPUs.

Specifically, the main functionality I would like to be able to call would be:

  1. Computing a continuation based on an input prompt
  2. Computing the loglikelihood of a specific target continuation based on an input prompt

How easy is this to do?

@pikalover6
Copy link
Contributor

CCLDArjun pushed a commit to CCLDArjun/ggml that referenced this issue Dec 18, 2023
* add SIGINT support for _WIN32 environments

* perhaps more consistent
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

2 participants