Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion all_models/inflight_batcher_llm/preprocessing/1/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import numpy as np
import requests
import triton_python_backend_utils as pb_utils
from PIL import Image
from transformers import AutoProcessor, AutoTokenizer, T5Tokenizer


Expand Down Expand Up @@ -754,6 +753,7 @@ def str_dtype_to_torch(dtype):
self.vision_model_type = vision_model_type

def load_images_from_urls(self, img_urls):
from PIL import Image
images = []
for img_url in img_urls:
img_url = img_url.decode()
Expand Down