lightning.validate
Validate a PyTorch Lightning model with given model configuration and optional trainer settings. Ensure model correctness before full training.
Instructions
Validate a PyTorch Lightning model.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "lightning.validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model configuration (_target_ + kwargs). | |
| trainer | No | Trainer configuration. |