본문으로 건너뛰기
cccskills
무료GitHub에 공개

implement-performance

Design and implement EmbodiChain computation when task analysis identifies algorithmic complexity, data layout, batching, memory use or synchronization costs as material. Use for new computational capabilities and performance-sensitive changes to existing code.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain스타 236(GitHub 236 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Implement performance-sensitive computation

Use a systems and HPC engineering perspective once task analysis identifies material computational costs. Scale the work to the affected execution path; ordinary configuration and documentation edits do not need performance analysis.

Establish the workload and cost model

Before choosing an implementation, briefly record the relevant workload, expected bottleneck and design tradeoff in the task update or PR:

  • Identify the caller, call frequency, typical and largest supported shapes, dtype/device, and target hardware. Distinguish latency, throughput and memory goals; account for single-item or small batches when callers use them.
  • For existing behavior, establish a baseline and use focused measurements or profiling to locate the dominant cost. For new behavior, estimate time/space complexity and intermediate storage first, then validate the estimate.
  • Trace the execution path from input preparation to result consumption. Consider compute, memory traffic, allocations, transfers, dispatch and waits. State assumptions when workload or hardware evidence is unavailable; keep performance conclusions limited to what was measured.

Choose the implementation

Prefer the simplest approach that meets the workload and correctness contracts. Consider algorithmic improvements before backend-specific tuning. Choose CPU, Torch, Warp or another existing backend from measured or estimated costs, including dispatch and transfers for the actual batch sizes.

  • Define batch axes, strides and ownership at boundaries. Evaluate contiguous access and broadcast views; account for copies introduced by indexing, reshaping or making inputs contiguous. Keep dtype/device conversion at owned boundaries and avoid repeated host/device round trips.
  • Bound intermediate storage as well as arithmetic. Vectorization can create quadratic pairwise or candidate tensors; use bounded chunks, reductions or direct selection when full materialization is unnecessary. Preserve ordering, masks and selection semantics across chunk boundaries.
  • Inspect loops for repeated allocation, conversion and invariant work. Reuse buffers or cache results when useful, with explicit capacity, invalidation and lifetime. Returned results must retain their documented ownership across later calls; protect reuse across callers, threads and streams.
  • Check device-to-host reads such as .item(), .cpu(), .numpy(), tensor truth tests and data-dependent indexing for transfers or synchronization. Keep device work on the intended stream; establish dependencies and storage lifetimes explicitly when interoperating with Warp or other backends.
  • Account for CPU thread pools and native library threads before adding parallel workers. Bound queues and in-flight work; avoid oversubscription. Introduce fusion, compilation, graph capture or custom kernels when expected gains justify startup cost, shape constraints and maintenance.

Shared numerical algorithms and private Warp kernels follow the ownership in AGENTS.md. Runtime adapters own simulation state, configuration and resource lifecycles. For solver buffer changes, read the IK overview and its linked buffer lifecycle before changing reuse or stream behavior.

Verify behavior and performance

Use add-test for focused production-contract tests. Choose relevant checks for numerical tolerance, failure masks, empty/singleton and partial batches, noncontiguous inputs, dtype/device, determinism and gradients where supported. Buffer or concurrency changes need checks that old results remain valid and intended stream/thread use is safe. Do not change precision, convergence, candidate ordering or success criteria merely to claim a speedup.

Use benchmark for measurement methodology. Compare the baseline and proposed implementation on equivalent inputs and quality settings; include typical sizes and memory stress cases within the supported budget. Separate device computation from transfers and end-to-end execution. Evaluate startup/steady-state or tail latency when the caller depends on them.

Report the chosen design, tested workload/hardware, correctness evidence, latency or throughput and memory tradeoffs, including regressions. Hardware that was unavailable remains unvalidated. Stop adding complexity when the workload's needs are met or measurements do not support further optimization.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add a new simulation atomic action or motion primitive to EmbodiChain's typed planning and execution framework. Use when implementing a new skill, goal contract, action planner, symbolic effect, registration entry, documentation, and tests for AtomicActionEngine.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Claude adapter for the canonical EmbodiChain add-atomic-action skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Claude adapter for the canonical EmbodiChain add-embodiment-component skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Add or update a reusable EmbodiChain embodiment YAML component that owns one simulation robot, its sensor suite, and an optional Task Program skill_profile. Use for configs/components/embodiments, new Task Program-compatible robots, or multi-embodiment task deployment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Claude adapter for the canonical EmbodiChain add-functor skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

Use when adding a new observation, event, reward, action, dataset, or randomization functor to an EmbodiChain environment

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DexForce/EmbodiChain2362026년 10월 26일 업데이트

DexForce의 스킬 모두 보기

이 스킬의 문제 신고