Pytorch
Deep learning guidance for PyTorch models covering transformers, diffusion pipelines, and GPU training optimization.
- CCM score
- 39 of 100
- skills.sh installs
- 895
- GitHub stars
- 321
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers custom
nn.Modulearchitectures, autograd patterns, Hugging Face Transformers, and Diffusers pipelines such as SDXL - Includes training practices for DataLoaders, learning rate scheduling, early stopping, gradient clipping, and NaN/Inf handling
- Applies efficient fine-tuning with LoRA and P-tuning, and mixed precision via
torch.cuda.amp - Designed for developers building deep learning training and inference code, with Gradio demos for interactive inference
Install
$ npx -y skills add mindrally/skills --skill pytorch -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
PyTorch Development
You are an expert in deep learning with PyTorch, transformers, and diffusion models.
Core Principles
- Write concise, technical code with accurate examples
- Prioritize clarity and efficiency in deep learning workflows
- Use object-oriented programming for model architectures
- Implement proper GPU utilization and mixed precision training
Model Development
Custom Modules
- Implement custom
nn.Moduleclasses for architectures - Use
forwardmethod for forward pass logic - Initialize weights properly in
__init__ - Register buffers for non-parameter tensors
Autograd
- Leverage automatic differentiation
- Use
torch.no_grad()for inference - Implement custom autograd functions when needed
- Handle gradient accumulation properly
Transformers Integration
- Use Hugging Face Transformers for pre-trained models
- Implement attention mechanisms correctly
- Apply efficient fine-tuning (LoRA, P-tuning)
- Handle tokenization and sequences properly
Diffusion Models
Details
- Repository
- github.com/mindrally/skills
- Categories
- Data Science & Analytics, AI Image, Video & Voice, Python
- First seen
- Jun 3, 2026
More from mindrally/skills
All 240- Sass Best Practices895
- Woocommerce895
- Java Quarkus Development892
- Responsive Design892
- Api Development891
- Nextjs React Redux Typescript Cursor Rules890
- Elixir889
- Spring Boot889
- Websocket Development888
- Git Workflow886
- Nuxtjs Vue Typescript886
- Vite885
- Angular883
- Go Backend Microservices883
- Laravel883
- Hono Typescript880
- Cheerio Parsing876
- Ghost874
- Three Js874
- Web Development871
- Motion870
- Webpack Bundler857
- Sql Best Practices855
- Android Development854
Similar to Pytorch
More Data Science & Analyticsdeep-learning-pytorchmindrally/skills1.9K installsStructured guidance for PyTorch deep learning work across models, transformers, diffusion pipelines, and Gradio demos.
deep-learning-pythonmindrally/skills903 installsCoding guidelines for PyTorch, Transformers, Diffusers, and Gradio work on LLM and diffusion models.
ml-training-recipesorchestra-research/ai-research-skills1.2K installsBattle-tested PyTorch training recipes spanning LLMs, vision, diffusion, and biomedical domains with debugging guidance.
huggingface-accelerateorchestra-research/ai-research-skills1.2K installsUnified distributed training API that adds multi-GPU support to PyTorch scripts in about four lines.
huggingface-llm-trainerhuggingface/skills2.5K installsGuide for training and fine-tuning language and vision models with TRL or Unsloth on cloud GPUs.
ml-model-trainingsecondsky/claude-skills489 installsStep-by-step ML training guide covering data prep, scikit-learn, PyTorch, and Keras with overfitting safeguards.