Browse Source

Fix sequential_forward()

Aleksandr Borzunov 2 năm trước cách đây
mục cha
commit
756e27707f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/client/sequential_autograd.py

+ 1 - 1
src/client/sequential_autograd.py

@@ -48,7 +48,7 @@ async def sequential_forward(
     outputs = inputs
 
     block_idx = start_index
-    while block_idx < len(sequence_manager):
+    while block_idx < end_index:
         for attempt_no in itertools.count():
             logger.debug(f"Forward: block {block_idx}, attempt {attempt_no}")
             try: