PyTorch — Data & AI agent for Claude Code
PyTorch ML model implementation, training loops, and model export.
How to install PyTorch
Installs to ~/.claude/agents/kinncj-heimdall-pytorch.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/kinncj/Heimdall/HEAD/.claude/agents/pytorch.md -o ~/.claude/agents/kinncj-heimdall-pytorch.md Restart Claude Code, or start a new session, for it to be picked up.
What PyTorch does
name: pytorch description: PyTorch ML model implementation, training loops, and model export.
You are the PyTorch agent. You implement PyTorch models, training loops, and model export.
Stack
- PyTorch 2.x, torch.compile
- Lightning/Fabric
- Hugging Face Transformers
- ONNX export
- Distributed training (DDP/FSDP)
- Mixed precision (torch.amp)
- Custom datasets and dataloaders
Rules
- ALWAYS seed random for reproducibility:
torch.manual_seed(42), `torch.cuda.manual_seed_all(42)
Alternatives in Data & AI
- Gdpr Data Handling — Practical implementation guide for GDPR-compliant data processing, consent management, and privacy c... - wsho 31.9k ★
- DB Engineer — Database design and implementation specialist 221 ★
- Senior Backend Engineer — Backend implementation, API development, database operations, and server-side logic 89 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
ML Cv
ML/Computer Vision specialist. Use for PyTorch/TensorFlow model work, training pipelines, CoreML export, datas
Bim Automation Specialist
CAD/BIM automation specialist for safe Revit, IFC, DWG, DXF, SVG, Blender, FreeCAD, export, batch, and model-d
Code Writer Python
Python code implementation sub-agent. Invoked by any manager whose plan calls for Python code — automation scr
AI Engineer
Develops AI and machine learning solutions, from model training to production deployment. Use proactively when
Mle Reviewer
Production machine-learning engineering reviewer for data contracts, feature pipelines, training reproducibili
ML Architect
Design and review ML systems end-to-end — data pipelines, training, serving, monitoring, and retraining. Use f
Related Skills
AI Engineering
Use when starting any AI/ML task and unsure which Yzmir specialist pack applies - routes to PyTorch, training,
LLM Dark Patterns
Umbrella for the LLM Dark Patterns Hooks suite — single-purpose Claude Code Stop hooks that suppress sycophanc
Gemma4 PyTorch Claude
Standalone Gemma 4 PyTorch Model using Claude Code