Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adk9 committed Jun 11, 2024
1 parent cb5714e commit dd4868f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deepspeed/inference/v2/model_implementations/phi3/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def forward(self, wrapped_batch: RaggedBatchWrapper) -> torch.Tensor:
residual = self._forward_embed(wrapped_batch)

for layer_idx in range(self.num_layers):
residual, _ = self._forward_transformer_layer(layer_idx, residual, None,
wrapped_batch)
residual, _ = self._forward_transformer_layer(layer_idx, residual, None, wrapped_batch)

return self._forward_unembed(residual, wrapped_batch)

0 comments on commit dd4868f

Please sign in to comment.