You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Beam Search this Error can occur, if it is a large prompt. Workaround: in VLLM Core block_manager.py I returned 0 instead of the exception and beam search works:
def free(self, block: PhysicalTokenBlock) -> None: if block.ref_count == 0: return 0 raise ValueError(f"Double free! {block} is already freed.") block.ref_count -= 1 if block.ref_count == 0: self.free_blocks.append(block)
The text was updated successfully, but these errors were encountered:
Using Beam Search this Error can occur, if it is a large prompt. Workaround: in VLLM Core block_manager.py I returned 0 instead of the exception and beam search works:
def free(self, block: PhysicalTokenBlock) -> None: if block.ref_count == 0: return 0 raise ValueError(f"Double free! {block} is already freed.") block.ref_count -= 1 if block.ref_count == 0: self.free_blocks.append(block)
The text was updated successfully, but these errors were encountered: