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

feature: GGML support #4016

Open
aarnphm opened this issue Jul 3, 2023 · 0 comments
Open

feature: GGML support #4016

aarnphm opened this issue Jul 3, 2023 · 0 comments
Assignees
Labels
enhancement Enhancement proposals

Comments

@aarnphm
Copy link
Contributor

aarnphm commented Jul 3, 2023

Feature request

Serialization for GGML:

bentoml.ggml.save_model

bentoml.ggml.load_model

It is worth noting that bentoml.ggml also provides an entrypoint for converting the model weights from PyTorch, Tensorflow or HF directly to GGML:

bentoml.ggml.convert_weights_to_ggml("/path/to/weight", format: t.Literal['pt', 'tf', 'hf'] = ...)

GGML runner will be available with CoreML, CPU, and CUDA support:

bentoml.ggml.get().to_runner() -> GGMLRunner

The development for this feature will live under bentoml/OpenLLM, and I will port back to BentoML once the API is more mature.

Motivation

No response

Other

No response

@aarnphm aarnphm added the enhancement Enhancement proposals label Jul 3, 2023
@aarnphm aarnphm self-assigned this Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement proposals
Projects
None yet
Development

No branches or pull requests

1 participant