Skip to content

Commit d76426d

Browse files
committed
Stick trace tensor back in to prevent bad fusion.
1 parent e9fee1a commit d76426d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/attention_processor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ def __call__(
11521152
hidden_states[:, residual.shape[1] :],
11531153
)
11541154
hidden_states_cl = hidden_states.clone()
1155-
#trace_tensor("attn_out", hidden_states_cl[0,0,0])
1155+
trace_tensor("attn_out", hidden_states_cl[0,0,0])
11561156
# linear proj
11571157
hidden_states = attn.to_out[0](hidden_states_cl)
11581158
# dropout

0 commit comments

Comments
 (0)