Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOGS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Change Logs
0.8.1
+++++

* :pr:`288`: add .contiguous in torch.cond branch (attention patch for sdpa implementation)
* :pr:`286`: adds variable to track random nodes in models

0.8.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@ def patched_sdpa_attention_forward(
scale=scaling,
is_causal=True,
**sdpa_kwargs,
),
).contiguous(),
lambda query, key, value: torch.nn.functional.scaled_dot_product_attention(
query,
key,
Expand All @@ -1461,7 +1461,7 @@ def patched_sdpa_attention_forward(
scale=scaling,
is_causal=False,
**sdpa_kwargs,
),
).contiguous(),
[query, key, value],
)
attn_output = attn_output.transpose(1, 2).contiguous()
Expand Down
Loading