pytorch - PyTorch Deep Learning Framework
Build and train neural networks with dynamic computation graphs and GPU acceleration
Tags
Updated: 2026-06-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- create tensors
- compute gradients
- define models
- load datasets
- train models
- save checkpoints
- compile models
- enable distributed training
- export to TorchScript
- export to ONNX
Inputs
- training data
- labels
- input dimensions
- device
- learning rate
Outputs
- trained model
- checkpoint file
- model predictions
- training loss
- TorchScript file
- ONNX file
Requirements
- Python
- PyTorch
- CUDA (optional for GPU)
- torchrun (for distributed training)
