mirror of
https://github.com/deepseek-ai/DeepEP
synced 2025-06-26 18:28:11 +00:00
Fix bugs
This commit is contained in:
@@ -15,7 +15,7 @@ def test_main(num_tokens: int, hidden: int, num_experts: int, num_topk: int,
|
||||
assert num_experts % num_ranks == 0
|
||||
num_local_experts = num_experts // num_ranks
|
||||
|
||||
# NOTES: the integers greater than 256 exceeds the BF16 precision limit
|
||||
# NOTES: the integers greater than 256 exceed the BF16 precision limit
|
||||
rank_offset = 128
|
||||
assert num_ranks - rank_offset < 257, 'Too many ranks (exceeding test precision limit)'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user