"src/diffusers/models/unets/unet_1d_blocks.py" did not exist on "41ae6708280ba84a4671d20fbb4d52f176083faa"
Unverified Commit f11eb90f authored by Enrique Shockwave's avatar Enrique Shockwave Committed by GitHub
Browse files

Initialize model_worker_batch variable (#1973)

parent 95a4ed12
......@@ -787,8 +787,8 @@ class Scheduler:
self.forward_ct += 1
if self.is_generation:
if batch.forward_mode.is_decode() or batch.extend_num_tokens != 0:
model_worker_batch = batch.get_model_worker_batch()
if batch.forward_mode.is_decode() or batch.extend_num_tokens != 0:
batch.mark_reqs_started()
logits_output, next_token_ids = self.tp_worker.forward_batch_generation(
model_worker_batch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment