huggingface-accelerate

Configure distributed PyTorch training across GPUs and nodes.

Updated Jun 25, 2026
One-click install
npx skills add https://github.com/davpatel605-beep/hermusagent --skill huggingface-accelerate-davpatel605-beep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-accelerate
Source: https://github.com/davpatel605-beep/hermusagent/tree/main/backend/vendor/hermes/optional-skills/mlops/accelerate
Command: npx skills add https://github.com/davpatel605-beep/hermusagent --skill huggingface-accelerate-davpatel605-beep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complexity of distributed deep learning training by providing a unified way to scale PyTorch workloads across GPUs, nodes, and acceleration backends.

Core Features & Use Cases

  • Unified Distributed Training: Add distributed support to PyTorch scripts with minimal changes while supporting DDP, DeepSpeed, FSDP, and Megatron workflows.
  • Performance Optimization: Configure mixed precision, gradient accumulation, checkpointing, memory optimization, and hardware-aware training improvements.
  • Use Case: A machine learning engineer can use this Skill to convert a single-GPU transformer training script into a multi-GPU production training workflow with automatic device placement and optimized scaling.

Quick Start

Use the huggingface accelerate skill to configure and optimize my PyTorch training script for multi-GPU distributed training.

Frequently Asked Questions about huggingface-accelerate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scale a PyTorch transformer training script across multiple GPUs?

Scaling PyTorch transformer training across multiple GPUs requires adding distributed execution support with minimal script modifications. This approach manages automatic device placement and optimized scaling across DDP, DeepSpeed, and FSDP backends.

What is the best way to configure mixed precision and gradient accumulation for PyTorch?

Configuring mixed precision and gradient accumulation for PyTorch involves applying performance optimization settings to your training workflow. This manages memory optimization and hardware-aware training improvements efficiently across distributed nodes.

Can I use DeepSpeed and FSDP parallelism configurations in the same distributed training workflow?

Yes, you can use DeepSpeed and FSDP parallelism configurations within a unified distributed training workflow. This approach supports scalable execution across GPUs, nodes, and acceleration backends for large model optimization scenarios.

Does distributed PyTorch training require manual device placement for multi-node clusters?

Distributed PyTorch training does not require manual device placement for multi-node clusters. The execution support automatically manages device placement and parallelism configuration across compatible PyTorch ecosystems.

When do I need to configure checkpointing and memory optimization for transformer training?

You need to configure checkpointing and memory optimization for transformer training when scaling to large models. These performance optimizations enable hardware-aware training improvements and efficient execution across multiple GPUs and nodes.