Conversation
# Conflicts: # cli/Cargo.toml # cli/src/main.rs
# Conflicts: # cli/src/eve.rs
…l/cuda feature selector on cli again
…ption which should work fine on CPU
…date Rust to 1.81)
lucksus
commented
Nov 15, 2024
jhweir
approved these changes
Nov 18, 2024
Contributor
jhweir
left a comment
There was a problem hiding this comment.
Looks good to me. Great work!
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds AI model inference to ADAM, including downloading and managing of models from Huggingface, registering tasks and prompting models - based on Kalosm.
As a first step, this PR only focusses on managing and making available a couple of hard-coded models, but introducing an new section "AI" to the Ad4mClient. Other, future PRs will add the ability to have the user select and manage the exact models (#504), as well as registering external modals via API, and UI in the ADAM Launcher for all of this.
New AI interface functions in Ad4mClient
This introduced 3 different kinds of model interactions that ADAM provides to apps via it's interface
Language processing with LLMs via tasks
This spawns a session of the given model and configures it with the prompt and the examples, so that subsequently it can be run with:
Emedding of text
Transcription of audio
Progress
Deno/V8/Abseil linking issues fixed
This branch also switches Deno dependencies to a new branch in our forks which use our new fork of rusty_v8. V8, and more precisely its dependency Abseil needs to get compiled within a separate namespace since one of Kalosm's C sub-dependcies (libort) also uses Abseil. Since building C dependencies inside Rust crates is not something that cargo is able to track, this problem only becomes apparent at link-time (Linux) or at run-time (macOS and Windows) with a crash.
Understanding and solving this riddle is what took most of the time to complete this PR, even if the work is barely visible here, only with the switch of the branch of the Deno crates.