-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UDS bundles and README Updates (#322)
* add uds bundles for local package deployment * update README and Makefile targets * add uds latest targets and move dir * add local dev instructions to README.md * update e2e test workflow
- Loading branch information
Showing
15 changed files
with
478 additions
and
26 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ tokenizer.json | |
config.json | ||
generation_config.json | ||
vocabulary.json | ||
.model/ | ||
|
||
# go binaries | ||
api/main |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,7 @@ text-embeddings = [ | |
|
||
whisper = [ | ||
"faster-whisper == 0.10.0", | ||
"ctranslate2 >= 4.1.0" | ||
] | ||
|
||
e2e-test = [ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
kind: UDSBundle | ||
metadata: | ||
name: leapfrogai | ||
description: A UDS bundle for deploying LeapfrogAI with CPU-only support | ||
version: dev | ||
|
||
packages: | ||
# API | ||
- name: leapfrogai-api | ||
path: ../../../packages/api/ | ||
ref: dev | ||
|
||
# Legacy UI - not currently in this repo so it builds from ghcr | ||
- name: leapfrogai-ui | ||
repository: ghcr.io/defenseunicorns/packages/leapfrogai/leapfrogai-ui | ||
ref: 0.3.5 | ||
|
||
# Chat Model | ||
- name: llama-cpp-python | ||
path: ../../../packages/llama-cpp-python/ | ||
ref: dev | ||
|
||
# Text Embeddings Model | ||
- name: text-embeddings | ||
path: ../../../packages/text-embeddings/ | ||
ref: dev | ||
|
||
# RAG Backend - not currently in this repo so it builds from ghcr | ||
- name: rag | ||
repository: ghcr.io/defenseunicorns/packages/leapfrogai/rag | ||
ref: 0.3.1 | ||
|
||
# Transcription Model | ||
- name: whisper | ||
path: ../../../packages/whisper/ | ||
ref: dev | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
variables: | ||
leapfrogai-ui: | ||
domain: https://ai.uds.dev | ||
model: llama-cpp-python | ||
concurrent_requests: "false" | ||
ai4ns_branding: "false" | ||
leapfrogai_rag_url: http://rag.leapfrogai.svc.cluster.local:8000 | ||
max_tokens: 8192 | ||
|
||
text-embeddings: | ||
gpu_limit: 0 | ||
|
||
whisper: | ||
gpu_limit: 0 | ||
|
||
rag: | ||
model: llama-cpp-python | ||
ssl_verification: "false" # if certs exist in-cluster, make true | ||
response_mode: "raw" # default mode for query endpoint | ||
temperature: 0 # refine method temperature for vllm | ||
max_output: 2048 | ||
context_window: 4096 | ||
chunk_size: 512 | ||
overlap_size: 64 | ||
embedding_model_name: text-embeddings | ||
top_k: 20 |
Oops, something went wrong.