मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट20k · #10479

ml-engineering

यह क्या करती है

यह स्किल बड़े AI मॉडल को प्रशिक्षित और सर्व करने के व्यावहारिक तरीके और नुस्खे देती है, हार्डवेयर चुनने से लेकर विफलताओं से उबरने तक। यह उन ML इंजीनियरों के लिए है जिन्हें बड़े प्रशिक्षण रन समय और बजट में पूरे करने हैं।

कब इस्तेमाल करें

  • ✓जब आपको बड़ा मॉडल प्रशिक्षित करने के लिए हार्डवेयर और स्टोरेज चुनना हो।
  • ✓जब कोई प्रशिक्षण रन धीमा हो, मेमोरी खत्म हो जाए, या NaN मान दे।
  • ✓जब आपको लंबे प्रशिक्षण कार्यों के लिए checkpointing और उबरने की योजना चाहिए।

Skill का लिंक

https://github.com/stas00/ml-engineering/blob/master/skills/ml-engineering/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/stas00/ml-engineering/blob/master/skills/ml-engineering/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हमारा बड़ा मॉडल प्रशिक्षण लगातार NaN loss दे रहा है। पता करने और उबरने में मेरी मदद कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल एक लंबी खुली संदर्भ पुस्तक से निकाली गई संक्षिप्त मार्गदर्शिका है, जो बेंचमार्किंग, job scheduling, मेमोरी और throughput ट्यूनिंग, और प्रशिक्षण स्थिरता को कवर करती है। हर समस्या के लिए वह संबंधित भाग की ओर इशारा करती है, जहाँ स्क्रिप्ट और बेंचमार्क हों वहाँ उनके साथ।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Machine Learning Engineering

Distilled from Machine Learning Engineering Open Book by Stas Bekman - source: https://github.com/stas00/ml-engineering (CC BY-SA 4.0). Know-how from training BLOOM-176B, IDEFICS-80B and production RAG and RL training and inference systems. This skill is a condensed index; each section links back to the full chapter for depth, scripts, and benchmarks.

A field-tested, end-to-end guide to training and serving large models (LLMs, VLMs, multi-modal, RAG) on real hardware at scale - distilled from actually training BLOOM-176B and IDEFICS-80B and building production inference/RAG systems. It is a practitioner's brain dump: opinionated guidance backed by copy-paste scripts, benchmark tools, and comparison tables, written for the engineers and operators who have to make expensive clusters actually deliver a finished model.

It spans the entire stack that decides whether a run succeeds and how much it costs: selecting and benchmarking accelerators, storage, and network so the fast compute is never starved; orchestrating jobs with SLURM/Kubernetes; maximizing throughput (MFU) and fitting models in memory via parallelism (DP/TP/PP/ZeRO), activation recomputation, and offload; keeping training numerically stable through loss spikes and NaN/Inf; and surviving the inevitable hardware and job failures with frequent checkpointing, spare capacity, and automatic restarts. On the serving side it covers inference latency/throughput/cost trade-offs, KV-cache and memory sizing, and framework selection - plus diagnosing multi-node/multi-GPU hangs and testing the whole thing.

Use it as an operator's runbook: figure out which resource is actually the bottleneck (compute? memory? network? storage? dataloader?), then jump to the targeted recipe. For pure debugging technique (gdb/strace/py-spy/CUDA), pair this with The Art of Debugging.

Core principles

  • Measure, don't assume. Vendor/theoretical TFLOPS are marketing; benchmark your hardware and software stack before optimizing or buying. Track MFU/throughput, not vibes.
  • Find the actual bottleneck. A training step is gated by the slowest of: accelerator compute, memory bandwidth/capacity, inter/intra-node network, storage IO, or CPU dataloading. Optimizing anything else is wasted effort.
  • At scale, failure is the steady state. With hundreds/thousands of accelerators, hardware will fail mid-run. Design for frequent checkpoints, automatic restarts, spare nodes, and kill/save switches from day one.
  • Reproduce small and fast. Debug on a tiny model / few layers / one node before burning cluster time - see The Art of Debugging.
  • Watch the logbooks. Others have already hit your instability; training chronicles document the loss spikes and the fixes. See LLM/VLM chronicles.

Compute / accelerators

Full chapter: Compute · Accelerators.

अक्सर पूछे जाने वाले सवाल

क्या यह पूरी प्रशिक्षण पुस्तिका है?

नहीं। यह एक संक्षिप्त सूची है, और हर भाग अधिक गहराई के लिए एक पूरे अध्याय से जुड़ता है।

क्या यह मॉडल सर्व करने को भी कवर करती है?

हाँ। यह बड़े मॉडल के प्रशिक्षण और सर्विंग दोनों को कवर करती है, जिसमें retrieval और inference सिस्टम शामिल हैं।

यह मार्गदर्शन कहाँ से आया?

Stas Bekman की एक खुली किताब से, जो बड़े मॉडल प्रशिक्षित करने के अनुभव पर आधारित है।

जानकारी

लेखक का मूल विवरण

Field-tested methodology and concrete recipes for training and operating large-scale LLM/VLM/multi-modal models end to end - choosing and benchmarking accelerators, storage and network; SLURM/Kubernetes orchestration; maximizing training throughput and fitting models in memory; diagnosing and surviving training instabilities, NaN/Inf, and hardware/job failures; checkpointing and fault tolerance; inference performance and memory; debugging multi-node/ multi-GPU hangs; and writing/running tests. Use when the user is training or fine-tuning large models, hits low TFLOPS/MFU, OOM, slow dataloading

repo: stas00/ml-engineering

लोकप्रियता

GitHub स्टार
20k
रैंकिंग में स्थान
#10479
लाइसेंस
CC-BY-SA-4.0
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills