Skip to content

chore(helm): drop the CPU demo model (demo.enabled) - #42

Merged
imneov merged 2 commits into
modelsphere:mainfrom
imneov:chore/drop-demo-model
Oct 7, 2026
Merged

imneov merged 2 commits into
modelsphere:mainfrom
imneov:chore/drop-demo-model

Conversation

@imneov

@imneov imneov commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • cleanup
  • documentation

What this PR does and why

demo.enabled installed a llama.cpp model (Qwen2.5-0.5B on CPU) beside console and pointed the llm backend straight at it. Since #39 the Playground lists the deployments in Model Serving, so a model the chart runs outside swiss never shows there; models come from swiss. The option goes:

  • Chart. templates/demo-model.yaml (Deployment, Service, PVC), the demo values, the llm backend's demo branch and its "demo and gateway, set one" refusal, the router's fallback to the demo model, the demo part of NOTES, and console.componentSelectorLabels, which only the demo used.
  • Tests. TestHelmDemoIsTheLLMBackend and TestHelmDemoWithAGatewayIsRefused go with it.
  • Docs. README, both chart READMEs (quick start, install modes, prerequisites, uninstall leftovers, common values), local development, NOTICE, the issue template, CHANGELOG. The design doc's "One-command install" still described the built-in gateway removed in one web src: two build variants #9; it now says what the chart installs.

Upgrade: an install that still sets demo.enabled renders without it (the value is ignored). The weights PVC had helm.sh/resource-policy: keep and stays until deleted by hand; CHANGELOG says so.

Which issue(s) this PR fixes

None (request from the maintainer). Reviewed in imneov#5.

How it was tested

  • go test ./... (chart tests render the chart with helm), gofmt -l . empty.

  • helm lint --strict helm/console; helm template with --set demo.enabled=true renders no demo object.

  • On the ModelSphere test cluster: helm upgrade with this chart (--reset-then-reuse-values) deployed revision 28; the release had demo off, and the PVC left by an earlier demo install was deleted by hand.

Checks

  • go test ./... and gofmt -l . is empty
  • npm run typecheck && npm test && npm run build in web/ (no web change)
  • helm lint --strict helm/console
  • Docs updated where behaviour, a config key or a chart value moved
  • No internal hostnames, IPs, registries or credentials

Release note

action required: the chart's CPU demo model (demo.enabled) is removed; models come from Swiss. Delete the kept weights PVC (<fullname>-demo) by hand.

🤖 Generated with Claude Code

imneov and others added 2 commits October 7, 2026 02:27
The Playground lists Model Serving's deployments since modelsphere#39, so a llama.cpp
model the chart runs beside console never shows there, and swiss is where
models come from. Remove demo-model.yaml, the demo values, its llm backend
and the router's fallback to it, its NOTES, the component selector only it
used, and its two chart tests. An install that still sets demo.enabled
renders without it; the weights PVC is kept (resource-policy: keep).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Quick starts install Console on its own and point at Swiss for models; the
install modes, prerequisites, uninstall leftovers and common values lose the
demo rows. The design doc's one-command install described a built-in gateway
removed in modelsphere#9 and the demo model; it now says what the chart installs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@imneov
imneov merged commit 3c29675 into modelsphere:main Oct 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant