Skip to content

Add H200-first KServe deployment assets for CLEF-Flash #72

Open

Description

@geier

Context

Epic: #69
Depends on: #70

CLEF-Flash contains about 19 GB of BF16 weights and was tested upstream on one H200. The example needs repeatable model download, custom-runtime registration, GPU scheduling, health probes, and a smoke test without relying on the stock Hugging Face runtime.

Goal

Add KServe assets that download Cloudflare/clef-flash once to persistent storage and serve it with the custom SystemOne runtime from #70 on an H200-class GPU.

Files

Create under serving/clef-flash/:

  • model-pvc.yaml
  • download-model-job.yaml
  • cluster-serving-runtime.yaml
  • inference-service-h200.yaml
  • smoke-test.sh
  • deployment documentation

Requirements

  • Pin container images by immutable digest in deployment manifests.
  • Download the exact Hugging Face model revision documented by the example.
  • Reuse /mnt/models and a PVC so serving restarts do not redownload weights.
  • Start with one H200 profile and batch size one; document the tested GPU resource and node-label assumptions.
  • Configure startup, readiness, and liveness probes for slow model initialization.
  • Use non-root security contexts and explicit CPU, memory, shared-memory, and GPU resources.
  • Derive public smoke-test URLs from InferenceService status so configured prefixes are preserved.
  • Do not use kubectl apply or kubectl set image as platform deployment guidance.

Acceptance Criteria

  • The download job produces a reusable local model snapshot containing the joint head and custom Python module.
  • KServe selects the dedicated CLEF runtime rather than a generic Hugging Face runtime.
  • The InferenceService reaches Ready on the documented H200 configuration.
  • Health probes tolerate model startup and detect failed initialization.
  • The smoke test validates a choice, score, and noul answer through /v1/systemone.
  • YAML and shell linting pass.
  • Image revision, model revision, startup time, and observed GPU memory are documented.

UI Evidence

UI evidence: not required
Reason: Kubernetes deployment assets and command-line smoke test only.

Activity

  1. added
    enhancementNew feature or request
    readyAvailable for workers to claim
    priority:highImportant feature or significant bug
    taskIndividual task issue
    on Oct 1, 2026
  2. added
    in-progressCurrently being worked on
    and removed
    readyAvailable for workers to claim
    on Oct 1, 2026
  3. self-assigned this
    on Oct 1, 2026
  4. geier commented on Oct 1, 2026

    @geier
    ContributorAuthor

    Implementation is intentionally stacked on feature/issue-70 / PR #75 at the request of the project owner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestin-progressCurrently being worked onpriority:highImportant feature or significant bugtaskIndividual task issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions