oweller2 commited on
Commit
b06bc52
1 Parent(s): 9ab7150

remove print

Browse files
Files changed (1) hide show
  1. modeling_flexbert.py +2 -2
modeling_flexbert.py CHANGED
@@ -1657,7 +1657,7 @@ class FlexBertForCausalLM(FlexBertPreTrainedModel):
1657
  cu_seqlens=cu_seqlens,
1658
  max_seqlen=max_seqlen,
1659
  )
1660
- print(hidden_states.shape)
1661
 
1662
  if self.compile_model:
1663
  logits = self.compiled_lm_head(hidden_states)
@@ -1717,7 +1717,7 @@ class FlexBertForCausalLM(FlexBertPreTrainedModel):
1717
  attentions=None,
1718
  )
1719
  else:
1720
- print(f"Non-padding logits: {logits.shape}")
1721
  # if logits.dim() == 2:
1722
  # logits = logits.unsqueeze(0)
1723
  return CausalLMOutput(
 
1657
  cu_seqlens=cu_seqlens,
1658
  max_seqlen=max_seqlen,
1659
  )
1660
+ # print(hidden_states.shape)
1661
 
1662
  if self.compile_model:
1663
  logits = self.compiled_lm_head(hidden_states)
 
1717
  attentions=None,
1718
  )
1719
  else:
1720
+ # print(f"Non-padding logits: {logits.shape}")
1721
  # if logits.dim() == 2:
1722
  # logits = logits.unsqueeze(0)
1723
  return CausalLMOutput(