-
Notifications
You must be signed in to change notification settings - Fork 717
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
[SPARKNLP-1027] llama.cpp integration #14364
Merged
maziyarpanahi
merged 18 commits into
JohnSnowLabs:release/550-release-candidate
from
DevinTDHa:feature/SPARKNLP-1027-llama-cpp-integration
Sep 5, 2024
Merged
[SPARKNLP-1027] llama.cpp integration #14364
maziyarpanahi
merged 18 commits into
JohnSnowLabs:release/550-release-candidate
from
DevinTDHa:feature/SPARKNLP-1027-llama-cpp-integration
Sep 5, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add metadata to AutoGGUFModel
DevinTDHa
added
new-feature
Introducing a new feature
dependencies
Pull requests that update a dependency file
labels
Aug 8, 2024
DevinTDHa
changed the title
Feature/sparknlp 1027 llama cpp integration
[SPARKNLP-1027] llama.cpp integration
Aug 15, 2024
maziyarpanahi
changed the base branch from
master
to
release/550-release-candidate
September 2, 2024 17:59
…27-llama-cpp-integration
…27-llama-cpp-integration
maziyarpanahi
approved these changes
Sep 5, 2024
Seq(llamaCppGPU) | ||
else if (is_silicon.equals("true")) | ||
Seq(llamaCppSilicon) | ||
// else if (is_aarch64.equals("true")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DevinTDHa We don't need a special build for aarch64
or it's not supported?
maziyarpanahi
merged commit Sep 5, 2024
c2c0e48
into
JohnSnowLabs:release/550-release-candidate
6 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
DON'T MERGE
Do not merge this PR
new-feature
Introducing a new feature
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR implements support for llama.cpp in Spark NLP.
llama.cpp is a high-performance C/C++ library designed for running Meta's LLaMA models and other large language models (LLMs) on a variety of hardware platforms.
This will enable users to do inference of LLMs wich a variety of optimizations:
Motivation and Context
Many users will have clusters with many smaller nodes. This will enable these nodes to also perform inference for LLMs with limited memory.
How Has This Been Tested?
Local tests, google colab, databricks
Types of changes
Checklist: