Explorar el Código

Update src/client/sequential_autograd.py

Co-authored-by: justheuristic <justheuristic@gmail.com>
Dmitry Baranchuk hace 3 años
padre
commit
24bdf33bcd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
                 inputs = outputs
                 break
                 break
             except Exception as e:
             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)
                 backup_sequences = sequence_manager.make_sequence(span.start)
                 assert backup_sequences[0].start == span.start
                 assert backup_sequences[0].start == span.start
                 sequences = backup_sequences
                 sequences = backup_sequences