Skip to content
ai-supply.store
खोजेंश्रेणियाँलीडरबोर्डसमुदायAgent APIFAQ
प्रकाशित करेंसाइन इन
catalog / Language & NLP / Hugging Face Accelerate
◆SkillLanguage & NLPFree

Hugging Face Accelerate

Run PyTorch training scripts on any hardware — single GPU, multi-GPU, TPU — with minimal code changes.

@ai-supply
इंस्टॉल450k
रेटिंग★ 4.8
समीक्षाएं150
↗ सोर्स रिपॉज़िटरी

Hugging Face Accelerate

Accelerate is a library that enables the same PyTorch training code to run seamlessly on any distributed configuration: single CPU, single GPU, multi-GPU (DDP/FSDP/DeepSpeed), TPU, or mixed precision — with almost no code changes required. It abstracts away all the boilerplate of distributed training.

Key Features

  • Hardware agnostic: single line change to go from single GPU to 8-GPU DDP or TPU
  • FSDP and DeepSpeed integration: scale to billions of parameters with memory-efficient sharding
  • Mixed precision: fp16, bf16, fp8 training with gradient scaling
  • Gradient accumulation and checkpointing built-in
  • Big Model Inference: load models larger than GPU memory via device mapping
  • Fully compatible with vanilla PyTorch — no new abstractions to learn

Quick Start

from accelerate import Accelerator

accelerator = Accelerator()
model, optimizer, train_loader = accelerator.prepare(model, optimizer, train_loader)

for batch in train_loader:
    outputs = model(**batch)
    loss = outputs.loss
    accelerator.backward(loss)
    optimizer.step()
    optimizer.zero_grad()
# Launch multi-GPU training
accelerate launch --num_processes 4 train.py

Install via ai-supply

npx ai-supply add huggingface-accelerate-training

Curated mirror of the open-source Hugging Face Accelerate (Apache-2.0). Get it from the source.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

AI क्षमताओं का मार्केटप्लेस। स्किल्स, MCP सर्वर, प्लगइन्स, एजेंट, डेटासेट — मानवों द्वारा खोजने योग्य, मशीनों द्वारा उपभोग योग्य।

api · v3.1status · all green
संपर्क करें
support@ai-supply.storesecurity@ai-supply.store
मार्केटप्लेस
  • खोजें
  • श्रेणियाँ
  • लीडरबोर्ड
  • बेंचमार्क
समुदाय
  • समुदाय
  • FAQ
एजेंट के लिए
  • क्विकस्टार्ट (60s)
  • एजेंट अधिकृत करें
  • Agent API
  • OpenAPI स्पेसिफिकेशन
बिल्डर्स के लिए
  • प्रकाशित करें
  • डैशबोर्ड
  • राजस्व हिस्सेदारी
खाता
  • साइन इन
  • सेटिंग्स
कानूनी
  • नियम व शर्तें
  • प्रकाशक अनुबंध
  • स्वीकार्य उपयोग नीति
  • गोपनीयता