[GH-ISSUE #344] NVL/RDMA tuning process (auto tune) #238

Closed
opened 2026-10-26 09:57:11 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @dshirron3 on GitHub (Jul 30, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/344

Regarding the tuning process mentioned in README:
under: Auto-tuning on your cluster:

For better performance on your cluster, we recommend to run all the tests and use the best auto-tuned configuration. The default configurations are optimized on the DeepSeek's internal cluster

Can you elaborate on tuning process?
for example, if i get a certain optimal nvl chunk size and rdma chunk size, should that go to into buffer.py -> get_dispatch/combine_config

Currently the number are for example:
Config(Buffer.num_sms, 24, 256, 6, 128)

What is each number here, and what is the relation to the nvl chunk numbers i see in test_internode.py results
Example from test_internode.py:
[tuning] Best dispatch (BF16): SMs 24, NVL chunk 12, RDMA chunk 32: 42.36 GB/s (RDMA), 138.25 GB/s (NVL)

Originally created by @dshirron3 on GitHub (Jul 30, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/344 Regarding the tuning process mentioned in README: under: Auto-tuning on your cluster: For better performance on your cluster, we recommend to run all the tests and use the best auto-tuned configuration. The default configurations are optimized on the DeepSeek's internal cluster Can you elaborate on tuning process? for example, if i get a certain optimal nvl chunk size and rdma chunk size, should that go to into buffer.py -> get_dispatch/combine_config Currently the number are for example: Config(Buffer.num_sms, 24, 256, 6, 128) What is each number here, and what is the relation to the nvl chunk numbers i see in test_internode.py results Example from test_internode.py: [tuning] Best dispatch (BF16): SMs 24, NVL chunk 12, RDMA chunk 32: 42.36 GB/s (RDMA), 138.25 GB/s (NVL)
Author
Owner

@sphish commented on GitHub (Aug 5, 2025):

You can refer to this.
github.com/deepseek-ai/DeepEP@26cf250a33/tests/test_internode.py (L186)

<!-- gh-comment-id:3153361895 --> @sphish commented on GitHub (Aug 5, 2025): You can refer to this. https://github.com/deepseek-ai/DeepEP/blob/26cf250a3388c770ee628d2fd0271e1c6c52157a/tests/test_internode.py#L186
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#238
No description provided.