Skip to content
Merged
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
4 changes: 2 additions & 2 deletions tests/test_fa2a_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ def test(args):
copy_seq_mask = metadata_slice.kv_grad_send_dedup.main_copy_mask
a2a_memcpy_non_cp(
attn_k_shard, k_send_offsets, metadata_slice.seq_lens[1].send_seqlens,
to_nvshmem=True, buffer=dst_shard, copy_seq_mask=copy_seq_mask
to_nvshmem=True, buffer=dst_shard, instance_id=copy_seq_mask
)
a2a_memcpy_non_cp(
attn_v_shard, v_send_offsets, metadata_slice.seq_lens[1].send_seqlens,
to_nvshmem=True, buffer=dst_shard, copy_seq_mask=copy_seq_mask
to_nvshmem=True, buffer=dst_shard, instance_id=copy_seq_mask
)
torch.testing.assert_close(dst_shard, dst_buffer[rank])
print(f"copying rank {rank} grads to send buffer done.")
Expand Down
Loading