docs(tutorials): add Lab 12 — Serve Models from a KitOps ModelKit on HAMi#655
docs(tutorials): add Lab 12 — Serve Models from a KitOps ModelKit on HAMi#655rudrakshkarpe wants to merge 4 commits into
Conversation
…HAMi Add a new intermediate lab that replaces the runtime Hugging Face model download with a KitOps ModelKit pulled from an OCI registry. A kitunpacker initContainer unpacks the ModelKit into a shared volume, and a custom SGLang image (with an optional co-resident vLLM example) serves the model from that local path — no Hugging Face download in the main container — while HAMi enforces nvidia.com/gpumem and nvidia.com/gpucores caps. This is the model-supply-chain counterpart to Lab 11 (SGLang) and Lab 6 (vLLM). All commands and outputs are captured from a verification run on a kind cluster backed by a single NVIDIA H100 80GB, using a public Jozu Hub ModelKit. Addresses Project-HAMi#561 Co-authored-by: Shivay Lamba <19529592+shivaylamba@users.noreply.github.com> Signed-off-by: rudrakshkarpe <rudraksh.karpe@gmail.com>
…idebar Add the labs/hami-kitops entry to sidebars-tutorials.js so the new lab appears in the Labs category navigation. Co-authored-by: Shivay Lamba <19529592+shivaylamba@users.noreply.github.com> Signed-off-by: rudrakshkarpe <rudraksh.karpe@gmail.com>
|
@rudrakshkarpe: The label(s) DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rudrakshkarpe The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for project-hami ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Warning Review limit reached
Next review available in: 42 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Three references to Lab 11 linked to ./hami-sglang, which does not exist on master yet, so `docusaurus build` failed its broken-link check. Make them plain-text references so this lab is self-contained and independently buildable; they can be upgraded to internal links once Lab 11 has merged. Co-authored-by: Shivay Lamba <19529592+shivaylamba@users.noreply.github.com> Signed-off-by: rudrakshkarpe <rudraksh.karpe@gmail.com>
Reword the lab so KitOps + Jozu Hub is presented as a first-class, registry-native way to package and deliver a model, rather than as a replacement for a Hugging Face download. Drops the "replace" / "instead of Hugging Face" / "no HF download" framing throughout (prose, script comments, log lines, and the verification table) in favour of describing how the model is packaged as a ModelKit, stored on Jozu Hub, pulled by the initContainer, and served from a local path. Neutralises incidental "HF-format" wording to "safetensors layout". Log strings and their shown output are kept in sync. Co-authored-by: Shivay Lamba <19529592+shivaylamba@users.noreply.github.com> Signed-off-by: rudrakshkarpe <rudraksh.karpe@gmail.com>
What type of PR is this?
/kind documentation
What this PR does / why we need it:
Adds Lab 12: Serve Models from a KitOps ModelKit on HAMi — a new intermediate tutorial that packages a model as a KitOps ModelKit (a versioned OCI artifact) and downloads it from an OCI registry (Jozu Hub) into the Pod, then serves it locally on HAMi GPU shares. It shows the enterprise, registry-native model supply chain requested in the issue: package the model once, version and store it on Jozu Hub, and pull it into the workload as an OCI artifact.
The lab walks through:
kit inspect --remote)kitunpackerinit image and a custom SGLang serve image (both scripts included)kitops-initinitContainer unpacks the ModelKit into a shared volume and the main container serves it from a local pathnvidia.com/gpumem/nvidia.com/gpucorescaps and verifying them in-PodKitfilefor packaging your own ModelKitIt builds on Lab 11 (SGLang) / Lab 6 (vLLM): the inference engines run on HAMi resources, and here the model supply chain is registry-native — packaged as a ModelKit, stored on Jozu Hub, pulled by the initContainer, and served from a local directory. Manifests are inline and self-contained; commands/outputs are captured from a verification run on a kind + NVIDIA H100 80GB cluster (
verified: 2026-07-23) using a public Jozu Hub ModelKit.Also adds the sidebar entry in
sidebars-tutorials.js; the overview card is generated automatically from frontmatter.Which issue(s) this PR fixes:
Addresses #561
Checklist:
npm run lintandnpm run format:checkpassnpm run buildsucceeds for bothenandzhgit commit -s)