SKILL

pytorch-lightning

Deep learning framework (PyTorch Lightning). Organize PyTorch code into LightningModules, configure Trainers for multi-GPU/TPU, implement data pipelines, callbacks, logging (W&B, TensorBoard), distributed training (DDP, FSDP, DeepSpeed), for scalable neural network training.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • PyTorch Lightning
  • Overview
  • When to Use This Skill
  • Core Capabilities
  • 1. LightningModule - Model Definition
  • 2. Trainer - Training Automation
  • 3. LightningDataModule - Data Pipeline Organization
  • 4. Callbacks - Extensible Training Logic

PyTorch Lightning is a deep learning framework that organizes PyTorch code to eliminate boilerplate while maintaining full flexibility. Automate training workflows, multi-device orchestration, and implement best practices for neural network training and scaling across multiple GPUs/TPUs. This skill should be used when: Building, training, or deploying neural networks using PyTorch Lightning Organizing PyTorch code into LightningModules Configuring Trainers for multi-GPU/TPU training Implementing data pipelines with LightningDataModules Working with callbacks, logging, and distributed training strategies (DDP, FSDP, DeepSpeed) Structuring deep learning projects professionally Organize PyTorch models into six logical sections: 1. Initialization - init() and setup() 2. Training Loop - trainingstep(batch, batchidx) 3. Validation Loop - validationstep(batch, batchidx) 4. Test Loop - teststep(batch, batchidx) 5. Prediction - predictstep(batch, batchidx) 6. Optimizer Configuration - configureoptimizers() Quick template reference: See scripts/templatelightningmodule.py for a complete boilerplate. Detailed documentation: Read references/lightningmodule.md for comprehensive method documentat

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/scientific/pytorch-lightning/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:40.307Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.