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 src/transformers/generation/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2418,7 +2418,7 @@ def generate(

# others are ignored
if synced_gpus is not None:
logger.warning(f"synced_gpus is not ignored for continuous batching. Got {synced_gpus = }")
logger.warning(f"synced_gpus is ignored for continuous batching. Got {synced_gpus = }")
num_beams = kwargs.get("num_beams", 1)
if num_beams > 1: # FIXME: remove this once CB supports num_beams (which is planned)
logger.warning(f"num_beams is not supported for continuous batching yet. Got {num_beams = }. ")
Expand Down
Loading