Promote v0.2.0 to production

This commit is contained in:
GPU Kitchen delivery
2026-10-09 23:33:58 +00:00
parent cc670cd6e7
commit e20e5148e8
4 changed files with 384 additions and 92 deletions
+263 -36
View File
@@ -69,6 +69,26 @@ need_root() {
# ── JSON helpers (controlled inputs: paths + identifiers) ──────────────────────
json_str() { printf '%s' "$1" | sed 's/\\/\\\\/g; s/"/\\"/g'; }
# The host's IANA time zone (PLN-51): the planning's weekly template is written in the
# controller's time, and a container left in UTC would shift it silently. Empty when
# the host does not say; the controller then reports UTC and shows it.
host_timezone() {
_tz=""
if command -v timedatectl >/dev/null 2>&1; then
_tz=$(timedatectl show -p Timezone --value 2>/dev/null || true)
fi
if [ -z "$_tz" ] && [ -L /etc/localtime ]; then
_tz=$(readlink /etc/localtime | sed -n 's#.*/zoneinfo/##p')
fi
if [ -z "$_tz" ] && [ -r /etc/timezone ]; then
_tz=$(head -n 1 /etc/timezone)
fi
case "$_tz" in
*[!A-Za-z0-9_+/-]*) _tz="" ;;
esac
printf '%s' "$_tz"
}
json_array() { # args → ["a","b",...]
_out=""
for _p in "$@"; do
@@ -236,19 +256,19 @@ seed_secrets() { # DATA_ROOT
[ ! -f "$_sd/bootstrap_admin_password" ] || chmod 0600 "$_sd/bootstrap_admin_password"
}
prepare_claim_code() {
prepare_claim_key() {
# The file is the operator's recoverable proof of machine possession. Create
# it once, preserve it across reinstalls, and let the backend unlink it after
# the atomic first-account claim. A missing file beside an existing manifest
# therefore means "consumed", never "rotate the credential". homelab and studio
# therefore means "consumed", never "rotate the credential". homelab and small-team
# have no claim window at all (PRF-12, SEC-53): no code is made for them.
case "$PROFILE" in homelab|studio) return 0 ;; esac
if [ -f "$CLAIM_CODE_FILE" ]; then
chmod 0600 "$CLAIM_CODE_FILE"
case "$PROFILE" in homelab|small-team) return 0 ;; esac
if [ -f "$CLAIM_KEY_FILE" ]; then
chmod 0600 "$CLAIM_KEY_FILE"
elif [ ! -f "$MANIFEST" ]; then
umask 077
gen_secret > "$CLAIM_CODE_FILE"
chmod 0600 "$CLAIM_CODE_FILE"
gen_secret > "$CLAIM_KEY_FILE"
chmod 0600 "$CLAIM_KEY_FILE"
fi
}
@@ -297,7 +317,7 @@ UNIT
# TLS reverse-proxy example, FILLED with the operator's domain (INS-47) — written
# under `--domain <d>`, whatever the profile. Kept aligned with
# deployments/controller/Caddyfile.example (the compose variant); this copy
# deployments/controller/Caddyfile.example (the dev/CI compose variant); this copy
# targets the all-in-one image, where nginx on the UI port is the single front
# door (INS-09) so one upstream carries pages, /api and the /ws upgrade alike.
# We write a file and NOTHING more: no package install, no service start, no
@@ -307,7 +327,7 @@ write_caddyfile() {
mkdir -p "$DATA_ROOT/caddy"
cat > "$DATA_ROOT/caddy/Caddyfile" <<CADDY
# TLS in front of GPU Kitchen — generated by the installer for --domain $DOMAIN
# (specs/plateforme/installation.md INS-47). Caddy provisions and renews the
# (specs/plateforme/installation/preflight-et-image.md INS-47). Caddy provisions and renews the
# certificate itself once DNS for $DOMAIN points at this machine.
#
# sudo cp $DATA_ROOT/caddy/Caddyfile /etc/caddy/Caddyfile
@@ -444,8 +464,8 @@ cmd_install() {
_seen="$_seen $_pv"
done
case "$PROFILE" in
""|homelab|studio|enterprise|public) ;;
*) die "--profile must be homelab, studio, enterprise or public (got '$PROFILE')" ;;
""|homelab|small-team|managed-network|public) ;;
*) die "--profile must be homelab, small-team, managed-network or public (got '$PROFILE')" ;;
esac
if [ -n "$DOMAIN" ]; then
@@ -475,13 +495,13 @@ cmd_install() {
CACHE_JSON="[{\"hostPath\":\"$(json_str "$CACHE_DIR")\",\"shared\":false}]"
SELF_ENROLL_FILE="$DATA_ROOT/self-enroll-token"
BOOTSTRAP_PASSWORD_FILE="$DATA_ROOT/secrets/bootstrap_admin_password"
CLAIM_CODE_FILE="$DATA_ROOT/secrets/claim_code"
CLAIM_CODE_AVAILABLE=0
CLAIM_KEY_FILE="$DATA_ROOT/secrets/claim_key"
CLAIM_KEY_AVAILABLE=0
if [ "$DRY_RUN" -eq 1 ]; then
case "$MODE:$PROFILE" in
controller:homelab|controller:studio) ;;
controller:*) CLAIM_CODE_AVAILABLE=1 ;;
controller:homelab|controller:small-team) ;;
controller:*) CLAIM_KEY_AVAILABLE=1 ;;
esac
echo "==> dry run: no file, service or container was changed"
[ ! -f "$MANIFEST" ] \
@@ -557,8 +577,8 @@ cmd_install() {
mkdir -p "$ETC_DIR" "$DATA_ROOT" "$CACHE_DIR"
seed_secrets "$DATA_ROOT"
if [ "$MODE" = "controller" ]; then
prepare_claim_code
[ ! -s "$CLAIM_CODE_FILE" ] || CLAIM_CODE_AVAILABLE=1
prepare_claim_key
[ ! -s "$CLAIM_KEY_FILE" ] || CLAIM_KEY_AVAILABLE=1
fi
umask 077
@@ -698,7 +718,7 @@ JSON
# fresh render no longer carries it (a profile change drops GPUK_HSTS); any other
# key was pushed by the controller and is kept. Keep this list in step with
# render_controller_manifest.
INSTALL_ENV_KEYS="NODE_ENV,GPUK_MODE,GPUK_CLUSTER,GPUK_SELF_ENROLL_FILE,NODE_DISPLAY_NAME,HF_HOME,GPUK_DATA_ROOT,GPUK_INSTALL_PROFILE,GPUK_HSTS,GPUK_SESSION_COOKIE_SECURE,GPUK_BOOTSTRAP_MUST_CHANGE,BACKEND_DOCKER_NETWORK,GPUK_PORT,GPUK_PUBLIC_PORT,GPUK_MTLS_PORT,GPUK_PUBLIC_MTLS_PORT,GPUK_PROXY_PUBLIC_PORT"
INSTALL_ENV_KEYS="NODE_ENV,TZ,GPUK_CLUSTER,GPUK_SELF_ENROLL_FILE,NODE_DISPLAY_NAME,HF_HOME,GPUK_DATA_ROOT,GPUK_INSTALL_PROFILE,GPUK_HSTS,GPUK_SESSION_COOKIE_SECURE,GPUK_BOOTSTRAP_MUST_CHANGE,BACKEND_DOCKER_NETWORK,GPUK_PORT,GPUK_PUBLIC_PORT,GPUK_MTLS_PORT,GPUK_PUBLIC_MTLS_PORT,GPUK_PROXY_PUBLIC_PORT"
# Write the manifest — or, when one exists, MERGE into it (INS-03). Re-running the
# installer is the update path, and the manifest is not ours alone: since the first
@@ -751,6 +771,8 @@ render_controller_manifest() {
# own GPUK_PORT when nothing republishes it.
EXTRA_ENV=""
EXTRA_ENV="$EXTRA_ENV,\"GPUK_DATA_ROOT\":\"$(json_str "$DATA_ROOT")\""
HOST_TZ=$(host_timezone)
[ -z "$HOST_TZ" ] || EXTRA_ENV="$EXTRA_ENV,\"TZ\":\"$(json_str "$HOST_TZ")\""
[ -z "$PROFILE" ] || EXTRA_ENV="$EXTRA_ENV,\"GPUK_INSTALL_PROFILE\":\"$(json_str "$PROFILE")\""
if [ "$PROFILE" = "public" ]; then
EXTRA_ENV="$EXTRA_ENV,\"GPUK_HSTS\":\"true\""
@@ -770,8 +792,8 @@ render_controller_manifest() {
BOOTSTRAP_SECRET_JSON=",\"GPUK_BOOTSTRAP_ADMIN_PASSWORD\":\"$(json_str "$BOOTSTRAP_PASSWORD_FILE")\""
fi
CLAIM_SECRET_JSON=""
if [ "$CLAIM_CODE_AVAILABLE" -eq 1 ]; then
CLAIM_SECRET_JSON=",\"GPUK_CLAIM_CODE\":\"$(json_str "$CLAIM_CODE_FILE")\""
if [ "$CLAIM_KEY_AVAILABLE" -eq 1 ]; then
CLAIM_SECRET_JSON=",\"GPUK_CLAIM_KEY\":\"$(json_str "$CLAIM_KEY_FILE")\""
fi
[ "$NETWORK" = "host" ] || EXTRA_ENV="$EXTRA_ENV,\"BACKEND_DOCKER_NETWORK\":\"$(json_str "$NETWORK")\""
@@ -812,7 +834,6 @@ render_controller_manifest() {
"ports": $PORTS_JSON,
"env": {
"NODE_ENV": "production",
"GPUK_MODE": "controller",
"GPUK_CLUSTER": "$(json_str "$CLUSTER")",
"GPUK_SELF_ENROLL_FILE": "$(json_str "$SELF_ENROLL_FILE")",
"NODE_DISPLAY_NAME": "$(json_str "$(hostname)")",
@@ -852,6 +873,21 @@ manifest_image() {
sed -n 's/.*"image"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' "$MANIFEST" 2>/dev/null | head -1
}
manifest_env() { # $1 = env key of the app container
sed -n "s/.*\"$1\"[[:space:]]*:[[:space:]]*\"\([^\"]*\)\".*/\1/p" "$MANIFEST" 2>/dev/null | head -1
}
# [SEC-72] The one-time setup link, rebuilt from the key file the controller unlinks once
# the first account exists. Empty when the key is gone (consumed) or was never made
# (homelab, small-team, worker). The UI port is the published one when the app is bridged.
setup_url() {
_kf="$(manifest_data_root)/secrets/claim_key"
[ -s "$_kf" ] || return 0
_up=$(manifest_env GPUK_PUBLIC_PORT); [ -n "$_up" ] || _up=$(manifest_env GPUK_PORT)
_host=$(hostname -f 2>/dev/null || hostname 2>/dev/null || echo localhost)
printf 'http://%s:%s/start?key=%s' "$_host" "${_up:-8080}" "$(cat "$_kf")"
}
health_port() {
sed -n 's/.*GPUK_WORKER_HEALTH_PORT=\([0-9]*\).*/\1/p' "$WORKER_ENV" 2>/dev/null | head -1
}
@@ -890,7 +926,7 @@ image_tag() {
# The release channel: one flat JSON document served next to the installer. The
# UI's update check reads the same one (apps/controller/api/src/core/release-channel.ts) — one
# source of truth. Interim default: the public Gitea channel repo — flips to
# https://gpu.kitchen/latest.json once the hub exists (specs/developpement/ci-cd.md).
# https://gpu.kitchen/latest.json once the hub exists (specs/developpement/ci-cd/README.md).
CHANNEL_URL="${GPUK_CHANNEL_URL:-https://repo.byterain.io/gpukitchen/channel/raw/branch/main/latest.json}"
# The release public key pinned in THIS copy of gpuk (OPS-20). The channel copy
@@ -959,17 +995,18 @@ ensure_minisign() { # $1 = 1 when nothing may be installed (dry run)
# minisign CLI or no pinned key are all fatal — GPUK_CHANNEL_INSECURE=1 is the
# explicit, logged opt-out (a private mirror that does not sign).
CHANNEL_DOC=""
CHANNEL_MAX_TIME=20
channel_fetch() {
command -v curl >/dev/null 2>&1 || return 1
CHANNEL_DOC=$(mktemp) || return 1
curl -fsSL --max-time 20 "$CHANNEL_URL" -o "$CHANNEL_DOC" 2>/dev/null || return 1
curl -fsSL --max-time "$CHANNEL_MAX_TIME" "$CHANNEL_URL" -o "$CHANNEL_DOC" 2>/dev/null || return 1
if [ "${GPUK_CHANNEL_INSECURE:-}" = "1" ]; then
echo "WARNING: GPUK_CHANNEL_INSECURE=1 — release channel signature NOT verified" >&2
return 0
fi
require_release_key
_sig=$(mktemp)
if ! curl -fsSL --max-time 20 "${CHANNEL_URL}.minisig" -o "$_sig" 2>/dev/null; then
if ! curl -fsSL --max-time "$CHANNEL_MAX_TIME" "${CHANNEL_URL}.minisig" -o "$_sig" 2>/dev/null; then
rm -f "$_sig"
die "no signature at ${CHANNEL_URL}.minisig — refusing an unsigned channel document (OPS-20)"
fi
@@ -1003,7 +1040,7 @@ cmd_backup() {
_img=$(manifest_image)
[ -n "$_img" ] || die "this is a worker node — no controller data to back up here"
if grep -q '"DATABASE_URL"' "$MANIFEST" 2>/dev/null; then
die "this install uses an external DATABASE_URL — back THAT database up (pg_dump, or the compose procedures in specs/plateforme/operations.md); gpuk backup only snapshots the embedded pgdata"
die "this install uses an external DATABASE_URL — back THAT database up (pg_dump); gpuk backup only snapshots the embedded pgdata"
fi
_root=$(manifest_data_root)
[ -n "$_root" ] || die "no dataRoot in $MANIFEST"
@@ -1077,27 +1114,165 @@ cmd_channel() {
# ── status ─────────────────────────────────────────────────────────────────────
# No control socket any more. Status = the systemd unit state + the daemon's own
# /health endpoint + whether a worker has enrolled (identity present).
# [INS-74] Why the daemon is or is not serving, in plain sentences, and how far it is
# from the release channel. Never a "no" it could not read: without root the identity,
# the manifest and worker.env are unreadable (0600/0700), which once printed
# "enrolled: no" for an enrolled worker the controller had refused for its version.
STATUS_NEEDS_ROOT=0
readable_or_flag() { # $1 = path; 0 when it can be judged, 1 (and flags) when only root could
[ -e "$1" ] && [ ! -r "$1" ] && { STATUS_NEEDS_ROOT=1; return 1; }
[ -x "$(dirname "$1")" ] || { STATUS_NEEDS_ROOT=1; return 1; }
return 0
}
json_string_field() { # $1 = json text, $2 = key
printf '%s' "$1" | sed -n 's/.*"'"$2"'"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' | head -1
}
# [INS-74] The sentence for each `connection` code of the daemon's /health answer. The codes
# are the contract packages/contracts/data/worker-connection-states.json, which a gate holds
# this function to (every code mapped, no other one).
connection_sentence() { # $1 = connection code
case "$1" in
starting) echo "Starting: not connected to a controller yet." ;;
connected) echo "Connected to its controller." ;;
disconnected) echo "Not connected: the controller closed the connection. It reconnects by itself." ;;
unreachable) echo "Not connected: the controller cannot be reached. It tries again by itself." ;;
registration_rejected) echo "Not connected: the controller rejected this node. It tries again by itself." ;;
refused_identity) echo "Refused: the controller removed this node. Enroll it again with a new token." ;;
refused_trust_anchor) echo "Refused: the controller changed its identity. Enroll this node again with a new token." ;;
refused_version) echo "Refused by the controller: this node runs a different version. Update it: sudo gpuk update" ;;
self_updating) echo "Updating itself to the version of its controller." ;;
*) return 1 ;;
esac
}
# One sentence from the daemon's own state: systemd's active state, then its /health
# answer (mode, then connection code). An answer without a connection code is a daemon
# older than this gpuk; a code this gpuk does not know is a daemon NEWER than it — the
# daemon updates itself (self-heal, the UI's Update), while gpuk is replaced by
# `gpuk update` (update_cli).
daemon_state_sentence() { # $1 = active state, $2 = /health body
case "$1" in
active|reloading) ;;
failed) echo "The service stopped after an error. See why: sudo gpuk logs"; return ;;
activating) echo "The service is starting."; return ;;
*) echo "The service is not running. Start it: sudo systemctl start $SERVICE_NAME"; return ;;
esac
if [ -z "$2" ]; then echo "The service runs but does not answer yet."; return; fi
_mode=$(json_string_field "$2" mode)
_detail=$(json_string_field "$2" detail)
_connection=$(json_string_field "$2" connection)
if [ "$_mode" = awaiting_enrollment ]; then
case "$_detail" in
explicit_token_required)
echo "Not enrolled. It needs an enrollment token: on the controller, open Nodes & GPU, then Add nodes." ;;
ambiguous_controllers)
echo "Not enrolled. Several controllers answer on this network: enroll it with a token from the right one." ;;
*)
echo "Not enrolled yet. It waits for a controller on this network to admit it." ;;
esac
return
fi
connection_sentence "$_connection" && return
if [ "$_mode" = protocol_mismatch ]; then
connection_sentence refused_version
elif [ -n "$_connection" ]; then
echo "This daemon is newer than this gpuk, which cannot read its state. Get the current gpuk: sudo gpuk update"
else
echo "This daemon is older than this gpuk and does not say its state. Update it: sudo gpuk update"
fi
}
NVIDIA_SMI="${GPUK_NVIDIA_SMI:-nvidia-smi}"
gpu_sentence() {
if ! command -v "$NVIDIA_SMI" >/dev/null 2>&1; then
echo "none found (the NVIDIA driver tool nvidia-smi is not installed)"; return
fi
_n=$(timeout 10 "$NVIDIA_SMI" -L 2>/dev/null | grep -c '^GPU ' || true)
if [ "${_n:-0}" -eq 0 ]; then echo "none found (nvidia-smi lists no GPU: check the NVIDIA driver)"
else echo "$_n found"; fi
}
# "<version> <worker build for this arch>" from the verified channel, in a subshell with a
# short timeout: a mute or unverifiable channel must not stop the status (channel_fetch dies).
status_channel_offer() {
(
CHANNEL_MAX_TIME="${GPUK_STATUS_CHANNEL_TIMEOUT:-5}"
channel_fetch >/dev/null 2>&1 || exit 1
case "$(uname -m)" in
aarch64|arm64) _bkey=workerBuildIdAarch64 ;;
*) _bkey=workerBuildIdX86_64 ;;
esac
_v=$(channel_field "$CHANNEL_DOC" version)
_b=$(channel_field "$CHANNEL_DOC" "$_bkey")
rm -f "$CHANNEL_DOC"
[ -n "$_v" ] || exit 1
printf '%s %s\n' "$_v" "$_b"
) 2>/dev/null
}
cmd_status() {
_active=$(systemctl is-active "$SERVICE_NAME" 2>/dev/null || true)
echo "service : $_active"
echo "service : ${_active:-unknown}"
if [ -f "$IDENTITY_DIR/identity.json" ]; then
echo "enrolled : yes ($IDENTITY_DIR)"
echo "enrolled : yes"
elif { [ -d "$IDENTITY_DIR" ] && [ ! -x "$IDENTITY_DIR" ]; } || ! readable_or_flag "$IDENTITY_DIR"; then
STATUS_NEEDS_ROOT=1
echo "enrolled : unknown (run 'sudo gpuk status' to see it)"
else
echo "enrolled : no (daemon waits for LAN admission; token enrollment is also available)"
echo "enrolled : no"
fi
_hp=$(health_port); [ -n "$_hp" ] || _hp=8001
_hp=""
readable_or_flag "$WORKER_ENV" && _hp=$(health_port)
[ -n "$_hp" ] || _hp=8001
_h=""
if command -v curl >/dev/null 2>&1; then
_h=$(curl -fsS --max-time 3 "http://127.0.0.1:$_hp/health" 2>/dev/null || true)
[ -n "$_h" ] && echo "health : $_h" || echo "health : (no answer on :$_hp)"
fi
_img=$(manifest_image)
if [ -n "$_img" ]; then
echo "state : $(daemon_state_sentence "$_active" "$_h")"
echo "GPUs : $(gpu_sentence)"
_installed=$("$BIN_DEST" --version 2>/dev/null | sed -n 's/^gpu-kitchen-worker //p' | head -1)
echo "daemon : ${_installed:-unknown}"
_img=""; _role_known=1
if readable_or_flag "$MANIFEST"; then _img=$(manifest_image); else _role_known=0; fi
_offer=$(status_channel_offer || true)
_offer_version=${_offer%% *}
_offer_build=""; [ "$_offer" = "${_offer#* }" ] || _offer_build=${_offer#* }
if [ -z "$_offer" ]; then
echo "channel : unknown (the update channel cannot be read now)"
else
echo "channel : $_offer_version (daemon build ${_offer_build:-not listed})"
_behind=0
[ -z "$_offer_build" ] || [ "$_installed" = "$_offer_build" ] || _behind=1
if [ -n "$_img" ]; then
[ "$(image_tag "$_img")" = "$_offer_version" ] || _behind=1
fi
if [ "$_role_known" -eq 0 ]; then
echo "update : unknown (run 'sudo gpuk status' to see it)"
elif [ "$_behind" -eq 1 ]; then
echo "update : $_offer_version is available. Update: sudo gpuk update"
else
echo "update : up to date"
fi
fi
if [ "$_role_known" -eq 0 ]; then
echo "role : unknown (run 'sudo gpuk status' to see it)"
elif [ -n "$_img" ]; then
echo "app image : $_img"
echo "app cont. : $(docker inspect -f '{{.State.Status}}' "$(container_name)" 2>/dev/null || echo 'not running')"
echo "proxy : $(docker inspect -f '{{.State.Status}} {{.State.Health.Status}}' "$(proxy_container_name)" 2>/dev/null || echo 'not running')"
_setup=$(setup_url)
[ -z "$_setup" ] || echo "setup link: $_setup (works once; shown until the first account exists)"
else
echo "role : worker (no app container)"
fi
[ "$STATUS_NEEDS_ROOT" -eq 0 ] || echo "Some details need root. Run: sudo gpuk status"
}
# ── enroll ─────────────────────────────────────────────────────────────────────
@@ -1185,6 +1360,55 @@ update_daemon() {
DAEMON_UPDATED=1
}
# [INS-74] gpuk replaces itself with the gpuk the verified channel names, before anything
# else: a gpuk older than its daemon cannot read the daemon's state. Only an installed gpuk
# is replaced, and only by bytes whose sha256 the signed document gives AND which pin the
# same release key: a key change stays a reinstall, never something a channel can push. The
# new copy is written beside the old one, then renamed over it (a new inode: sh is still
# reading the old file), and an update run from the installed gpuk continues in the new one.
# $1 = the update's --version, or empty.
update_cli() {
[ "${GPUK_CLI_UPDATED:-}" != "1" ] || return 0
[ -f "$CLI_DEST" ] || return 0
if [ "${GPUK_CHANNEL_INSECURE:-}" = "1" ]; then
echo "WARNING: GPUK_CHANNEL_INSECURE=1 — gpuk itself is not updated" >&2
return 0
fi
_url=$(channel_field "$CHANNEL_DOC" gpukScript)
_sum=$(channel_field "$CHANNEL_DOC" gpukScriptSha256)
if [ -z "$_url" ] || [ -z "$_sum" ]; then
echo "==> the release channel names no gpuk; keeping this one"
return 0
fi
[ "$(sha256sum "$CLI_DEST" | cut -d' ' -f1)" != "$_sum" ] || return 0
curl -fsSL --max-time 60 "$_url" -o "$CLI_DEST.new" 2>/dev/null \
|| { rm -f "$CLI_DEST.new"; die "cannot download gpuk from $_url"; }
if [ "$(sha256sum "$CLI_DEST.new" | cut -d' ' -f1)" != "$_sum" ]; then
rm -f "$CLI_DEST.new"
die "the gpuk at $_url does not match the signed channel — refusing it (OPS-20)"
fi
# shellcheck disable=SC2016 # the literal ${GPUK_UPDATE_PUBKEY:-…} line of the new gpuk
_key=$(sed -n 's/^CHANNEL_PUBKEY="\${GPUK_UPDATE_PUBKEY:-\(.*\)}"$/\1/p' "$CLI_DEST.new" | head -1)
if [ "$_key" != "$CHANNEL_PUBKEY" ]; then
rm -f "$CLI_DEST.new"
echo "WARNING: the channel's gpuk pins another release key; keeping this one. A new key needs a reinstall." >&2
return 0
fi
sh -n "$CLI_DEST.new" 2>/dev/null \
|| { rm -f "$CLI_DEST.new"; die "the gpuk at $_url is not a valid script — refusing it"; }
_self=0
[ "$(readlink -f "$0" 2>/dev/null)" != "$(readlink -f "$CLI_DEST")" ] || _self=1
chmod 0755 "$CLI_DEST.new"
mv "$CLI_DEST.new" "$CLI_DEST"
echo "==> gpuk updated from the release channel"
[ "$_self" -eq 1 ] || return 0
rm -f "$CHANNEL_DOC"
if [ -n "$1" ]; then
GPUK_CLI_UPDATED=1 exec "$CLI_DEST" update --version "$1"
fi
GPUK_CLI_UPDATED=1 exec "$CLI_DEST" update
}
# The running daemon still executes the replaced binary until it restarts.
restart_updated_daemon() {
[ "$DAEMON_UPDATED" -eq 1 ] || return 0
@@ -1210,6 +1434,7 @@ cmd_update() {
# button drives the same swap, but only for a worker it still accepts.
[ "$_check" -eq 0 ] || { echo "This is a worker node: 'gpuk update' moves its daemon to the channel's build."; return 0; }
channel_fetch || die "cannot read the release channel at $CHANNEL_URL"
update_cli ""
update_daemon
restart_updated_daemon
return 0
@@ -1240,6 +1465,7 @@ cmd_update() {
_latest=""
if channel_fetch; then
_latest=$(channel_field "$CHANNEL_DOC" version)
[ -z "$_latest" ] || update_cli "$_want"
fi
if [ -z "$_latest" ]; then
[ -z "$_want" ] \
@@ -1345,7 +1571,7 @@ usage() {
cat <<EOF
gpuk — GPU Kitchen host daemon (gpu-kitchen-worker)
gpuk install --mode controller --image <ref> [--profile homelab|studio|enterprise|public]
gpuk install --mode controller --image <ref> [--profile homelab|small-team|managed-network|public]
[--domain D] [--cluster N] [--cache-dir P] [--data-root P]
[--http-port P] [--mtls-port P] [--inference-port P]
[--network bridge|host|<net>] [--binary <path>] [--reset-manifest]
@@ -1362,7 +1588,8 @@ gpuk — GPU Kitchen host daemon (gpu-kitchen-worker)
gpuk enroll --controller wss://<host>:<port> --token gk_enroll_...
gpuk apply (controller) Reconcile the app container, then the proxy container
by handover, from the manifest
gpuk update (controller) Move to the current release (pull + recreate, rollback)
gpuk update Move gpuk, the daemon and (controller) the app to the current release
(pull + recreate, rollback)
gpuk update --check (controller) Compare the installed version with the release
gpuk update --version <tag> (controller) Move to a specific release
gpuk channel Fetch + VERIFY the release channel and print what it offers
@@ -1374,8 +1601,8 @@ gpuk — GPU Kitchen host daemon (gpu-kitchen-worker)
gpuk uninstall --purge Also remove the app container, /etc/gpu-kitchen, the binary and gpuk
(never the data root: database, models, secrets)
Most people never run this directly: the channel's install.sh installs it
(https://repo.byterain.io/gpukitchen/channel/raw/branch/main/install.sh).
The GPU Kitchen installer installs this tool:
curl -fsSL https://gpu.kitchen/install.sh | sudo sh
EOF
}
+46 -40
View File
@@ -1,10 +1,10 @@
#!/bin/sh
# GPU Kitchen — one-command install (specs/plateforme/installation.md).
# GPU Kitchen — one-command install (specs/plateforme/installation/README.md).
#
# curl -fsSL https://repo.byterain.io/gpukitchen/channel/raw/branch/main/install.sh | sudo sh
# curl -fsSL https://gpu.kitchen/install.sh | sudo sh
#
# (Interim URL — becomes https://gpu.kitchen/install.sh once the hub exists; the
# channel repo is written by .gitea/workflows/release.yml, see specs/developpement/ci-cd.md.)
# The public entrypoint serves the release channel's installer; the channel repo is
# written by .gitea/workflows/release.yml, see specs/developpement/ci-cd/README.md.
#
# What it does, and nothing more:
# 0. existing detect an install already on this host (manifest, or the traces
@@ -33,7 +33,7 @@
#
# This installs a CONTROLLER node (the full app + UI). A headless compute node is
# `gpuk install --mode worker …` — see deployments/install/gpuk and
# specs/plateforme/installation.md.
# specs/plateforme/installation/README.md.
#
# Design note — this script starts nothing itself. workerd owns the container's
# lifecycle (create, health-gate, roll back, update); the UI's update button and
@@ -51,7 +51,7 @@ main() {
# it is served next to this script, and the backend's update check reads the SAME
# document (apps/controller/api/src/core/release-channel.ts). One file, one answer. Interim
# default: the public Gitea channel repo — flips to https://gpu.kitchen/latest.json
# once the hub exists (keep the three defaults in sync, see specs/developpement/ci-cd.md).
# once the hub exists (keep the three defaults in sync, see specs/developpement/ci-cd/README.md).
CHANNEL_URL="${GPUK_CHANNEL_URL:-https://repo.byterain.io/gpukitchen/channel/raw/branch/main/latest.json}"
EDITION="${GPUK_EDITION:-community}"
DATA_ROOT="${GPUK_DATA_ROOT:-/var/lib/gpu-kitchen}"
@@ -139,8 +139,8 @@ usage() {
cat <<EOF
GPU Kitchen installer
curl -fsSL https://repo.byterain.io/gpukitchen/channel/raw/branch/main/install.sh | sudo sh
curl -fsSL https://repo.byterain.io/gpukitchen/channel/raw/branch/main/install.sh | sudo sh -s -- [options]
curl -fsSL https://gpu.kitchen/install.sh | sudo sh
curl -fsSL https://gpu.kitchen/install.sh | sudo sh -s -- [options]
Options:
--version <tag> The release the channel names (another one: --image <ref>@sha256:…)
@@ -155,7 +155,7 @@ Options:
--network <mode> bridge (default) | host. Bridged, only the three ports above
touch the host; host makes every listener of the container a
host-wide claim. An existing install keeps its mode.
--profile <p> homelab | studio | enterprise | public (no flag + a terminal
--profile <p> homelab | small-team | managed-network | public (no flag + a terminal
= the script asks; no flag + no terminal = first-run asks)
--domain <d> Name the UI is reached by through a reverse proxy, any
profile: allowed as a host of the install, proxy trusted for
@@ -222,8 +222,8 @@ case "$EDITION" in
esac
case "$PROFILE" in
""|homelab|studio|enterprise|public) ;;
*) die "--profile must be homelab, studio, enterprise or public (got '$PROFILE')" ;;
""|homelab|small-team|managed-network|public) ;;
*) die "--profile must be homelab, small-team, managed-network or public (got '$PROFILE')" ;;
esac
case "$DOMAIN" in
@@ -363,7 +363,7 @@ case "$EXISTING" in
# read as the daemon reads it (host).
[ "$NETWORK_GIVEN" -eq 1 ] || NETWORK="${C_NETMODE:-host}"
case "$_profile" in
homelab|studio|enterprise|public) [ -n "$PROFILE" ] || PROFILE="$_profile" ;;
homelab|small-team|managed-network|public) [ -n "$PROFILE" ] || PROFILE="$_profile" ;;
esac
ok "data root $DATA_ROOT"
ok "ports UI $OURS_UI, worker channel $OURS_MTLS, inference $OURS_INF"
@@ -488,7 +488,7 @@ fi
if [ "$SKIP_GPU_CHECK" -eq 1 ]; then
warn "nvidia-container-toolkit check skipped (--skip-gpu-check)"
elif docker info 2>/dev/null | grep -qiE 'runtimes:.*nvidia'; then
elif docker info 2>/dev/null | grep -iE 'runtimes:.*nvidia' >/dev/null; then
# The runtime being REGISTERED is not the same as it working. With the toolkit
# installed, --gpus injects the driver and nvidia-smi into a plain image; that
# is the exact mechanism the controller container relies on, so test it rather
@@ -861,24 +861,24 @@ fi
# Only ever on a terminal, and only when --profile was not given. The answer is
# relayed verbatim as --profile: the backend stays the sole applier of profile
# defaults and floors. Without a terminal the historical path is untouched —
# profile unset, enterprise floors, the first-run wizard requires the choice
# profile unset, managed-network floors, the first-run wizard requires the choice
# (PRF-05).
if [ -z "$PROFILE" ] && can_prompt; then
step "Security profile — how will this kitchen be used?"
cat > /dev/tty <<'PROFILES'
1) Home lab a trusted home network
1) Home lab a trusted home network
No sign-in on your home network. Nearby workers are found and join
without waiting for approval.
2) Studio one control station, shared compute
2) Small team one control station, shared compute
Control stays on this machine. Colleagues use API keys, while nearby
workers wait for your approval.
3) Enterprise a managed company network
3) Managed network a managed company network
Sign-in is required. The controller stays quiet on the network; known
workers can request your approval.
4) Public server direct internet exposure
4) Public server direct internet exposure
Sign-in and hardened browser transport are required. Network discovery
is off and workers join only by token.
@@ -889,10 +889,10 @@ PROFILES
while :; do
ask " Choose a profile [1-4, Enter = 1 (Home lab)]: "
case "$REPLY" in
""|1|homelab) PROFILE="homelab" ;;
2|studio) PROFILE="studio" ;;
3|enterprise) PROFILE="enterprise" ;;
4|public) PROFILE="public" ;;
""|1|homelab) PROFILE="homelab" ;;
2|small-team) PROFILE="small-team" ;;
3|managed-network) PROFILE="managed-network" ;;
4|public) PROFILE="public" ;;
*) printf '%s\n' " pick 1, 2, 3 or 4" > /dev/tty; continue ;;
esac
break
@@ -1058,28 +1058,34 @@ LAN_IP=$(ip route get 1.1.1.1 2>/dev/null | sed -n 's/.* src \([0-9.]*\).*/\1/p'
echo
echo "${BOLD}${GREEN}GPU Kitchen is running.${RESET}"
echo
echo " ${BOLD}Open:${RESET} http://${HOSTNAME_FQDN}:${PORT}"
[ -n "$LAN_IP" ] && echo " http://${LAN_IP}:${PORT}"
echo
# [PRF-12] [SEC-53] homelab and studio open straight into the app: the controller
# closed their claim window at first boot, so there is no code to show. Every other
# profile — or none yet — starts with the claim code (SEC-52).
# [INS-06] [SEC-52] Where a claim window exists (managed-network, public, or no profile yet)
# the opening URL IS the claim URL: /start?key=<one-time key>, nothing to type. The key
# is the one secret allowed in an opening URL because it serves once and /start wipes it
# from the history (SEC-71). homelab and small-team open straight into the app (PRF-12).
CLAIM_KEY=""
CLAIM_SUFFIX=""
case "$PROFILE" in
homelab|studio)
homelab|small-team) ;;
*)
CLAIM_KEY_FILE="$DATA_ROOT/secrets/claim_key"
[ ! -s "$CLAIM_KEY_FILE" ] || CLAIM_KEY=$(cat "$CLAIM_KEY_FILE" 2>/dev/null || true)
[ -z "$CLAIM_KEY" ] || CLAIM_SUFFIX="/start?key=${CLAIM_KEY}"
;;
esac
echo " ${BOLD}Open:${RESET} http://${HOSTNAME_FQDN}:${PORT}${CLAIM_SUFFIX}"
[ -n "$LAN_IP" ] && echo " http://${LAN_IP}:${PORT}${CLAIM_SUFFIX}"
echo
case "$PROFILE" in
homelab|small-team)
echo " ${BOLD}Next:${RESET} open the URL above: GPU Kitchen opens straight away."
;;
*)
CLAIM_CODE_FILE="$DATA_ROOT/secrets/claim_code"
CLAIM_CODE=""
[ ! -s "$CLAIM_CODE_FILE" ] || CLAIM_CODE=$(cat "$CLAIM_CODE_FILE" 2>/dev/null || true)
if [ -n "$CLAIM_CODE" ]; then
echo " ${BOLD}Claim code:${RESET} $CLAIM_CODE"
echo " ${BOLD}Read again:${RESET} $CLAIM_CODE_FILE (mode 0600; removed after claim)"
if [ -n "$CLAIM_KEY" ]; then
echo " ${BOLD}Next:${RESET} open the URL above to set up this installation. It works once."
echo " ${BOLD}gpuk status${RESET} shows it again until it has been used."
else
echo " ${BOLD}Claim code:${RESET} consumed (the first account already exists)"
echo " ${BOLD}Next:${RESET} open the URL above (the setup link was already used: the first account exists)."
fi
echo
echo " ${BOLD}Next:${RESET} open the URL above and enter the claim code."
;;
esac
# [INS-50] Linking to a GPU Kitchen account is never a first-run step: a banner in
@@ -1109,11 +1115,11 @@ case "$PROFILE" in
fi
echo
;;
enterprise)
managed-network)
echo " ${BOLD}Then:${RESET} create the first administrator in the UI"
echo
;;
homelab|studio)
homelab|small-team)
echo
;;
"")
+72 -13
View File
@@ -1,10 +1,11 @@
{
"version": "v0.1.21",
"semver": "0.1.21",
"epoch": "0.1",
"contractRevision": "01bd9a2afdbe31317dc6457b2f14da65939719ce66b6909349d1920841da42f9",
"workerProtocolRevision": "82a46fb3cc34cb2c76939f29d5a81ba0964328e652181ef6594378ecdb1421ca",
"version": "v0.2.0",
"semver": "0.2.0",
"epoch": "0.2",
"contractRevision": "cb395ba6219a3a79d334d841a0dfe4c28beed1af6ba0e516858eb1719f57aec0",
"workerProtocolRevision": "7a521fef149213c8c51fb75e63440fc4b70bf2200a4514e8ef5f2217a700a593",
"security": false,
"evalCatalog": {"sourceCommit":"63630b3c571bb6337cde91eb497d21edc7529824","runnerImage":"repo.byterain.io/gpukitchen/gpukitchen-evals:v0.2.0@sha256:8ce991f89b6944e46e0bc36e05c9ea8775f2f21486fbac4ade27e2d4a0edc8c5","revision":"c8492bd80cfb81d572327bd0496dd4fa19f4059909a066d1003b20b6a3d0f53c","suites":[{"id":"fidelity","version":1,"status":"available","definitionSha256":"0c03a9eb87511f91220450fa92ea61b26c5d39a306c2a5005762392dc477a5e1"},{"id":"gsm8k","version":1,"status":"available","definitionSha256":"7bf9d6826ef5cd5f9ea075e81c7bd153dedb8a2fbff0c933f6e60b79d5d36cd4"},{"id":"ifeval","version":1,"status":"available","definitionSha256":"724aa0ae6e761c8612ace6bf2ad0291f931e6eb70bc2bfa67da8697e02464454"},{"id":"mmlu-pro-mini","version":1,"status":"available","definitionSha256":"e85bd8cd8773c8d7ee8324f0d24c89fd181ef25469bd5f41daee2344127f8473"},{"id":"humaneval-plus","version":1,"status":"planned","definitionSha256":"5366ceb25edd349d6086cf84670ef4eb04c598331632a5b00768e5b794f289d4"},{"id":"mbpp-plus","version":1,"status":"planned","definitionSha256":"900822542a2ae431dc3e94dc94488ac00b3670b5168a544be9c58802c6631496"},{"id":"bfcl-ast","version":1,"status":"planned","definitionSha256":"73380c76264b8ceb3317034c9a45421c682cdbde9fcc75e6c5105a1415d929dc"},{"id":"asr-diagnostic","version":1,"status":"available","definitionSha256":"33389f8305cbb0e68195a6cd9298b2d7b1dc04a94d5b35659b5f8cb63c443208"},{"id":"embedding-relevance","version":1,"status":"available","definitionSha256":"7d152cde2e7d49a1d80bf3c729c8d3dda2efac7c9f8d4c47a50ffad68e81995a"},{"id":"reranking-relevance","version":1,"status":"available","definitionSha256":"75363c5edd32d2bdf2be4cb2ba5d7244fd81888f77054dd5ccb17e7136394189"},{"id":"asr-fleurs-fr","version":1,"status":"available","definitionSha256":"f758fe0224a201f9e3227e7492be429f14bb7fb8eda8a3034307490925eadc19"},{"id":"asr-fleurs-de","version":1,"status":"available","definitionSha256":"09dcc0c9e801f3444ece34cc8cac148ebfdcb0949ae8674558f171a4b6978a5f"},{"id":"asr-fleurs-es","version":1,"status":"available","definitionSha256":"5c35e53980830eded46d29c995056f501e760029d5b6a4574a2cff8dbd2439e1"},{"id":"asr-edacc-en","version":1,"status":"available","definitionSha256":"ca7634580df6820f21cd6676dc6ebae3d10341e83936d2afaf7b2bdbe7b08a9f"}]},
"controllerMigrations": [
{ "tag": "0000_baseline", "hash": "fa8c006eee4721f4b8dafd56dfbac68ddff471feb9eef611b572010840645b74" },
{ "tag": "0001_schema_epoch", "hash": "ea428c2d25ce54c82ed358e7667ccb422cf23a3c09c4a4a55b41039e214adfc7" },
@@ -13,16 +14,74 @@
{ "tag": "0004_update_slot", "hash": "e252e03af080530b7b6000fd5c7f222224de5f7652dfead909ba89e897dc0598" },
{ "tag": "0005_feedback_lifecycle", "hash": "7a7c5f346d6ef2b470738ff669332bf05932c1a4ec7bde58ec0070e5d41818f6" },
{ "tag": "0006_stage_job_correlation_id", "hash": "e55eff9ba7cf8408f0c2ac79bc16f3b6716e5b2ce9141cfe83d57ab366f4b833" },
{ "tag": "0007_container_event_correlation_id", "hash": "c24ca9088a296dd8bef540c3a844582f523dfc6bf5e9bb3001ea4e50c552440b" }
{ "tag": "0007_container_event_correlation_id", "hash": "c24ca9088a296dd8bef540c3a844582f523dfc6bf5e9bb3001ea4e50c552440b" },
{ "tag": "0008_container_launch_correlation_id", "hash": "18ec8fa4fc9dcc947f1e473312716a07453fcf39bac5ae77c842fa2a252054f6" },
{ "tag": "0009_media_usage_counters", "hash": "38484e04e63c9f6e9752a23f6faecc06fb0961447639b925cf256c7a38592baf" },
{ "tag": "0010_key_gpu_time_limit", "hash": "449068bba41e091e4c90989129e1c1b74a7818ab9119f7629238550a65703a85" },
{ "tag": "0011_model_diffusers_variant", "hash": "f4265fcb5c6d332fc8ecbe65023799080410a9b6faa541dca9aca185daedf975" },
{ "tag": "0012_epoch_0_2_cleanup", "hash": "8f25634c1da8fd5d4338b0f14a750977f15b7d40e9b267c2d898b9c3eb4aeeb0" },
{ "tag": "0013_engine_tasks_and_speech_seconds", "hash": "c1bc2c0dc51671c1b8abc59dd41d4056aa4370842aa7bb75c182b999871ef9cc" },
{ "tag": "0014_app_public_url", "hash": "7598bf5802d2482ab934aa55702549df7b8f4c0697d5fdb39769920251462df1" },
{ "tag": "0015_home_text_versions", "hash": "919473455a30458b0b4db6c9192beee6c4f426ca6c74220c578259c58e2952b9" },
{ "tag": "0016_planning_v2", "hash": "857548b731eb5254d10f22166d641fc9e84ab2688573c986bd8225333796f89f" },
{ "tag": "0017_proxy_usage_cold_start_index", "hash": "24de43572b433d943b0af818638713dbb6a7ecf7768ec73ff5db575c50f62a3a" },
{ "tag": "0018_container_event_actor", "hash": "6646cd156c66e043658ac8eca4a59d15d3bf65a30e70dbfeb3106407184268f6" },
{ "tag": "0019_change_events", "hash": "933a9b996355930b705ada678d6736ff813241096d60ede84bcd0e555475b5cc" },
{ "tag": "0020_wall_links", "hash": "7e1b80a64227617521b82ccf2936f0aed307c10ace700b43f0049567b09bc781" },
{ "tag": "0021_quality_evals", "hash": "bc6ff5d628ab06f37508b0fca8dbf809ba5c4ee17a9f3e90e8b85aa29e38ff6b" },
{ "tag": "0022_baskets", "hash": "cc7d2479d6ed13cb9e92d4defaacbf726cfc40c3631bb0f774630db888dc8d06" },
{ "tag": "0023_basket_versions", "hash": "0c372ee34de3b26656c27211d4a04845d5e468883394d199cfd788ffbfdece8f" },
{ "tag": "0024_basket_benchmark_runs", "hash": "9da72ed8d2f8cc3f7ca08f3b6f96695ae80f634ded4a9cd6930740a980ed2913" },
{ "tag": "0025_eval_shared_instance", "hash": "fe2621497ed687d8d86b9977788f22a1b29dfae5442780910f6406721947ff5f" },
{ "tag": "0026_key_sources", "hash": "1b0796535c51367438f0a9617ac46f0933bf4dfbd9ef87359ae4777a861709f5" },
{ "tag": "0027_provider_member_limits", "hash": "0a72581e18deba057eae5f074f9ca91d609a5309fa2b81da46edeb0c1d029d77" },
{ "tag": "0028_basket_poster_drafts", "hash": "6b3bc0fbed24af35bb6325a1613745ae1c82228503508e770127170eb782444c" },
{ "tag": "0029_basket_community_series", "hash": "4bf42d18517aa8043015fab0b8e69c09ae87907bb57a955ca64a753819c106ad" },
{ "tag": "0030_usage_endpoint_index_central_recipe_id", "hash": "806cbe0b1de209ced0fa014afec99731ab614ec97fd5ff7e50d9241e5ccb5d63" },
{ "tag": "0031_drop_cache_dir_legacy_columns", "hash": "dc3f9c5ccf12fe7eb50984972985ab56def56fdf51115b70fc59a5a809b14849" },
{ "tag": "0032_usage_concurrency_required", "hash": "242481109fc71a3772c2520c9ff0af6e7e7ae93235c9dcc19b44a23fc732511d" },
{ "tag": "0033_rename_installation_profiles", "hash": "fd3f235bb7c05f87bda3430feec36444bd62cd1a661407b569ae6ee6dbbc99b6" },
{ "tag": "0034_eval_hub_sharing", "hash": "67f7dc864356a145eb6a0406e17dd0439e0b069dc6c151e7aef112dee11c9eec" },
{ "tag": "0035_saved_posters", "hash": "13a31e98a38b26b6d6d620fcac7c7bd6c75fcedac01f18b3819d2cf3e5d9e65a" },
{ "tag": "0036_app_install_earlier", "hash": "ba07c3e512cf0a37560fb1131fc429ac45d3da4ddf55162c70f8840eb0eb5259" },
{ "tag": "0037_auto_explore_refine_radius", "hash": "b30ab15432198178654820c50e76d3dc6d0f5eabd39c780918b67cdb9917c456" },
{ "tag": "0038_drop_auto_explore_refine_radius", "hash": "ad92fbe53611572ee7090a484942eb48f4f94a78e97cf84c68f8ead78b6572d5" },
{ "tag": "0039_who_uses_what", "hash": "7ed3ddae0cd2769bb0ac16f6b648f33a6c00ceb78e60d45cd2338fa7183c27ac" },
{ "tag": "0040_usage_by_consumer_year", "hash": "f5464c49cbd48c9b588b73d6caa96d619c3fd0aa7283e2ee9c35f25f79052207" },
{ "tag": "0041_test_kitchen_requests", "hash": "fba19529c0eaad751cda07182fc45595ce7dc4e2f64df7a92c5852fa4fe25b94" },
{ "tag": "0042_test_kitchen_benchmark_presets", "hash": "a29bf56be38f5e58c1902c35d8604e14a34b6df2a108394f9036226a517731a2" },
{ "tag": "0043_test_kitchen_creation_requests", "hash": "afd5039c6879c153ab3446114dd7d03d6653e1a3e9451502f7b2fe04e8d3c725" },
{ "tag": "0044_eval_recipe_request_snapshot", "hash": "809382af386dc13095559372493a2590b8c58af76aeb755645dcb6ffd223b008" },
{ "tag": "0045_bench_tested_vram", "hash": "f6912a8fd9a9c07597ee262a237a3b89a6a06673afba712d21ba147202704967" },
{ "tag": "0046_home_app_order", "hash": "683773a89a5b593c648f8ae74d06d2db22e39e90e886c366ec6be0640586e1a9" },
{ "tag": "0047_launch_redispatch", "hash": "2a6fd4259bd506a0534562feecea333c3421a3fe44fc6c634dd41f40c7fa3edd" },
{ "tag": "0048_gpu_share", "hash": "d88b7e600088b8187b209d36a23278d7d0b6f547bdb7aaa16ca3b84c66f6c8a6" },
{ "tag": "0049_api_idempotency_keys", "hash": "e1eac721c33b4fd57c3b9c9b116d08262d092ec40172ca1cdc9b697dabba27d6" },
{ "tag": "0050_gpuh_compute_ms", "hash": "a362a8e70aec39092e1b972c7165aaa979bd855a048b91e2bc5dfabf31d44acb" },
{ "tag": "0051_consumption_hourly", "hash": "ee620b63d19993b44602bd41dcb5ac4842e98af9c58f2851c83b7dbe124ceac9" },
{ "tag": "0052_container_event_snapshot", "hash": "3084c53d8a9b9bb534f7b914423539efae9dcc1338cc52e57a3fe83da9897ed3" },
{ "tag": "0053_model_task_type", "hash": "7771b4de799bb52cadaeed0b4346001dfd4a86d7d7ebc1c2e3341f70e167bf1c" },
{ "tag": "0054_model_capabilities", "hash": "7ffeab02c57e6b9232ae7920cefdbda89cdaa579d49ec91385406dee7e4da17b" },
{ "tag": "0055_engine_help_capture", "hash": "b78663ac43f72c39d2589efbc77dd2fc228402e4388b8be134c9d648f29fecda" },
{ "tag": "0056_planning_live_editing", "hash": "4ca6ff7e0131dd085972869d92e38f1b51ee8457d149c1614e5e5b9ef56e13bc" },
{ "tag": "0057_model_queue_wait_and_capacity_history", "hash": "509915147d34394793b623ab9090b4e4aa345e510615aa021f1a5c6d759c9a3c" },
{ "tag": "0058_proxy_resource_protection", "hash": "19613d8600bc470afb4f75f387d24cdd19255dab203b4b180cb7067b7f3a2ef9" },
{ "tag": "0059_model_measurements_and_eval_pins", "hash": "a934797e8efd117a203f418cbbb30e6b8e447c8b5a8572a169588e487f7ce2ee" },
{ "tag": "0060_asr_timing_and_calibration", "hash": "3ba0e7c4fd7bb722f356bb93efee0823a92402471f707449d82f4ef50567219e" },
{ "tag": "0061_workload_measurement_calibration", "hash": "a3eaadba339c1dd3ef65b9ff9e21e592567b65e4127293ed3c4bf2876c959c07" },
{ "tag": "0062_work_hours", "hash": "fa61a5adcf18538998a099a61c901c1318a23e07bfae4413b357fb0f9656f698" },
{ "tag": "0063_preemptive_start", "hash": "7d6a06f98d68468e81801063ab5d1399b5aac3ecb9eee0d23e9db2a9a182d977" },
{ "tag": "0064_attention_dismissals", "hash": "ff868a28591f0c6bc4cb7f955034cbb2dce467116bb3bf84f4f89b369e8debf4" },
{ "tag": "0065_basket_first_entry_at", "hash": "7807b514173660d9aeb7c5a30fcf55b8c66f31c35779507db2a26b2235d43072" }
],
"controllerImage": "repo.byterain.io/gpukitchen/gpukitchen-controller",
"controllerImageEnterprise": "repo.byterain.io/gpukitchen-private/gpukitchen-controller-ee",
"controllerImageDigest": "sha256:247c63f13294e36ed9abd6e8b205de13fda5d783243b73b2fd16320b95bdf4af",
"controllerImageDigestEnterprise": "sha256:fb6f58676ea857489d2dcac8fb5dd480bf34581efc46199dbc5faff6d838e81e",
"gpukScriptSha256": "3dd5bcbb64fb7ac2b9f96fcda1545c4e6f5bed522bc5b6fde6b210bfacc774dc",
"workerBuildIdX86_64": "20260929195129-9a2132983de2b61ba683d195f70d6f3bbf42f3bb",
"workerBuildIdAarch64": "20260929195129-9a2132983de2b61ba683d195f70d6f3bbf42f3bb",
"workerBase": "https://repo.byterain.io/api/packages/gpukitchen/generic/gpu-kitchen-worker/v0.1.21",
"gpukScript": "https://repo.byterain.io/api/packages/gpukitchen/generic/gpu-kitchen-channel/v0.1.21/gpuk",
"controllerImageDigest": "sha256:436fe0a694c5d561c0876cf7b6b105f82609ebfc22cb662184873ec238c04b50",
"controllerImageDigestEnterprise": "sha256:74884ad727f7a433ec647f9eb527a5b12409850dbcf137d796411f796a130319",
"gpukScriptSha256": "b84e6b87e3853dadbe7f59c87abbfba2a30b79191c835e11a51789cda6592395",
"workerBuildIdX86_64": "20261009223408-63630b3c571bb6337cde91eb497d21edc7529824",
"workerBuildIdAarch64": "20261009223408-63630b3c571bb6337cde91eb497d21edc7529824",
"workerBase": "https://repo.byterain.io/api/packages/gpukitchen/generic/gpu-kitchen-worker/v0.2.0",
"gpukScript": "https://repo.byterain.io/api/packages/gpukitchen/generic/gpu-kitchen-channel/v0.2.0/gpuk",
"releaseNotes": "https://repo.byterain.io/gpukitchen/channel"
}
+3 -3
View File
@@ -1,4 +1,4 @@
untrusted comment: signature from minisign secret key
RUQ7BKXJqGX2jSqZORY5/ZTX9cDVJ2+3jYtzYoa4mVm2AV7pZrhFXZBjsqJdtLYa/LH3IEXxdNBdhT0wNY3sYHH88U1ZIvJCUAQ=
trusted comment: gpu-kitchen channel v0.1.21
PyQSSnFFiRqhqlqXeH61mdeZ/W9yA3yEuF22iJ4JIXmzZAsK9YENdV954Gt2CPUjDXmZLRzCHoE6wdMovG6+CQ==
RUQ7BKXJqGX2jdpyEwKZwqDGtqsvqcgiZ06eDnO/WTcMqh1jJqCro9noV54SqlDIz0IV4mlw7nSLdC75KDRwEcmo6mImN4AKWgg=
trusted comment: gpu-kitchen channel v0.2.0
Gs2rNZ1uHXeNhNEuR/W02ZK/mHp3xMag+uyE0wChmPfl/W4s9UElQau9C8o4RG+tczLsdCh6aid5NUSqOg2vAQ==