mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-08 08:03:39 +00:00
Code formatting
This commit is contained in:
parent
5b06284a8a
commit
e0f5905a97
2 changed files with 3 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue