Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Commit

Permalink
Merge branch 'main' into justin-the-law
Browse files Browse the repository at this point in the history
  • Loading branch information
gphorvath authored Jul 22, 2024
2 parents 3550eda + 56274f6 commit 8edb8e5
Show file tree
Hide file tree
Showing 74 changed files with 878 additions and 670 deletions.
2 changes: 1 addition & 1 deletion .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.9.1"
".": "0.9.2"
}
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
docker buildx build --platform amd64,arm64 -t ghcr.io/defenseunicorns/leapfrogai/leapfrogai-sdk:${{ steps.get_version.outputs.version-without-v }} --push -f src/leapfrogai_sdk/Dockerfile .
- name: Install Zarf
uses: defenseunicorns/setup-zarf@f95763914e20e493bb5d45d63e30e17138f981d6 # v1.0.0
uses: defenseunicorns/setup-zarf@10e539efed02f75ec39eb8823e22a5c795f492ae #v1.0.1

- name: Build and Publish API
run: |
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [0.9.2](https://github.com/defenseunicorns/leapfrogai/compare/v0.9.1...v0.9.2) (2024-07-19)


### Bug Fixes

* address Docker warning about case mismatch between 'as' and 'from'. ([#780](https://github.com/defenseunicorns/leapfrogai/issues/780)) ([a72bc94](https://github.com/defenseunicorns/leapfrogai/commit/a72bc94d96a975ca40687cf76cd525d293076102))
* disable forceRun for supabase jwt generation ([#806](https://github.com/defenseunicorns/leapfrogai/issues/806)) ([eb9b1e0](https://github.com/defenseunicorns/leapfrogai/commit/eb9b1e034eeb65b78f32263e92a1e99c421a01e2))


### Miscellaneous

* **supabase:** Increases supabase-storage file size and makes it configurable ([#775](https://github.com/defenseunicorns/leapfrogai/issues/775)) ([0c01f36](https://github.com/defenseunicorns/leapfrogai/commit/0c01f3628aa770dcd29b2254138f92e7dee537d9))

## [0.9.1](https://github.com/defenseunicorns/leapfrogai/compare/v0.9.0...v0.9.1) (2024-07-15)


Expand Down
2 changes: 1 addition & 1 deletion packages/api/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end

# This is the version number of the application being deployed. This version number should be
Expand Down
2 changes: 1 addition & 1 deletion packages/api/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
# x-release-please-start-version
lfaiAPITag: 0.9.1
lfaiAPITag: 0.9.2
# x-release-please-end
kiwigridTag: 1.23.3

Expand Down
2 changes: 1 addition & 1 deletion packages/api/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ components:
namespace: leapfrogai
localPath: chart
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end
valuesFiles:
- "lfai-values.yaml"
Expand Down
2 changes: 1 addition & 1 deletion packages/llama-cpp-python/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end

# This is the version number of the application being deployed. This version number should be
Expand Down
2 changes: 1 addition & 1 deletion packages/llama-cpp-python/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.9.1
tag: 0.9.2
# x-release-please-end

nameOverride: llama-cpp-python
Expand Down
2 changes: 1 addition & 1 deletion packages/llama-cpp-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "lfai-llama-cpp-python"
description = "A LeapfrogAI API-compatible llama-cpp-python wrapper for quantized and un-quantized model inferencing on CPU infrastructures."

# x-release-please-start-version
version = "0.9.1"
version = "0.9.2"
# x-release-please-end

dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion packages/llama-cpp-python/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ components:
localPath: chart
releaseName: llama-cpp-python-model
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end
valuesFiles:
- "llama-cpp-python-values.yaml"
Expand Down
2 changes: 1 addition & 1 deletion packages/repeater/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end

# This is the version number of the application being deployed. This version number should be
Expand Down
2 changes: 1 addition & 1 deletion packages/repeater/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.9.1
tag: 0.9.2
# x-release-please-end

nameOverride: repeater
Expand Down
2 changes: 1 addition & 1 deletion packages/repeater/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "lfai-repeater"
description = "A LeapfrogAI API-compatible pseudo-model for testing the API."

# x-release-please-start-version
version = "0.9.1"
version = "0.9.2"
# x-release-please-end

dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion packages/repeater/zarf-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package:
set:
image_repository: "ghcr.io/defenseunicorns/leapfrogai/repeater"
# x-release-please-start-version
image_version: 0.9.1
image_version: 0.9.2
# x-release-please-end
name: repeater
max_package_size: "1000000000"
Expand Down
2 changes: 1 addition & 1 deletion packages/repeater/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ components:
localPath: chart
releaseName: repeater
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end
valuesFiles:
- "repeater-values.yaml"
Expand Down
4 changes: 2 additions & 2 deletions packages/supabase/bitnami-values-bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jwt:
autoGenerate:
## @param jwt.autoGenerate.forceRun Force the run of the JWT generation job
##
forceRun: true
forceRun: false
## @param jwt.autoGenerate.annotations [object] Add annotations to the job
##
annotations:
Expand Down Expand Up @@ -110,4 +110,4 @@ kong:
## @param postgresql.service.ports.postgresql PostgreSQL service port
##
postgresql:
enabled: false
enabled: false
7 changes: 7 additions & 0 deletions packages/supabase/bitnami-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ storage:
resourcesPreset: "none"
podLabels:
sidecar.istio.io/inject: "false"
extraEnvVars:
# FILE_SIZE_LIMIT and UPLOAD_FILE_SIZE_LIMIT do the same thing, Supabase has a primary and fallback variable,
# so we have opted to set both of the variables to the same value.
- name: FILE_SIZE_LIMIT
value: "###ZARF_VAR_MAX_FILE_UPLOAD_SIZE_IN_BYTES###"
- name: UPLOAD_FILE_SIZE_LIMIT
value: "###ZARF_VAR_MAX_FILE_UPLOAD_SIZE_IN_BYTES###"

studio:
enabled: ###ZARF_VAR_ENABLE_STUDIO###
Expand Down
3 changes: 3 additions & 0 deletions packages/supabase/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ variables:
- name: ENABLE_EXTERNAL_KEYCLOAK
description: 'Enable the integration between Supabase and an external keycloak instance be enabled'
default: "true"
- name: MAX_FILE_UPLOAD_SIZE_IN_BYTES
description: 'The maximum upload file size for Supabase storage in bytes, default is equivalent to 512Mb'
default: "536870912"

components:
- name: supabase
Expand Down
2 changes: 1 addition & 1 deletion packages/text-embeddings/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end

# This is the version number of the application being deployed. This version number should be
Expand Down
2 changes: 1 addition & 1 deletion packages/text-embeddings/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.9.1
tag: 0.9.2
# x-release-please-end

nameOverride: text-embeddings
Expand Down
2 changes: 1 addition & 1 deletion packages/text-embeddings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "lfai-text-embeddings"
description = "A LeapfrogAI API-compatible embeddings library wrapper for text-based embedding generation."

# x-release-please-start-version
version = "0.9.1"
version = "0.9.2"
# x-release-please-end

dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion packages/text-embeddings/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ components:
localPath: chart
releaseName: text-embeddings-model
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end
valuesFiles:
- "embedding-values.yaml"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end

# This is the version number of the application being deployed. This version number should be
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ components:
valuesFiles:
- 'chart/ui-values.yaml'
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end
images:
- ghcr.io/defenseunicorns/leapfrogai/leapfrogai-ui:###ZARF_PKG_TMPL_IMAGE_VERSION###
Expand Down
2 changes: 1 addition & 1 deletion packages/vllm/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end

# This is the version number of the application being deployed. This version number should be
Expand Down
2 changes: 1 addition & 1 deletion packages/vllm/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.9.1
tag: 0.9.2
# x-release-please-end

nameOverride: vllm
Expand Down
2 changes: 1 addition & 1 deletion packages/vllm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "lfai-vllm"
description = "A LeapfrogAI API-compatible VLLM wrapper for quantized and un-quantized model inferencing across GPU infrastructures."

# x-release-please-start-version
version = "0.9.1"
version = "0.9.2"
# x-release-please-end

dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion packages/vllm/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ components:
localPath: chart
releaseName: vllm-model
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end
valuesFiles:
- "vllm-values.yaml"
Expand Down
2 changes: 1 addition & 1 deletion packages/whisper/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end

# This is the version number of the application being deployed. This version number should be
Expand Down
2 changes: 1 addition & 1 deletion packages/whisper/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.9.1
tag: 0.9.2
# x-release-please-end

nameOverride: whisper
Expand Down
2 changes: 1 addition & 1 deletion packages/whisper/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "lfai-whisper"
description = "A LeapfrogAI API-compatible faster-whisper wrapper for audio transcription generation across CPU and GPU infrastructures."

# x-release-please-start-version
version = "0.9.1"
version = "0.9.2"
# x-release-please-end

dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion packages/whisper/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ components:
localPath: chart
releaseName: whisper-model
# x-release-please-start-version
version: 0.9.1
version: 0.9.2
# x-release-please-end
valuesFiles:
- "whisper-values.yaml"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "ChatGPT type capabilities for secure, local, air-gapped systems."
authors = [{ name = "LeapfrogAI Team", email = "ai@defenseunicorns.com" }]

# x-release-please-start-version
version = "0.9.1"
version = "0.9.2"
# x-release-please-end

readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/leapfrogai_api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "leapfrogai-api"
description = "An API for LeapfrogAI that allows LeapfrogAI backends to connect seamlessly"

# x-release-please-start-version
version = "0.9.1"
version = "0.9.2"
# x-release-please-end

dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion src/leapfrogai_api/supabase/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ port = 54324
[storage]
enabled = true
# The maximum file size allowed (e.g. "5MB", "500KB").
file_size_limit = "50MiB"
file_size_limit = "512MiB"

[auth]
enabled = true
Expand Down
2 changes: 1 addition & 1 deletion src/leapfrogai_sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "leapfrogai-sdk"
description = "A tool for building gRPC-based model backends for LeapfrogAI"

# x-release-please-start-version
version = "0.9.1"
version = "0.9.2"
# x-release-please-end

dependencies = [
Expand Down
4 changes: 2 additions & 2 deletions src/leapfrogai_ui/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ PUBLIC_MESSAGE_LENGTH_LIMIT=10000
# PRIVATE DYNAMIC
DEFAULT_TEMPERATURE=0.1
DEFAULT_SYSTEM_PROMPT="You are a helpful AI assistant created by Defense Unicorns."
DEFAULT_MODEL=vllm # ex. for OpenAI would be: gpt-3.5-turbo
LEAPFROGAI_API_BASE_URL=https://leapfrogai-api.uds.dev
DEFAULT_MODEL=vllm #for OpenAI it could be: gpt-3.5-turbo
LEAPFROGAI_API_BASE_URL=https://leapfrogai-api.uds.dev #for OpenAI it would be: https://api.openai.com
#If specified, app will use OpenAI instead of Leapfrog
OPENAI_API_KEY=

Expand Down
2 changes: 1 addition & 1 deletion src/leapfrogai_ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Set the following .env variables:

```
DEFAULT_MODEL=gpt-3.5-turbo
LEAPFROGAI_API_BASE_URL=https://api.openai.com/v1
LEAPFROGAI_API_BASE_URL=https://api.openai.com
#If specified, app will use OpenAI instead of Leapfrog
OPENAI_API_KEY=<your_openai_api_key>
```
Expand Down
Loading

0 comments on commit 8edb8e5

Please sign in to comment.