Skip to content

Commit

Permalink
yapf reformat vllm/core and vllm/block.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jberkhahn committed Aug 26, 2024
1 parent 6cbf993 commit c88355d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions vllm/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def __getitem__(self, key):
return self._blocks[key]

if TYPE_CHECKING:

def __iter__(self) -> Iterator[PhysicalTokenBlock]:
raise RuntimeError("Method should be automatically generated")

Expand Down
3 changes: 2 additions & 1 deletion vllm/core/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ def scheduler_running_outputs_builder():


def scheduled_seq_group_builder():
return ScheduledSequenceGroup(SequenceGroup("", [], -1), token_chunk_size=0)
return ScheduledSequenceGroup(SequenceGroup("", [], -1),
token_chunk_size=0)
# return ScheduledSequenceGroup(seq_group=None, token_chunk_size=0)


Expand Down

0 comments on commit c88355d

Please sign in to comment.