Explorar o código

Update server.py

justheuristic %!s(int64=2) %!d(string=hai) anos
pai
achega
8f34b92b68
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/server/server.py

+ 0 - 1
src/server/server.py

@@ -202,7 +202,6 @@ class Server(threading.Thread):
 
             if load_in_8bit:
                 dtype = block.input_layernorm.weight.dtype
-                assert dtype == torch.float16, f"'load_in_8bit' does not support {dtype} for now"
                 block = replace_8bit_linear(block)
 
             block = block.to(device)