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

inference-serving

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.

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

원문원문 설명 보기

为单实例推理服务比较批处理、请求调度、KV 缓存、卸载和推测解码。用于容量、吞吐、延迟和每合格请求成本的取舍。

설치 방법 보기

이럴 때 유용합니다

  • Comparing batching and request scheduling options
  • Checking memory capacity for concurrent requests
  • Assessing cache reuse and offloading tradeoffs
  • Comparing response times and cost per qualifying result

포함된 파일(1)

  • SKILL.md1.3 KB

SKILL.md(원문)

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

单实例推理配置

适用:模型已选定,需调整一个推理实例内的调度与内存管理。依据 manuscripts/08-推理优化.md 第 8.1—8.6 节。

  1. 固定模型、精度、输入/输出分布、质量标准与硬件。测量 prefill、单步 decode、排队时间、KV 占用和每请求延迟分位数。
  2. 先检查权重、最大并发 KV、工作区能否同时放下。批处理摊薄共享权重读取,却不能消除每条请求自己的状态读取;同时检查排队与长 prefill 对短请求的干扰。
  3. 对分页、前缀共享或缓存,标出实际可共享的 token 范围、失效条件、分配与释放时机。上下文改写可能使后续前缀不能复用。
  4. 对压缩、卸载和推测解码,计入额外搬移、草稿计算与验证。计算每轮耗时及平均被接受的输出 token 数,而非只比较理论生成倍数。
  5. 在目标到达率下比较可容纳的并发、期限内完成率与每合格结果的 GPU 时间。

输出可行方案及其容量、TTFT、生成速率、尾延迟和成本。跨副本、prefill/decode 分离与共享状态问题转用 distributed-inference。

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

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.

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

  • Choosing hardware for a specific AI model
  • Checking whether a model fits in device memory
  • Explaining gaps between advertised and measured performance
bojieli/ai-infra-book6.7천2026년 10월 1일 업데이트

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.7천2026년 10월 1일 업데이트

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.7천2026년 10월 1일 업데이트

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.7천2026년 10월 1일 업데이트

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.7천2026년 10월 1일 업데이트

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.7천2026년 10월 1일 업데이트

bojieli의 스킬 모두 보기

이 스킬의 문제 신고