Skip to main content

deploy-model

Use when sizing hardware or drafting manifests for a model that fits an existing runtime pattern (stock vLLM chat, or vLLM-Omni multimodal). For a model needing a runtime this platform hasn't run before, use new-model-runtime instead.

설치로 이동

소스 정보

저장소
redhat-et/physical-ai-skills
최근 소스 활동
2026년 8월 4일 22:21
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
deploy-model
description
Use when sizing hardware or drafting manifests for a model that fits an existing runtime pattern (stock vLLM chat, or vLLM-Omni multimodal). For a model needing a runtime this platform hasn't run before, use new-model-runtime instead.
DEPLOY MODEL — for hardware sizing or adding a new model to the catalog that fits an existing runtime pattern. ## Scripts Every capability below is a standalone script under `scripts/`, run via the shell tool as `python3 "$SKILLS_ROOT/deploy-model/scripts/<name>.py" <flags>`. | Script | Cluster access | Purpose | | --- | --- | --- | | `list_cluster_gpus.py` | Yes (read-only) | Real GPU capacity by product type | | `estimate_model_footprint.py` | No (HF Hub only) | VRAM sizing + tensor_parallel_size recommendation | | `generate_model_manifests.py` | No (pure text generation) | Draft the full Kustomize/KServe file set | In order: 1. Run `list_cluster_gpus.py` to see real GPU capacity — never guess it. 2. Run `estimate_model_footprint.py --hf-repo-id <id>` with the target Hugging Face repo id to get a real recommended tensor_parallel_size — never guess that either. 3. Only then run `generate_model_manifests.py` using the values from steps 1-2. It only knows two runtime templates: stock vLLM (`--output-kind chat`) and vLLM-Omni (`--output-kind image`/`video`). If the target model's real serving mechanism is neither of those — e.g. it needs its own native server/CLI — stop here and use the new-model-runtime skill instead; forcing an unfamiliar runtime through these templates produces a broken deployment. 4. `generate_model_manifests.py` always returns the full file set for the model directory in one call — pvc.yaml, model-download-job.yaml, servingruntime.yaml, inferenceservice.yaml, httpscaledobject.yaml, kustomization.yaml, AND the four MaaS catalog-registration files (external-model.yaml, model-ref.yaml, subscription.yaml, auth-policy.yaml) — there's no flag to get just the InferenceService half. Return all of it to the user verbatim in fenced code blocks, one per file — do not paraphrase, shorten, summarize, or drop the MaaS files as boilerplate. 5. Tell the user this is a draft only: this platform uses GitOps (ArgoCD self-heal + prune), so nothing is actually deployed until a human saves ALL of the generated files, wires them into an overlay, and merges a PR. Nothing in this skill can deploy a model itself — `generate_model_manifests.py` only prints text, it never touches the cluster or git.
GitHub에서 보기