界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

cluster-pod-workflows

cluster-pod-workflows

【开发与工程】Operate AIMET cluster and Pod workflows for GPU development, source builds, GenAILab runs, sync, exec, and cleanup.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: cluster-pod-workflows description: "Operate AIMET cluster and Pod workflows for GPU development, source builds, GenAILab runs, sync, exec, and cleanup." metadata: disco-role: operating disable-model-invocation: true license: BSD 3-Clause

AIMET cluster and Pod workflows

Use this sub-skill when the user asks to launch or reuse AIMET GPU pods, sync an AIMET checkout to a cluster workspace, run GenAILab or source builds on a pod, pass resource requests, reconnect, list/stop workflows, or troubleshoot Argo/Kubernetes credentials.

Read/run first

Core workflow

  1. Preflight local tooling and auth. Check argo, kubectl, rsync or tar, jq, and kubectl auth whoami in the chosen namespace.
  2. Launch or reuse a pod. Choose CPU, GPU, memory, namespace, workflow template, and image before submitting a workflow.
  3. Sync the checkout. Copy the AIMET tree to /scratch/<repo-name> or a specified remote directory while excluding .git, build outputs, virtualenvs, and GenAILab artifacts.
  4. Prepare the pod environment. Inside the pod, run the GenAI setup or source-build wrapper appropriate to the task.
  5. Execute the bounded command. Prefer one explicit command at a time: smoke, build, GenAILab run, pytest target, or export inspection.
  6. Clean up. Stop workflows when the run is done, especially expensive GPU pods.

Safety and credential boundaries

Cluster operations can mutate remote state and consume GPU quota. Do not launch, terminate, or delete pods unless the user asked for that operation. Do not paste tokens into generated logs. If the task asks for a pod but credentials are missing, report the exact missing credential/tool and the command that failed.

Expected answer shape

For pod tasks, include namespace, template/image, resource request, local and remote directory, command to run, expected completion signal, how to reconnect, and cleanup command.

我的收藏