# torchtimers

A lightweight PyTorch utility for measuring execution time of training and inference.  
Works with both CPU and GPU (via CUDA synchronization).  

## ✨ Features
- Context manager for timing code blocks.
- Decorator for timing functions.
- CUDA support (ensures accurate GPU timings).

## 📦 Installation
```bash
pip install torchtimers
