flask diffusers transformers accelerate opencv-python-headless torch pillow optimum-intel openvino onnx