eunhwanpark-motiftech commited on
Commit
d48c605
·
verified ·
1 Parent(s): 7ebd625

Update modeling_motif.py

Browse files
Files changed (1) hide show
  1. modeling_motif.py +0 -4
modeling_motif.py CHANGED
@@ -1315,10 +1315,6 @@ class MotifModel(MotifPreTrainedModel):
1315
  )
1316
 
1317
  hidden_states = layer_outputs[0]
1318
-
1319
-
1320
- if self.use_pipeline and idx in self.split_layers:
1321
- hidden_states = torch.moreh.pipeline_assign(hidden_states)
1322
 
1323
  if use_cache:
1324
  next_decoder_cache = layer_outputs[2 if output_attentions else 1]
 
1315
  )
1316
 
1317
  hidden_states = layer_outputs[0]
 
 
 
 
1318
 
1319
  if use_cache:
1320
  next_decoder_cache = layer_outputs[2 if output_attentions else 1]