Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ovachiever-huggingface-accelerate
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
huggingface-accelerate- Description
- Simplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device placement, mixed precision (FP16/BF16/FP8). Interactive config, single launch command. HuggingFace ecosystem standard.
- License
- MIT
- Instructions
- 324 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "huggingface-accelerate" does not match folder "accelerate"
Files (4)
- SKILL.md
- custom-plugins.md · references/
- megatron-integration.md · references/
- performance.md · references/
SKILL.md (first lines)
# HuggingFace Accelerate - Unified Distributed Training
## Quick start
Accelerate simplifies distributed training to 4 lines of code.
**Installation**:
```bash
pip install accelerate
```
**Convert PyTorch script** (4 lines):
```python
import torch
+ from accelerate import Accelerator
+ accelerator = Accelerator()
model = torch.nn.Transformer()
optimizer = torch.optim.Adam(model.parameters())
dataloader = torch.utils.data.DataLoader(dataset)
+ model, optimizer, dataloader = accelerator.prepare(model, optimizer, dataloader)
for batch in dataloader:
optimizer.zero_grad()
loss = model(batch)
- loss.backward()
+ accelerator.backward(loss)
optimizer.step()
```
**Run** (single command):
```bash
accelerate launch train.py
```
## Common workflows
### Workflow 1: From single GPU to multi-GPU
**Original script**:
```python
# train.py
import torch
model = torch.nn.Linear(10, 2).to('cuda')
optimizer = torch.optim.Adam(model.parameters())
dataloader = torch.utils.data.DataLoader(dataset, batch_size=32)
for epoch in range(10):
for batch in dataloader:
batch = batch.to('cuda')
optimizer.zero_grad()
loss = model(batch).mean()
loss.backward()
optimizer.step()
```
**With Accelerate** (4 lines added):
```python
# train.py
import torch
from accelerate import Accelerator # +1
accelerator = Accelerator() # +2
model = torch.nn.Linear(10, 2)
optimizer = torch.optim.Adam(model.parameters())
dataloader = torch.utils.data.DataLoader(dataset, batch_size=32)
model, optimizer, dataloader = accelerator.prepare(model, optimizer, dataloader) # +3
for epoch in range(10):
for batch in dataloader:
# No .to('cuda') needed - automatic!
optimizer.zero_grad()
loss = model(batch).mean()
accelerator.backward(loss) # +4
optimizer.step()
```
**Configure** (interactive):
```bash
accelerate config
```
**Questions**:
- Which machine? (single/multi GPU/TPU/CPU)
- How many machines? (1)
- Mixed precision? (no/fp16/bf16/fp8)
- DeepSpeed? (no/yes)
**Launch** (works on any setup):
```bash
# Single GPU
accelerate launch train.py
# Multi-GPU (8 GPUs)
accelerate launch --multi_gpu --num_processes 8 train.py
# Multi-node
accelerate launch --multi_gpu --num_processes 16 \
--num_machines 2 --machine_rank 0 \
--main_process_ip $MASTER_ADDR \
train.py
```
### Workflow 2: Mixed precision training
**Enable FP16/BF16**:
```python
from accelerate import Accelerator
# FP16 (with gradient scaling)
accelerator = Accelerator(mixed_precision='fp16')
# BF16 (no scaling, more stable)
accelerator = Accelerator(mixed_precision='bf16')From ovachiever/droid-tings, MIT.
More from ovachiever/droid-tings
- 0.514score
auto-animate
ovachiever
Zero-config animations for React, Vue, Solid, Svelte, Preact with @formkit/auto-animate (3.28kb).
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
clerk-auth
ovachiever
Clerk auth with API version 2025-11-10 breaking changes (billing endpoints, payment_source→payment_method), Next.js v6 async auth(), PKCE for custom OAuth…
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
ai-sdk-ui
ovachiever
Build React chat interfaces with Vercel AI SDK v5/v6.
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
claude-api
ovachiever
Build with Claude Messages API using structured outputs (v0.69.0+, Nov 2025) for guaranteed JSON schema validation.
SkillDFreshness: D★ 55Claude Code +9 - 0.509score
capa-officer
ovachiever
Senior CAPA Officer specialist for managing Corrective and Preventive Actions within Quality Management Systems.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
bioservices
ovachiever
Primary Python tool for 40+ bioinformatics services.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
agile-product-owner
ovachiever
Agile product ownership toolkit for Senior Product Owner including INVEST-compliant user story generation, sprint planning, backlog management, and velocity…
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
biopython
ovachiever
Primary Python toolkit for molecular biology.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
chembl-database
ovachiever
Query ChEMBL's bioactive molecules and drug discovery data.
SkillDFreshness: D★ 55Claude Code +9 - 0.505score
ai-sdk-core
ovachiever
Build backend AI with Vercel AI SDK v5/v6.
SkillDFreshness: D★ 55Claude Code +9 - 0.504score
api-documenter
ovachiever
Auto-generate API documentation from code and comments.
SkillDFreshness: D★ 55Claude Code +9 - 0.501score
better-auth
ovachiever
Build authentication systems for TypeScript/Cloudflare Workers with social auth, 2FA, passkeys, organizations, and RBAC.
SkillDFreshness: D★ 55Claude Code +9
Signals
- Stars
- 55
- Forks
- 5
- Open issues
- 1
- Last commit (this folder)
- Nov 24, 2025 (11 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ovachiever/droid-tings
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.678score
huggingface-accelerate
Orchestra-Research
Simplest distributed training API.
SkillCFreshness: C★ 13.9KClaude Code +9 - 0.336score
huggingface-accelerate
OpenRaiser
Simplest distributed training API.
SkillDFreshness: D★ 1.3KClaude Code +9 - 0.327score
huggingface-accelerate
Colin4k1024
Simplest distributed training API.
SkillCFreshness: C★ 14Claude Code +9 - 0.319score
huggingface-accelerate
Deepleaper
Simplest distributed training API.
SkillCFreshness: C★ 7Claude Code +9 - 0.314score
huggingface-accelerate
Tommy-yw
Simplest distributed training API.
SkillCFreshness: C★ 510Claude Code +9 - 0.283score
huggingface-accelerate
aayushsoam
Simplest distributed training API.
SkillCFreshness: CClaude Code +9 - 0.258score
huggingface-accelerate
zhuangbiaowei
Simplest distributed training API.
SkillDFreshness: D★ 1Claude Code +9 - 0.258score
huggingface-accelerate
projectedanx
Simplest distributed training API.
SkillDFreshness: D★ 1Claude Code +9 - 0.244score
huggingface-accelerate
Yangel-hide
Simplest distributed training API.
SkillDFreshness: DClaude Code +9 - 0.244score
huggingface-accelerate
future1314
Simplest distributed training API.
SkillDFreshness: DClaude Code +9
More from ovachiever
- 0.514score
claude-api
ovachiever
Build with Claude Messages API using structured outputs (v0.69.0+, Nov 2025) for guaranteed JSON schema validation.
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
clerk-auth
ovachiever
Clerk auth with API version 2025-11-10 breaking changes (billing endpoints, payment_source→payment_method), Next.js v6 async auth(), PKCE for custom OAuth…
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
ai-sdk-ui
ovachiever
Build React chat interfaces with Vercel AI SDK v5/v6.
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
auto-animate
ovachiever
Zero-config animations for React, Vue, Solid, Svelte, Preact with @formkit/auto-animate (3.28kb).
SkillDFreshness: D★ 55Claude Code +9 - 0.509score
capa-officer
ovachiever
Senior CAPA Officer specialist for managing Corrective and Preventive Actions within Quality Management Systems.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
biopython
ovachiever
Primary Python toolkit for molecular biology.
SkillDFreshness: D★ 55Claude Code +9
Cite this page
huggingface-accelerate skill. Agent Mart. https://agentmart.dev/skills/ovachiever-huggingface-accelerate (last updated 2026-10-24)