feat: add deepspeed template#370
Merged
Marvin-Cypher merged 1 commit intoMay 27, 2026
Merged
Conversation
Contributor
Author
|
cc @Marvin-Cypher for review. Formal reviewer request failed in the scheduled template factory run; please review this template PR when available. |
373e724 to
ab75cd5
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.
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
deepspeedprebuilt template fordeepspeedai/DeepSpeed.8080with/healthz,/demo, and/v1/models.docs/assets/images/DeepSpeed_light.svg.Upstream
v0.19.1docs/assets/images/DeepSpeed_light.svgTemplate files
templates/prebuilt/deepspeed/docker-compose.ymltemplates/prebuilt/deepspeed/README.mdtemplates/icons/deepspeed.svgtemplates/config.jsonEnvironment variables
DEEPSPEED_SOURCE_REF(optional, defaultv0.19.1): public DeepSpeed Git tag, branch, or commit used for source verification.No credentials are required by the default template. It does not import DeepSpeed/Torch, download model weights, run training/inference, require CUDA/GPU, use host bind mounts, use
env_file, or use privileged/host networking features.Validation
python3 templates/validate.py✅git diff --check origin/main...HEAD✅docker compose -f templates/prebuilt/deepspeed/docker-compose.yml config >/dev/null✅deepspeedconfig id uniquereporoutes tohttps://github.com/Phala-Network/phala-cloud/tree/main/templates/prebuilt/deepspeedenv_file, external build context, real secrets, privileged mode, host networking, or Docker socketDeployment smoke
hermes-admin-cvm-check/h4x's projectsphala deploy --profile hermes-admin-cvm-check --name auto-template-test-deepspeed-0527-165859 --compose sdks/templates/prebuilt/deepspeed/docker-compose.yml --instance-type tdx.small --wait --no-public-logs --no-public-sysinfo --jsonde0aaa18-d5c3-4133-b9ef-f57e163c285da8ec91688bfde3532c5669e0a20cbc66106619f9phala ps: one expected container running and healthy (Up 30 seconds (healthy)) ✅https://a8ec91688bfde3532c5669e0a20cbc66106619f9-8080.dstack-pha-prod7.phala.network/healthz: HTTP 200,service=deepspeed-source-verifier,ok=true,status=ready✅/demo: HTTP 200, 7 files checked, 4 Python files compiled ✅/v1/models: HTTP 200, OpenAI-compatible list shape with emptydata✅Cleanup
phala cvms delete --force✅The requested CVM was not found, treated as cleanup verified ✅cc @Marvin-Cypher for review.