Phase1 skeleton: replace demo main.py with src.server contract

- Overlay ModelHub XC Phase1 (health/status, STRATEGY_ID gate, dry-run)
- Dockerfile CMD -> python -m src.server; FROM stays platform TCR base
- Remove demo main.py and requirements.txt (stdlib only)
- Add tests/, scripts/, docs/, Makefile, config/examples (no secrets)
This commit is contained in:
VC_noSugar
2026-10-16 15:47:10 +08:00
parent 26351cefee
commit 0d0f3b611a
31 changed files with 1436 additions and 106 deletions

View File

@@ -0,0 +1,21 @@
{
"candidates": [
{
"model_id": "example-org/example-model",
"modelAddress": "example-org/example-model",
"taskType": "text-generation",
"targetGpu": "Iluvatar_bi-100",
"framework": "vllm",
"notes": "Phase1 example only — not a real submit payload"
},
{
"model_id": "example-org/another-model",
"taskType": "text-generation",
"notes": "Minimal fields: model_id required; others optional"
}
],
"_meta": {
"description": "Minimal dry-run input schema for Phase1",
"pending_align": "Future Phase2 may read /workspace/modelhub-adapt/pending-submit.md A→B order"
}
}