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

feat: Add llama.cpp web assembly support #256

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

GordonSmith
Copy link
Member

Primarily for calculating embeddings on the client

@GordonSmith GordonSmith marked this pull request as draft August 28, 2024 16:04
@GordonSmith GordonSmith force-pushed the LLAMA_II branch 2 times, most recently from ccd0c36 to 1e3330a Compare August 28, 2024 16:17
@GordonSmith GordonSmith marked this pull request as ready for review August 28, 2024 16:23
Copy link

@jeclrsg jeclrsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GordonSmith only one question about the test file. The version test seems to perform the exact same thing twice?

Comment on lines +20 to +25
llama = await Llama.load();
v = llama.version();
expect(v).to.be.a.string;
expect(v).to.be.not.empty;
expect(v).equals(v1);
Llama.unload();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to perform the same test twice?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - its testing the unload and reload capabilities.

Primarily for calculating embeddings on the client

Signed-off-by: Gordon Smith <[email protected]>
@GordonSmith GordonSmith merged commit 9b802ae into hpcc-systems:trunk Aug 30, 2024
7 checks passed
@GordonSmith GordonSmith deleted the LLAMA_II branch August 30, 2024 09:50
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

Successfully merging this pull request may close these issues.

2 participants