opencv-python numpy diffusers torch transformers accelerate timm