Whitespace bug fix
Command had accidentally been moved out of if-else block.
This commit is contained in:
@@ -156,7 +156,9 @@ def xformers_forward(
|
||||
f" {attn_output.size()}"
|
||||
)
|
||||
|
||||
attn_output = attn_output.transpose(1, 2).contiguous()
|
||||
attn_output = attn_output.transpose(1, 2).contiguous()
|
||||
#end x-formers vs. not x-formers if-else block
|
||||
|
||||
attn_output = attn_output.reshape(bsz, q_len, self.hidden_size)
|
||||
|
||||
if self.pretraining_tp > 1:
|
||||
|
||||
Reference in New Issue
Block a user