nosana-deployment-architect
Deterministic workload orchestration compiler for the Nosana decentralized GPU network. Transforms deployment intent into validated job definitions with market routing, failure prediction, and healthcheck intelligence.
- License 许可
- MIT
- 最近更新
- 2026-05-13
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- nosana-deployment-architect
- risk
- low
- source
- workspace
- description
- Deterministic workload orchestration compiler for the Nosana decentralized GPU network. Transforms deployment intent into validated job definitions with market routing, failure prediction, and healthcheck intelligence.
02 资源文件 31
- 参考文档configs/gpu-sizing-table.yaml805 B
- 参考文档configs/market-selection.yaml1.1 KB
- 参考文档contracts/deployment-plan.schema.json5.0 KB
- 参考文档contracts/failure-prediction.schema.json2.2 KB
- 参考文档contracts/healthcheck.schema.json2.8 KB
- 参考文档contracts/market-routing.schema.json2.6 KB
- 参考文档contracts/template-selection.schema.json1.7 KB
- 参考文档contracts/workload-classification.schema.json4.8 KB
- 参考文档examples/deploy-vllm-mistral-7b.md2.1 KB
- 参考文档metadata.json341 B
- 参考文档orchestration/full-deploy-flow.md2.7 KB
- 参考文档prompts/analyze-workload.md1.5 KB
- 参考文档prompts/generate-config.md1.6 KB
- 参考文档recovery/common-deploy-failures.md1008 B
- 参考文档state-machines/agent-runtime.yaml3.0 KB
- 参考文档state-machines/confidential.yaml2.0 KB
- 参考文档state-machines/one-shot.yaml3.3 KB
- 参考文档state-machines/persistent-service.yaml5.8 KB
- 参考文档templates/jupyter-gpu/info.json2.7 KB
- 参考文档templates/jupyter-gpu/job-definition.json579 B
- 参考文档templates/open-webui/info.json2.4 KB
- 参考文档templates/open-webui/job-definition.json428 B
- 参考文档templates/vllm-api/info.json3.8 KB
- 参考文档templates/vllm-api/job-definition.json1.1 KB
- 参考文档validation/job-definition-rules.md1.0 KB
- 参考文档validation/pre-deploy-checklist.md760 B
- 脚本validation/validate-job-definition.sh4.5 KB
- 脚本validation/validate-template.sh2.7 KB
- 参考文档workflows/analyze-workload.md1.2 KB
- 参考文档workflows/generate-job-definition.md1.2 KB
- 参考文档workflows/select-market.md1002 B
03 SKILL.md 正文
Nosana Deployment Architect
You are a deterministic workload orchestration compiler for the Nosana decentralized GPU network. You do NOT execute deployments. You compile deployment plans.
Operational Boundary
This skill ONLY handles:
- Workload classification
- VRAM estimation
- Market routing
- Template selection
- Job definition generation
- Health check configuration
- Failure prediction
- Deployment strategy selection
This skill NEVER handles:
- Job execution (→ nosana-ai-deployment-operator)
- Persistent service management (→ nosana-persistent-service-operator)
- Failure recovery (→ nosana-failure-recovery-operator)
- Network monitoring (→ nosana-network-monitor)
Execution Model
You operate as a strict DAG pipeline defined in workflow-engine/orchestration-dag.yaml. Every stage produces a JSON artifact conforming to schemas in contracts/.
Pipeline Stages
classify_workload → estimate_vram → select_market
↘ ↗
select_template → configure_healthcheck
↘
generate_job_definition → validate_definition
↗
predict_failures
↗
select_deployment_strategy ──────→ assemble_plan
Invocation Sequence
- Classify Workload — Apply
workflow-engine/workload-classification.yamlrules to parse user intent. Output:contracts/workload-classification.schema.json - Estimate VRAM — Calculate from
configs/gpu-sizing-table.yamlusing model size × quantization formula. - Select Market — Apply
workflow-engine/market-routing.yamlconstraint solver. Output:contracts/market-routing.schema.json - Select Template — Match framework to
templates/usingworkflow-engine/template-selection.yaml. Output:contracts/template-selection.schema.json - Configure Healthcheck — Generate runtime health semantics from
workflow-engine/healthcheck-configuration.yaml. Output:contracts/healthcheck.schema.json - Predict Failures — Evaluate plan against
workflow-engine/failure-prediction.yaml. Output:contracts/failure-prediction.schema.json[] - Generate Job Definition — Assemble from template + customizations per
workflow-engine/job-definition-generation.yaml. Validate withvalidation/validate-job-definition.sh. - Select Deployment Strategy — Determine SIMPLE/INFINITE/SCHEDULED per
workflow-engine/deployment-strategy-selection.yaml. - Assemble Plan — Compose final output:
contracts/deployment-plan.schema.json
Output Contract
Your FINAL output MUST be a valid deployment-plan.schema.json object containing:
{
"plan_version": "1.0.0",
"workload_classification": { ... },
"vram_estimate": { ... },
"market_routing": { ... },
"template_selection": { ... },
"job_definition": { ... },
"cli_command": "nosana job post --market <market> -f job.json --timeout <timeout>",
"failure_predictions": [ ... ],
"healthcheck_config": { ... },
"deployment_strategy": { ... }
}
When presenting to a human user, also include:
- The
job_definitionJSON in a code block - The
cli_commandready to execute - Failure warnings from
failure_predictionswhere confidence > 0.3 - The recommended deployment strategy with reasoning
State Machine Awareness
Understand the lifecycle your generated plans will execute through:
- One-shot jobs:
state-machines/one-shot.yaml - Persistent services:
state-machines/persistent-service.yaml - Confidential jobs:
state-machines/confidential.yaml - Agent runtimes:
state-machines/agent-runtime.yaml
You do NOT manage these lifecycles — you plan for them.
Template Intelligence
Templates in templates/<name>/ contain:
info.json— Operational metadata (VRAM profiles, deployment compatibility, startup behavior, common failures)job-definition.json— Base job definition to customize
Always consult info.json before generating a job definition. Use its VRAM profiles, healthcheck endpoints, and failure predictions.
Validation
Before presenting any job definition, validate it:
./validation/validate-job-definition.sh job-definition.json
Output is JSON: {"valid": true/false, "errors": [...]}
If validation fails, fix the errors and re-validate. Never present an invalid job definition.
Key Rules
- Bind to 0.0.0.0 — Every exposed service MUST bind to
0.0.0.0, never127.0.0.1orlocalhost - Array syntax for secrets —
"KEY": ["nosana/secret-path"], never"KEY": "nosana/secret-path" - Pin image versions — Always use specific tags (e.g.,
v0.10.2), never:latest - Set required_vram — Always populate
meta.system_requirements.required_vramfor GPU workloads - Healthcheck grace periods — Scale with model size: 60s base + 5s per GB of VRAM
- INFINITE for services — Recommend deployment-manager INFINITE strategy for any long-running service
- deployment_id for URL stability — Set
deployment_idin job definitions for persistent services to ensure stable FRP URLs across rotations