Skip to content

Commit a8408b4

Browse files
committed
remove comment code
1 parent ca56b93 commit a8408b4

File tree

1 file changed

+0
-2
lines changed
  • colossalai/shardformer/modeling

1 file changed

+0
-2
lines changed

colossalai/shardformer/modeling/opt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,8 +989,6 @@ def forward(
989989
process_group=shard_config.tensor_parallel_process_group,
990990
vocab_size=self.lm_head.out_features,
991991
)
992-
# loss_fct = CrossEntropyLoss()
993-
# loss = loss_fct(shift_logits.view(-1, self.config.vocab_size), shift_labels.view(-1))
994992

995993
if not return_dict:
996994
output = (logits,) + outputs[1:]

0 commit comments

Comments
 (0)