Skip to content
cccskills
FreePublished on GitHub

accelerator-selection

Compare computing devices for a defined AI model workload using memory capacity, computing speed, data transfer, energy use, and cost. Build a comparison that separates predicted performance from measurements and identifies the constraints that determine the choice.

OriginalShow the original description

为给定模型负载比较加速器的容量、有效计算、内存带宽、功耗与成本。用于硬件选型或解释标称峰值与实测差异。

See how to install

Good for

  • Choosing hardware for a specific AI model
  • Checking whether a model fits in device memory
  • Explaining gaps between advertised and measured performance
  • Comparing energy use and cost per completed task

Files included (1)

  • SKILL.md1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

加速器选型

适用:模型与负载已明确,需要判断哪类设备能在期限和预算内完成任务。依据 manuscripts/04-加速器架构.md 第 4.1—4.8 节。

  1. 用模型的权重、KV、激活及工作区过滤容量不可行的候选,并注明精度与显存保留量。
  2. 对每个候选分别计算计算下界、各级存储搬移下界、主机与加速器传输开销;结合矩阵形状与精度说明标称算力是否可达到。
  3. 记录可持续功率、能耗与设备价格。吞吐、单请求延迟、每合格任务成本是不同目标,不用单一 FLOPS/$ 排名替代。
  4. 用相同模型、输入、批量与测试边界测量 kernel 和完整任务;观察内存访问计数、实际带宽、利用率和降频。将预测和实测差距分配到可解释的阶段。

给出“可行性 → 性能下界 → 实测 → 能耗/成本”的比较表,并指出决定选择的约束。没有同口径的实测时,结论标为预测;单卡选型之外的通信代价转用 parallelism-planning。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan when an agent’s tool environments are created, kept available, released, and restored. Estimate peak concurrency, resource use during work and waiting, total task duration, and cost across model calls, tool execution, validation, and retries.

  • Estimating peak concurrent agent environments
  • Comparing environment retention and recreation
  • Assessing cold starts and shared environment pools
bojieli/ai-infra-book6.9KUpdated Oct 1, 2026

Estimate cross-server traffic, network bottlenecks, and synchronization waits for AI training or inference. Map communication onto physical network paths and assess how topology or communication changes affect the time needed to complete the job.

  • Find communication bottlenecks in distributed AI workloads
  • Compare network topologies and communication paths
  • Estimate synchronization waits under concurrent traffic
bojieli/ai-infra-book6.9KUpdated Oct 1, 2026

Compare ways to distribute AI inference across multiple instances, including replicas and separate input-processing and generation stages. Estimate capacity, throughput, delays, state-transfer costs, and recovery overhead to support routing and scaling decisions.

  • Compare replicas with separate inference stages
  • Plan routing around compute capacity and cached state
  • Evaluate expert placement and load imbalance
bojieli/ai-infra-book6.9KUpdated Oct 1, 2026

Compare running models or tasks on a device, nearby edge infrastructure, or in the cloud. Break down interaction delays, data transfers, energy use, costs, and failure recovery to assess deployment choices for multimodal and real-time agents.

  • Comparing device, edge, and cloud execution
  • Estimating interaction delays on unstable networks
  • Assessing battery use and sustainable processing speed
bojieli/ai-infra-book6.9KUpdated Oct 1, 2026

Compare batching, request scheduling, and memory management for a single model serving instance. Assess concurrent request capacity, response times, generation speed, and GPU time per result that meets the required quality and deadline.

  • Comparing batching and request scheduling options
  • Checking memory capacity for concurrent requests
  • Assessing cache reuse and offloading tradeoffs
bojieli/ai-infra-book6.9KUpdated Oct 1, 2026

Analyze GPU operation timings and execution traces to find costly data access, repeated computation, launch overhead, and synchronization waits. Check whether improving an individual operation actually reduces the time needed to complete a full request.

  • Investigating slow GPU operations
  • Assessing whether combining operations reduces data access
  • Checking pipeline dependencies and buffer reuse
bojieli/ai-infra-book6.9KUpdated Oct 1, 2026

See all skills by bojieli

Report a problem with this skill