torch transformers datasets Pillow gradio accelerate qwen-vl-utils torchvision matplotlib