Skip to main content

torch-model-design

PyTorch model design, computation graph analysis, profiling, and optimization — from architecture implementation to production-ready training and inference. Use when the user asks about implementing neural architectures in PyTorch, profiling FLOPs/memory/throughput, optimizing training speed or memory usage, debugging gradient flow or numerical stability, choosing between dynamic and static graphs (eager vs torch.compile), setting up distributed training (FSDP2, tensor parallel, pipeline parallel, 2D/3D parallelism), multimodal or temporal model architecture, or optimizing inference (quantization, KV cache, speculative decoding, continuous batching). Also trigger on: computation graph, autograd, torch.compile, FSDP2, DTensor, tensor parallelism, pipeline parallelism, mixed precision, AMP, bf16, fp8, gradient checkpointing, FlashAttention, model profiling, OOM debugging, CUDA memory, inference optimization, model quantization, torchao, multimodal, cross-attention, vision encoder, temporal model.

Jump to install

Source facts

Repository
guliqianxun/research-skills
Last source activity
April 12, 2026 at 12:33
Detected SKILL.md language
English
Stars
5
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.