
Pytorch
This one's for serious deep learning work in PyTorch, covering everything from custom nn.Module architectures to production-level concerns like mixed precision training and multi-GPU setups. It's opinionated about Hugging Face Transformers and Diffusers as your go-to libraries, which makes sense given how dominant they are. The focus on both transformers and diffusion models feels very 2024. What's nice is it doesn't just cover model building but actually addresses the unglamorous stuff like gradient clipping, handling NaN values, and proper data loading that separates research code from code that actually trains. If you're doing anything beyond basic PyTorch tutorials, this gives you reasonable guardrails.
- skills.sh installs
- 865
- GitHub stars
- 302
- last updated
- Aug 21, 2026
Install
$ npx -y skills add mindrally/skills --skill pytorch --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/mindrally/skills
- Categories
- Data Science & ML, Generative Media
- First seen
- Jun 3, 2026
More from mindrally/skills
All 240- Spring Boot865
- Elixir863
- Woocommerce863
- Nuxtjs Vue Typescript862
- Testing861
- Responsive Design860
- Api Development856
- Laravel856
- Go Backend Microservices855
- Vite854
- Websocket Development854
- Cheerio Parsing853
- Angular852
- Ghost852
- Hono Typescript852
- Git Workflow850
- Motion843
- Web Development842
- Three Js834
- Webpack Bundler829
- Blazor823
- Ionic822
- Logging Best Practices819
- Sql Best Practices819