Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
__original_commit__ = fairinternal/xformers@17aa74f
  • Loading branch information
lw authored and xFormers Bot committed Feb 10, 2025
1 parent 144ca64 commit 6df18d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xformers/ops/sequence_parallel_fused_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ def fused_allgather_and_anything(

# Fast path
else:

def my_wrapper(t, rank):
my_matmul(t.squeeze(0), rank, _default_stream_factory)

Expand Down Expand Up @@ -379,6 +380,7 @@ def fused_anything_and_reducescatter(

# Fast path
else:

def my_wrapper(rank, t):
my_matmul(t.squeeze(0), rank, _default_stream_factory)

Expand Down

0 comments on commit 6df18d9

Please sign in to comment.