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
2 changes: 1 addition & 1 deletion tests/unit/module_inject/test_fused_repartition.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_gate_up_partition_covers_the_whole_weight(clean_tp_shard_globals):

gate = torch.cat([shards[0][:3], shards[1][:2]], dim=0)
up = torch.cat([shards[0][3:], shards[1][2:]], dim=0)
assert torch.equal(torch.cat([gate, up], dim=0), full_weight)
assert torch.equal(torch.cat([gate, up], dim=0), full_weight.to(gate.device))


class _QWenAttention(torch.nn.Module):
Expand Down
Loading