hpcaitech / Open-Sora

Open-Sora: Democratizing Efficient Video Production for All

Home Page:https://hpcaitech.github.io/Open-Sora/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When I enable sequence parallelism, it throws a bug.

qy-NJU opened this issue · comments

kv = self.kv_linear(cond).view(B, -1, 2, self.num_heads, self.head_dim)

I think you need to change it to 'view(1, -1, 2, self.num_heads, self.head_dim)'

What was the error? Would you please try changing it while also passing the tests at ~/tests folder?

This issue is stale because it has been open for 7 days with no activity.