Code formatting

This commit is contained in:
oobabooga 2025-08-19 06:34:05 -07:00
parent 5b06284a8a
commit e0f5905a97
2 changed files with 3 additions and 2 deletions

View file

@ -236,11 +236,12 @@ class Exllamav3Model:
"""
Generate text with streaming using native ExLlamaV3 API
"""
image_embeddings = []
if shared.is_multimodal:
# Process images and modify prompt (ExLlamaV3-specific)
prompt, image_embeddings = self._process_images_for_generation(prompt, state)
else:
image_embeddings = []
# Greedy decoding is a special case
if state['temperature'] == 0: