Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add CHENyiru3/AI-Skills-Collections --skill accelerategit clone --depth 1 https://github.com/CHENyiru3/AI-Skills-CollectionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/accelerate)<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/accelerate"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/accelerate/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/accelerate"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/accelerate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.02443 |
| Opus 5.5 | $0.00029 | $0.00977 |
| Sonnet 5.5 | $0.00015 | $0.00489 |
| Haiku 4.5 | $0.00007 | $0.00244 |
Grade A, and why
accelerate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 405 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Accelerate: Distributed Training Made Easy
Overview
Hugging Face Accelerate provides a simple API for scaling PyTorch training across multiple GPUs, TPUs, or CPUs with minimal code changes. Apply this skill for distributed training, mixed precision, gradient accumulation, and seamless hardware scaling.
When to Use This Skill
This skill should be used when:
- Training on multiple GPUs
- Using mixed precision (FP16/BF16) for faster training
- Running on TPUs
- Implementing gradient accumulation for large batches
- Scaling from laptop to cloud seamlessly
- Integrating with DeepSpeed
- Converting standard training loops to distributed
- Handling device placement automatically
Quick Start
Basic Setup
import torch
import torch.nn as nn
from torch.utils.data import DataLoader
from accelerate import Accelerator
# Initialize accelerator
accelerator = Accelerator()
# Auto-handles device placement, mixed precision, and distributed training
model = nn.Linear(10, 10)
optimizer = torch.optim.Adam(model.parameters(), lr=1e-3)
train_loader = DataLoader(...) # Your data
# Prepare everything for accelerator
model, optimizer, train_loader = accelerator.prepare(
model, optimizer, train_loader
)
# Training loop - just add accelerator.backward()
for batch in train_loader:
optimizer.zero_grad()
outputs = model(batch)
loss = outputs.sum()
accelerator.backward(loss)
optimizer.step()
Using from Scratch
# Convert existing training script with minimal changes
from accelerate import Accelerator
accelerator = Accelerator(
mixed_precision="fp16", # or "bf16"
gradient_accumulation_steps=2,
log_with="tensorboard",
project_dir="./logs"
)
# Wrap model, optimizer, dataloader
model, optimizer, dataloader = accelerator.prepare(
model, optimizer, dataloader
)
# Training loop
for batch in dataloader:
with accelerator.accumulate(model):
outputs = model(batch)
loss = loss_fct(outputs, targets)
accelerator.backward(loss)
optimizer.step()
optimizer.zero_grad()
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 405 lines · 73 tokens per session scan A 3d9342fe1422
accelerate is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (1 stars, last pushed 7d ago), licensed MIT. It adds 73 tokens to every session and 2,443 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
Other skills, from other repositories
tensorrt-llm
High-throughput LLM inference on NVIDIA GPUs.
agent-platform-tuning
Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).
google-cloud-solution-guided-gke-ai-migration
Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to…
gke-inference
Deploys and optimizes AI/ML inference workloads on GKE, using GPUs, TPUs, and model servers. Use when deploying GKE inference servers, configuring GKE GPU resources for inference, or deploying LLMs on GKE. Don't use for migrating existing AI workloads to GKE (use google-cloud-solution-guided-gke-ai-migration), GKE RAG…
agent-platform-endpoint-management
Manages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serving endpoints for model deployment on Agent Platform. Also use when troubleshooting endpoint permission, quota, or resource busy errors. Don't use for deploying models to endpoints or for running model…
modal
Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs. Use when deploying or serving AI/ML models, running GPU-accelerated workloads (training, fine-tuning, inference), serving web endpoints, scheduling batch jobs, or scaling Python code to cloud containers with the Modal SDK.