协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
coreweave-common-errors【开发与工程】Diagnose and fix CoreWeave GPU scheduling, pod, and networking errors. Use when pods are stuck Pending, GPUs are not allocated, or experiencing CUDA and NCCL errors. Trigger with phrases like "coreweave error", "coreweave pod pending", "coreweave gpu not found", "coreweave debug", "fix coreweave".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: coreweave-common-errors description: 'Diagnose and fix CoreWeave GPU scheduling, pod, and networking errors.
Use when pods are stuck Pending, GPUs are not allocated,
or experiencing CUDA and NCCL errors.
Trigger with phrases like "coreweave error", "coreweave pod pending",
"coreweave gpu not found", "coreweave debug", "fix coreweave".
' allowed-tools: Read, Bash(kubectl:*), Grep version: 1.11.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:
Use this triage guide to classify common GPU, Kubernetes, storage, and connectivity failures before changing capacity or credentials. Capture the smallest redacted evidence set and use a reversible fix in the affected namespace.
Community-contributed. Not affiliated with, endorsed by, or sponsored by CoreWeave, Inc. CoreWeave is a registered trademark of CoreWeave, Inc.
kubectl describe pod <pod-name> | grep -A5 Events
# "0/N nodes are available: insufficient nvidia.com/gpu"
Fix: Check GPU availability: kubectl get nodes -l gpu.nvidia.com/class=A100_PCIE_80GB. Try a different GPU type or region.
torch.cuda.OutOfMemoryError: CUDA out of memory
Fix: Reduce batch size, enable gradient checkpointing, or use a larger GPU (A100-80GB instead of 40GB).
Fix: Create an imagePullSecret:
kubectl create secret docker-registry regcred \
--docker-server=ghcr.io \
--docker-username=$GH_USER \
--docker-password=$GH_TOKEN
NCCL error: unhandled system error
Fix: Ensure all GPUs are on the same node (NVLink). For multi-node, use InfiniBand-connected nodes.
Fix: Check storage class availability: kubectl get sc. Use CoreWeave storage classes like shared-hdd-ord1 or shared-ssd-ord1.
Fix: List valid GPU class labels:
kubectl get nodes -o json | jq -r '.items[].metadata.labels["gpu.nvidia.com/class"]' | sort -u
Fix: Check Service and Endpoints:
kubectl get svc,endpoints <service-name>
| Triage failure | Safe response |
|---|---|
| Root cause remains unclear | Stop speculative changes and collect a redacted debug bundle. |
| Quota or capacity change is required | Obtain the namespace owner approval; do not alter cluster-wide quotas. |
| Credential failure is suspected | Rotate/revoke through the approved secret manager; never print or paste the credential. |
| Data or model artifact may be corrupt | Quarantine it and verify checksum before retrying. |
For a Pending GPU pod, collect events and quota before selecting another GPU class:
kubectl -n research describe pod trainer-0
kubectl -n research describe resourcequota
kubectl get nodes -l gpu.nvidia.com/class=A100_PCIE_80GB
If capacity is unavailable, leave the Job unchanged and escalate with the redacted events. Do not remove affinity or quota controls merely to force scheduling.
For diagnostics, see coreweave-debug-bundle.