Procházet zdrojové kódy

Update src/client/sequential_autograd.py

Co-authored-by: justheuristic <justheuristic@gmail.com>
Dmitry Baranchuk před 3 roky
rodič
revize
24bdf33bcd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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