Skip to content

Commit 10de34b

Browse files
committed
fix
1 parent de2c38a commit 10de34b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/petals/server/block_functions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ async def iterate_rpc_inference(
161161

162162
async for request, step_metadata in input_iterator:
163163
if "last_validated_position" in step_metadata:
164+
last_validated_position = step_metadata["last_validated_position"]
164165
assert prefix_length >= last_validated_position, f"prefix_length={prefix_length}, last_validated_position={last_validated_position}"
165166
prefix_length = last_validated_position
166167

0 commit comments

Comments
 (0)