Browse Source

Update src/client/sequential_autograd.py

Co-authored-by: justheuristic <justheuristic@gmail.com>
Dmitry Baranchuk 3 years ago
parent
commit
24bdf33bcd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/client/sequential_autograd.py

+ 1 - 1
src/client/sequential_autograd.py

@@ -142,7 +142,7 @@ async def sequential_forward(
                 inputs = outputs
                 break
             except Exception as e:
-                logging.warn(f"Caught {e} when running forward for chain {span.start}-{span.end}", exc_info=True)
+                logging.warning(f"Caught {e} when running forward for chain {span.start}-{span.end}", exc_info=True)
                 backup_sequences = sequence_manager.make_sequence(span.start)
                 assert backup_sequences[0].start == span.start
                 sequences = backup_sequences