Explorar o código

Update utils_llama.py

Allen hai 1 ano
pai
achega
5affb02787
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      research/long-context-llama/H2O/utils_llama.py

+ 0 - 1
research/long-context-llama/H2O/utils_llama.py

@@ -43,7 +43,6 @@ def apply_rotary_pos_emb_single(x, cos, sin, position_ids=None, unsqueeze_dim=1)
 
     cos = cos.unsqueeze(unsqueeze_dim)
     sin = sin.unsqueeze(unsqueeze_dim)
-    print(cos.shape, sin.shape, x.shape)
     x_embed = (x * cos) + (rotate_half(x) * sin)
 
     return x_embed