justheuristic před 2 roky
rodič
revize
8f34b92b68
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  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)