Commit 1b4478a
committed
add --kt-numa-nodes CLI parameter for explicit NUMA node mapping
Add --kt-numa-nodes parameter to ServerArgs and thread it through
KTConfig to KTMoEWrapper. This allows users to specify which NUMA
node IDs to bind to, enabling multi-instance deployment on different
NUMA nodes without external numactl workarounds.
Usage: --kt-threadpool-count 1 --kt-numa-nodes 1
(binds to NUMA node 1 instead of defaulting to node 0)
Companion to kvcache-ai/ktransformers#18911 parent f6adb4f commit 1b4478a
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
1667 | 1668 | | |
1668 | 1669 | | |
1669 | 1670 | | |
| 1671 | + | |
1670 | 1672 | | |
1671 | 1673 | | |
1672 | 1674 | | |
| |||
2105 | 2107 | | |
2106 | 2108 | | |
2107 | 2109 | | |
| 2110 | + | |
2108 | 2111 | | |
2109 | 2112 | | |
2110 | 2113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
557 | 558 | | |
558 | 559 | | |
559 | 560 | | |
| |||
4452 | 4453 | | |
4453 | 4454 | | |
4454 | 4455 | | |
| 4456 | + | |
| 4457 | + | |
| 4458 | + | |
| 4459 | + | |
| 4460 | + | |
| 4461 | + | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
4455 | 4465 | | |
4456 | 4466 | | |
4457 | 4467 | | |
| |||
0 commit comments