Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ Use [AWS](docs/setup.md#aws) to rent GPUs in your own account, [Docker Compose](
### Docker Compose

```bash
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.1/install.sh | bash -s -- docker
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.2/install.sh | bash -s -- docker
```

### Kubernetes

```bash
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.1/install.sh | bash -s -- kubernetes
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.2/install.sh | bash -s -- kubernetes
```

Open [localhost:8080](http://localhost:8080) and sign in as `admin`. The installer tells you where to find the generated password.
Expand All @@ -47,7 +47,7 @@ No GPU? Enable **Simulate without a GPU** in the model's **Settings** for canned

Start with 0 models and 0 GPUs in your own account. Requires a paid AWS account with deployment permissions. AWS bills for the launcher from setup and for GPU machines when you add them. Review GPU choices and prices in the UI.

1. [Launch on AWS](https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/review?templateURL=https%3A%2F%2Finference-stack-release-templates-templates-e0eqnr6ih8gk.s3.us-east-2.amazonaws.com%2Freleases%2Fv0.4.1%2Faws-stack.yaml&stackName=inference-stack). Enter an **Admin password** of at least 20 characters, keep the other defaults, acknowledge IAM permissions, and choose **Create stack**.
1. [Launch on AWS](https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/review?templateURL=https%3A%2F%2Finference-stack-release-templates-templates-e0eqnr6ih8gk.s3.us-east-2.amazonaws.com%2Freleases%2Fv0.4.2%2Faws-stack.yaml&stackName=inference-stack). Enter an **Admin password** of at least 20 characters, keep the other defaults, acknowledge IAM permissions, and choose **Create stack**.
2. Wait for **CREATE_COMPLETE**, then open **Outputs → OpenInferenceStack**. Sign in as `admin` with that password.
3. Open **Deployments**, choose a model, select an **AWS GPU**, and choose **Add GPU and deploy** after reviewing its price.
4. When **Ready**, choose **Try in LiteLLM**. Sign in with the same password, select the model in **Chat**, and send a message.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.1
0.4.2
4 changes: 2 additions & 2 deletions charts/inference-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: inference-stack
description: LiteLLM, Lens, Prometheus, Grafana and the launcher. Models are added with the model chart.
type: application
version: 0.4.1
appVersion: "0.4.1"
version: 0.4.2
appVersion: "0.4.2"
dependencies:
- name: litellm-helm
alias: litellm
Expand Down
2 changes: 1 addition & 1 deletion charts/inference-stack/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
launcher:
image: ghcr.io/berriai/inference-stack/launcher:0.4.1
image: ghcr.io/berriai/inference-stack/launcher:0.4.2
imagePullPolicy: IfNotPresent
# Namespace-scoped Helm deployment access. Disable for command-only use.
manageModels: true
Expand Down
4 changes: 2 additions & 2 deletions charts/model/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: inference-stack-model
description: One model served by vLLM, routed by llm-d and registered in LiteLLM.
type: application
version: 0.4.1
appVersion: "0.4.1"
version: 0.4.2
appVersion: "0.4.2"
dependencies:
- name: llm-d-router-standalone
version: v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
condition: service_healthy

launcher:
image: ${INFERENCE_STACK_LAUNCHER_IMAGE:-ghcr.io/berriai/inference-stack/launcher:0.4.1}
image: ${INFERENCE_STACK_LAUNCHER_IMAGE:-ghcr.io/berriai/inference-stack/launcher:0.4.2}
build:
context: ..
dockerfile: launcher/Dockerfile
Expand Down
28 changes: 14 additions & 14 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Run on AWS, one machine with Docker Compose, or an existing Kubernetes cluster.
Use this path for one machine. You need Docker with Compose, curl, and OpenSSL. Real models also need an NVIDIA GPU and the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html). You can try the flow without a GPU using simulation.

```bash
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.1/install.sh | bash -s -- docker
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.2/install.sh | bash -s -- docker
```

The installer verifies the release bundle, extracts it into `./inference-stack`, generates a private `compose/.env`, and starts the prebuilt stack. To choose another directory, export `INFERENCE_STACK_DIR` before running it. An existing installation and its credentials are reused.
Expand All @@ -25,7 +25,7 @@ All published ports bind to `127.0.0.1`. The launcher controls Docker, so keep l
Use this path for a cluster. You need Helm 3.14 or later, `kubectl`, curl, OpenSSL, and permission to install the stack's resources. Confirm that `kubectl config current-context` selects the intended cluster. Real models need GPU nodes with the [NVIDIA GPU Operator](https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/latest/getting-started.html). Simulation does not require GPUs.

```bash
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.1/install.sh | bash -s -- kubernetes
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.2/install.sh | bash -s -- kubernetes
```

The installer verifies and extracts the release into `./inference-stack`, installs the stack in namespace `inference` with generated credentials, waits for readiness, and forwards the launcher, LiteLLM, Grafana, and Lens to localhost. Leave the terminal open; Ctrl-C closes these connections while the stack keeps running. Running the command again reconnects to an existing healthy release without changing its values.
Expand All @@ -44,7 +44,7 @@ The template in `aws/stack.yaml` starts with **0 models and 0 GPUs**. It creates

To start:

1. Open [Launch on AWS](https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/review?templateURL=https%3A%2F%2Finference-stack-release-templates-templates-e0eqnr6ih8gk.s3.us-east-2.amazonaws.com%2Freleases%2Fv0.4.1%2Faws-stack.yaml&stackName=inference-stack). Sign into the AWS account that will own and pay for the installation.
1. Open [Launch on AWS](https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/review?templateURL=https%3A%2F%2Finference-stack-release-templates-templates-e0eqnr6ih8gk.s3.us-east-2.amazonaws.com%2Freleases%2Fv0.4.2%2Faws-stack.yaml&stackName=inference-stack). Sign into the AWS account that will own and pay for the installation.
2. Enter an **Admin password** of at least 20 characters. Keep the other defaults, review the cost, acknowledge the IAM permissions, and choose **Create stack**.
3. Wait for `CREATE_COMPLETE`, then open **Outputs → OpenInferenceStack**. Sign in as `admin` with that password. The homepage shows **0 deployments · 0 GPUs**.
4. Open **Deployments**, choose a model, and review its GPU allocation. If capacity is needed, select an **AWS GPU**, review its memory and hourly price, and choose **Add GPU and deploy**. You can also add GPUs separately from **GPUs**.
Expand Down Expand Up @@ -196,21 +196,21 @@ Database persistent volumes may remain; manage them separately according to your

## Update

Keep your existing credentials and volumes when updating to v0.4.1. Use the instructions for your installation method.
Keep your existing credentials and volumes when updating to v0.4.2. Use the instructions for your installation method.

For Docker, rerun the installer from the directory containing `inference-stack`. It keeps `.env`, volumes and routing settings, recreates changed services, and keeps the previous recipe as a backup:

```bash
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.1/install.sh | bash -s -- docker
curl -fsSL https://github.com/BerriAI/inference-stack/releases/download/v0.4.2/install.sh | bash -s -- docker
```

When updating a Docker install that predates the Grafana volume, run the installer before removing or recreating the old Grafana container. The installer copies its dashboards and other Grafana data into the new volume. A stopped container can still be migrated.

For an existing Kubernetes cluster, update the chart while retaining your values:

```bash
helm upgrade inference-stack https://github.com/BerriAI/inference-stack/releases/download/v0.4.1/inference-stack-0.4.1.tgz \
--namespace inference --reset-then-reuse-values --set-string launcher.image=ghcr.io/berriai/inference-stack/launcher:0.4.1 --wait
helm upgrade inference-stack https://github.com/BerriAI/inference-stack/releases/download/v0.4.2/inference-stack-0.4.2.tgz \
--namespace inference --reset-then-reuse-values --set-string launcher.image=ghcr.io/berriai/inference-stack/launcher:0.4.2 --wait
```

After the chart update, rerun the [Kubernetes setup command](#kubernetes) to reconnect. Open the launcher and LiteLLM to confirm both are reachable.
Expand All @@ -220,7 +220,7 @@ For AWS, launch a new stack with this release and a different stack name. Deploy
To enable only Lens on an existing AWS v0.4.0 install, keep the current CloudFormation stack. Take a backup and check CPU, memory and disk headroom before enabling Lens. Use Systems Manager to connect to the launcher and run the verified bootstrap below. It uses the chart already installed on the instance and keeps the existing release values, instance, credentials and disks. On a `t3.large`, it saves a CPU request of 50m each for Lens and ClickHouse unless you have set your own requests. If GPU nodes are running, cordon them before enabling Lens so ClickHouse's local volume is placed on the launcher, then uncordon them after ClickHouse is ready.

```bash
release=https://github.com/BerriAI/inference-stack/releases/download/v0.4.1
release=https://github.com/BerriAI/inference-stack/releases/download/v0.4.2
lens_update_dir=$(mktemp -d)
cd "$lens_update_dir"
curl -fsSLO "$release/aws-bootstrap.py" &&
Expand All @@ -239,8 +239,8 @@ Copy the prompt for your environment:
<summary>Docker Compose</summary>

```text
Set up Inference Stack v0.4.1 on this machine with Docker Compose.
Read https://github.com/BerriAI/inference-stack/blob/v0.4.1/docs/setup.md
Set up Inference Stack v0.4.2 on this machine with Docker Compose.
Read https://github.com/BerriAI/inference-stack/blob/v0.4.2/docs/setup.md
and inspect its release installer before running it. Check prerequisites,
preserve any existing installation and credentials, and keep secrets out
of chat and logs. Start the stack, verify its health, and open the launcher.
Expand All @@ -254,8 +254,8 @@ If no GPU is available, offer simulation and identify its canned response.
<summary>Kubernetes</summary>

```text
Set up Inference Stack v0.4.1 in Kubernetes.
Read https://github.com/BerriAI/inference-stack/blob/v0.4.1/docs/setup.md
Set up Inference Stack v0.4.2 in Kubernetes.
Read https://github.com/BerriAI/inference-stack/blob/v0.4.2/docs/setup.md
and inspect its release installer before running it. Confirm the current
cluster is the intended target, check permissions and GPU capacity, and
preserve existing releases and credentials. Keep secrets out of chat and
Expand All @@ -270,8 +270,8 @@ Use simulation only if I choose it. Ask before provisioning paid resources.
<summary>AWS</summary>

```text
Set up Inference Stack v0.4.1 in my AWS account.
Read https://github.com/BerriAI/inference-stack/blob/v0.4.1/docs/setup.md#aws
Set up Inference Stack v0.4.2 in my AWS account.
Read https://github.com/BerriAI/inference-stack/blob/v0.4.2/docs/setup.md#aws
and inspect the release template. Confirm the account, permissions, and
cost before creating the stack. Keep credentials out of chat and logs.
Open the empty launcher, help me choose a GPU and model, and ask before
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

VERSION=0.4.1
VERSION=0.4.2
RELEASE="https://github.com/BerriAI/inference-stack/releases/download/v$VERSION"
mode="${1:-}"
case "$mode" in
Expand Down
Loading