feat: add tabby template#359
Merged
Marvin-Cypher merged 1 commit intoMay 27, 2026
Merged
Conversation
Contributor
Author
|
cc @Marvin-Cypher for review. |
d7538ba to
d4ba2ee
Compare
Marvin-Cypher
approved these changes
May 27, 2026
Contributor
Marvin-Cypher
left a comment
There was a problem hiding this comment.
Reviewed template files, normalized tags, compose config, config validation, stale path cleanup, and compose safety scan. Checks are passing.
d7538ba to
d4ba2ee
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tabbyprebuilt template forTabbyML/tabby.python:3.11-slim-bookworminstead of starting full Tabby inference or downloading model weights.templates/icons/tabby.pngfrom upstreamee/tabby-ui/assets/tabby.pngatv0.32.0.Template files
templates/prebuilt/tabby/docker-compose.ymltemplates/prebuilt/tabby/README.mdtemplates/icons/tabby.pngtemplates/config.jsonRuntime design
8080with/healthz,/demo, and/v1/models.TABBY_REF(defaultv0.32.0).tabby serve, download models, load models, request GPU devices, use host bind mounts, or require provider credentials.Environment variables
TABBY_REF(optional, defaultv0.32.0): Tabby release tag, commit, or simple branch ref used for source checks.Validation
python3 sdks/templates/validate.py✅/usr/bin/python3but nopythonshim.git -C sdks diff --check origin/main...HEAD✅docker compose -f sdks/templates/prebuilt/tabby/docker-compose.yml config >/dev/null✅env_file, host bind mounts, external build context, privileged mode, host network, or Docker socket.Phala Cloud smoke test
hermes-admin-cvm-check/h4x's projectsphala deploy --profile hermes-admin-cvm-check --name auto-template-test-tabby-0527-052715 --compose sdks/templates/prebuilt/tabby/docker-compose.yml --instance-type tdx.small --wait --no-public-logs --no-public-sysinfo --json46f8d80d-49a0-4fed-b784-62a305074aa33471e754ddcbdb0b49a19941116df6e618393926phala ps:/dstack-app-1running and healthy ✅GET /healthz-> HTTP 200,ok=true,status=ready,errors=0✅GET /demo-> HTTP 200,ok=true,cpu_only=true,tabby_server_started=false✅GET /v1/models-> HTTP 200,object=list,data=[],source_ok=true✅Cleanup
phala cvms delete --force✅cc @Marvin-Cypher for review.