pandasで扱う表データ処理をcuDFでGPUへ移す作業を支援します。結合・集計・CSVやParquet入出力から、結果の照合、メモリ対策、複数GPU利用まで扱います。
- 既存pandas処理を少ない変更で加速
- 結合や集計をGPUへ移したいとき
- 欠損値や並び順をpandasと照合
CDF Orchestrationの導入前に、LinuxやKubernetes、GPU、ストレージ、認証情報を点検し、導入可否と各ワークフローの実行準備を分けて確認するスキル。
Set up missing Linux prerequisites and audit whether a Cosmos Data Factory (CDF) Orchestration checkout and its Kubernetes or OSMO environment are ready to install the controller and run every packaged DAG. Use for prerequisite, pre-setup, Kubernetes, GPU, RWX/NFS, credential, controller-readiness, and quick-start checks. Not for deploying the controller (use cdf-orchestration-setup, which calls this audit first), authoring payloads, or running workflows.
CDF Orchestrationの導入前後に、環境の準備状況を点検します。Linuxのツール、Kubernetes、GPU、共有ストレージ、認証情報などを確認し、コントローラーを導入できる状態か、同梱の各ワークフローを実行できる状態かを分けて報告します。一部だけ実行可能な場合や、証拠が足りず未確認の場合も区別します。入力・出力先のストレージ設定の対応確認にも使えます。
新しいLinux環境で準備を始めるときや、GPU・共有ストレージの不足で作業が止まっているときに向いています。既存環境を生かしながら、不足する前提条件を整理したい場合にも役立ちます。
既存クラスターの確認には、指定したKUBECONFIGを使います。環境変更には承認が必要です。このスキルは前提条件の準備までを担当し、コントローラーの導入やワークフローの実行は行いません。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Determine what the current environment can install and which packaged DAGs it can run. Report partial readiness precisely; do not collapse a mixed environment into a single pass/fail result.
Start with a read-only audit. Never print kubeconfig content, API keys, tokens, AWS credentials,
Kubernetes Secret bodies, or raw command output that may contain them. Do not silently use
~/.kube/config: use the supplied KUBECONFIG path for an existing cluster. For a new cluster,
bootstrap creates the kubeconfig.
This skill may offer prerequisite remediation after the audit. Before changing a host, cluster, or
tracked configuration, show the exact target and commands and obtain approval. Stop after
prerequisites are ready: do not run make setup, build or push the Airflow image, install the
controller Helm release, or trigger a DAG. Those are deployment or workflow tasks.
For a fresh Linux environment, read bootstrap.md. It covers local tools, the Python environment, container runtime, Kubernetes, GPU/storage setup and secrets. Reuse working prerequisites and follow the user's execution preference. Installing the Helm client is prerequisite setup; deploying the controller belongs to the setup skill.
Run the bundled script from the repository root:
python3 skills/cdf-orchestration-preflight/scripts/preflight.py audit \
--repo-root "$PWD" \
--kubeconfig "$KUBECONFIG"
Use --format json when a machine-readable report will help. The script is read-only. If
KUBECONFIG is unset, ask for its path when a cluster exists; otherwise follow bootstrap.
Omit --kubeconfig to run local checks before a cluster exists. AIRFLOW_URL and
AIRFLOW_TOKEN may be exported for authenticated post-install checks; never put the token on the
command line.
When the user supplies an already-published controller image, pass its exact registry-qualified
reference with --prebuilt-controller-image REGISTRY/REPOSITORY:TAG. This switches installation
readiness from build/push prerequisites to a read-only docker manifest inspect check. For a
private registry, authenticate Docker before the audit without exposing credentials; the audit
does not log in, pull the image, or persist registry credentials. A missing or inaccessible
manifest leaves install_readiness UNVERIFIED.
For a local build, the image location comes from AIRFLOW_IMAGE_REPOSITORY and AIRFLOW_IMAGE_TAG
in make/common.mk. The checked-in repository is the placeholder
nvcr.io/<your-org>/<your-team>/sdg-workflow-airflow, which blocks the audit and
make build sdg-controller until it is replaced. Follow the
getting-started guide: ask for an
NGC org/team path that NGC_API_KEY can push and a unique tag, then, with approval, set both
?= values in make/common.mk. Tell the user not to commit that edit. Exported variables of the
same names override the file for one shell; prefer the file edit because it persists across shells
and agents. After the user confirms push permission with the build credentials, pass
--confirmed-push-repository with the configured repository. This records user confirmation for
that exact repository, not an audit-performed push test. Without confirmation, access remains
UNVERIFIED. The setup skill's build step reads the same values.
For a non-loopback kubeconfig API endpoint, the audit runs a bounded /busybox/nc TCP probe from
an existing ready NVIDIA GPU Operator toolkit pod. A successful connection is READY; a
conclusive connection failure is BLOCKED. A loopback endpoint is always BLOCKED. A missing
toolkit pod or probe tool, denied pods/exec, or an inconclusive execution remains UNVERIFIED.
The audit does not create a diagnostic pod.
With a host-installed toolkit, pass --probe-pod NAMESPACE/POD/CONTAINER for an existing Running,
ready, non-hostNetwork container with Python 3. The first selected container tests API TCP access;
selected containers requesting nvidia.com/gpu also test loading libnvcuvid.so.1 on their nodes.
Repeat the option to cover each GPU node without a toolkit Pod. Invalid selections, missing Python
or denied exec remain UNVERIFIED. Bootstrap includes a temporary probe Pod example.
For every node that advertises NVIDIA GPU capacity, the audit verifies libnvcuvid.so.1
through that node's running NVIDIA GPU Operator toolkit pod. This uses a constant, read-only
kubectl exec probe and does not create cluster resources. A missing library blocks workflow modes
whose readiness profile requires GPU video decode. A missing or non-running toolkit pod, a
non-Ready GPU node, or denied pods/exec access leaves those modes UNVERIFIED; do not report the
library as absent without a conclusive probe. Explicit GPU probe containers take precedence over
toolkit probes on their nodes; loading failures block decode-dependent modes.
Some modes also require operator-provisioned PVCs in sdg-workflow that the Helm chart does not
create. The Autonomous Vehicle Dataset Generation modes require shared-ffmpeg, the
read-only FFmpeg sidecar for Curator and its media probe pods. A missing or unbound claim blocks
those modes, and the report points to the
FFmpeg sidecar prerequisite.
Filling the claim is the operator's step: they choose the FFmpeg build and provision it
according to those requirements. Creating or filling the claim changes the cluster;
perform those actions only when the user requests setup. The workflow verifies the claim's contents when
its tasks start; never propose bundling FFmpeg or PyAV into the Airflow image as a substitute.
Interpret the report as two independent gates:
install_readiness covers the workstation, repository configuration, credentials, Kubernetes,
and storage needed to install the controller.run_readiness covers the live controller and every packaged DAG. PARTIAL means at least one
DAG is ready and at least one is blocked or unverified.Read readiness-model.md when explaining workflow or service-mode results, reconciling live Airflow state, or investigating an unprofiled DAG.
Workflow skills run this before every trigger. It finds every storage URL in a payload, whatever
the field name, and checks that the deployed multistorageclient-configuration-secret maps it,
using the same longest-prefix rule as DAG tasks. It is read-only and prints bucket prefixes only,
never credentials:
python3 skills/cdf-orchestration-preflight/scripts/storage_check.py --payload <payload.json>
Storage mapping: ready means every bucket resolves. Each UNMAPPED line names a field whose
bucket has no mapping; the run would fail at runtime. The generated configuration maps only
AWS_S3_BUCKET from secrets.env; to use another bucket, update it there, rerun make setup and
make install sdg-controller, then rerun the check. Use --namespace for a non-default
controller namespace.
Prefer an existing compatible ReadWriteMany StorageClass. Read nfs-remediation.md before recommending or running the repository's host-based NFS installer. That installer is not a general managed-Kubernetes solution.
Treat UNVERIFIED as missing evidence, not success. Common examples are external inference
endpoints, Hugging Face license acceptance, registry push access, an inconclusive pod-to-API
probe, and NFS mount behavior. Ask for the smallest missing fact or offer a scoped test; do not
invent readiness.
Do not install Kubernetes, a GPU operator, device plugins, Docker, or system packages without approval. For requested prerequisite setup, use bootstrap.md to select the procedure for the Linux distribution and existing infrastructure, then verify the result.
When install readiness is satisfied, return this sequence with the audit's concrete substitutions and unresolved warnings. Do not execute it as part of this skill:
Carry forward the exact image and probe arguments (CDF_IMAGE_ARGS/CDF_PROBE_ARGS when using
bootstrap), plus any exported image settings. Reapply them to setup's fresh preflight and the
post-install audit. Keep temporary probes until those checks finish; if a probe has expired,
recreate it and update its argument using bootstrap.md.
cp secrets.env.example secrets.env # only when secrets.env does not already exist
export KUBECONFIG=/path/the/user-supplied
# Build path: set AIRFLOW_IMAGE_REPOSITORY and AIRFLOW_IMAGE_TAG in make/common.mk to a
# writable registry path and unique tag (do not commit that edit).
make setup
make build sdg-controller
make install sdg-controller
make port-forward
For an image verified with --prebuilt-controller-image, omit make build sdg-controller. Create
a temporary copy of deploy/values.yaml, set its
airflow.defaultAirflowRepository/defaultAirflowTag to the verified reference, and pass that file
as VALUES_DEV to make install sdg-controller. Do not edit the generated secret-values file and
do not assume AIRFLOW_IMAGE_REPOSITORY/AIRFLOW_IMAGE_TAG affect the install target directly.
After installation, rerun this preflight with AIRFLOW_URL and AIRFLOW_TOKEN exported. Only
report all workflows ready when every packaged DAG has at least one verified runnable mode. Always
list unavailable alternative modes and unprofiled live DAGs.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
pandasで扱う表データ処理をcuDFでGPUへ移す作業を支援します。結合・集計・CSVやParquet入出力から、結果の照合、メモリ対策、複数GPU利用まで扱います。
NVIDIA Nemotron Voice Agentのサンプルを変更し、別のバックエンドを設けずに予約受付や患者情報の聞き取りを行う音声エージェントを作るスキル。
ライブカメラのRTSP映像をVIOSで録画し、AutoMagicCalibでカメラ校正を進めます。設定や位置合わせ資料の取り込み、進捗確認、結果取得まで扱います。
同梱の倉庫カメラ映像でAMCのカメラ校正を一通り実行し、正解データとの誤差を確認します。導入後の動作検証や、実データ投入前の確認に使えます。
録画済みの複数カメラ映像をAutoMagicCalibに送り、カメラの位置や向きを調整する処理を、プロジェクト作成から進捗確認・結果評価まで進めます。
AutoMagicCalibの自動キャリブレーション環境をDocker Composeで構築し、NGC認証からポート設定、サービスとWeb UIの起動確認まで進めます。