Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--ulysses_size 和 --ring_size怎么调合适 #109

Open
aspatic opened this issue Feb 28, 2025 · 0 comments
Open

--ulysses_size 和 --ring_size怎么调合适 #109

aspatic opened this issue Feb 28, 2025 · 0 comments

Comments

@aspatic
Copy link

aspatic commented Feb 28, 2025

多卡序列并行 这两个好像乘起来需要等于总的进程数,
assert args.ulysses_size * args.ring_size == world_size, f"The number of ulysses_size and ring_size should be equal to the world size."
然后ulysses_size 需要是num_heads 的银子
assert cfg.num_heads % args.ulysses_size == 0, f"num_heads must be divisible by ulysses_size."

但是具体这两个参数是什么意义 该怎么调有没有谁能解释一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant