mirror of
https://github.com/deepseek-ai/DeepEP
synced 2025-06-26 18:28:11 +00:00
fix: not output result in some linux system
This commit is contained in:
@@ -137,10 +137,10 @@ def test_main(num_tokens: int, hidden: int, num_experts: int, num_topk: int,
|
||||
suppress_kineto_output=True)
|
||||
if not return_recv_hook:
|
||||
print(f'[rank {rank}] Dispatch bandwidth: {num_dispatch_comm_bytes / 1e9 / dispatch_t:.2f} GB/s, avg_t={dispatch_t * 1e6:.2f} us | '
|
||||
f'Combine bandwidth: {num_combine_comm_bytes / 1e9 / combine_t:.2f} GB/s, avg_t={combine_t * 1e6:.2f} us')
|
||||
f'Combine bandwidth: {num_combine_comm_bytes / 1e9 / combine_t:.2f} GB/s, avg_t={combine_t * 1e6:.2f} us', flush=True)
|
||||
else:
|
||||
print(f'[rank {rank}] Dispatch send/recv time: {dispatch_t * 2 * 1e6:.2f} us | '
|
||||
f'Combine send/recv time: {combine_t * 2 * 1e6:.2f} us')
|
||||
f'Combine send/recv time: {combine_t * 2 * 1e6:.2f} us', flush=True)
|
||||
|
||||
return hash_value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user