Thank you for your comments.
> Most industry-level inference systems rely predominantly on GPUs for training and inference. At least for current system demands, CPUs are less often adopted in practical heterogeneous clusters, considering the tremendous flops to be performed. Although there may be use cases where communicating weights of small models across CPUs and GPUs may have a slight improvement, this formulation has little practical implications for models of medium and large sizes due to the tremendous computational latencies.
It is true that GPUs are predominant in massive-scale inference systems in the industry, but there is also fast-growing interest in local settings with less abundant resources. The popularity of projects like llama.cpp (with over 67k stars on GitHub) demonstrates a strong interest in running LLMs on resource-constrained environments. Furthermore, in addition to the studies cited in Section 1, our work aligns with a significant body of recent research focused on efficient LLM inference in such settings [1–3]. Therefore, we believe that the scenario explored in our paper holds substantial practical relevance and impact.
> Secondly, input size is only but one aspect that contributes to the single batch latency in inference as model capacity also contributes significantly to the total flops. Therefore, this assumption on input size requires refinement.
Thanks for the suggestion to explore different factors that might impact total FLOPs. We evaluated the Mixtral model in the paper because it is the only MoE model that is supported by all of the baselines. However, our system is designed to be model-agnostic within the family of MoE models. For example, the following table presents results with the [Phi-3.5-MoE](https://huggingface.co/microsoft/Phi-3.5-MoE-instruct) model, compared against DeepSpeed-MII (the only baseline system that supports this model).
End-to-end latency (token / s)
| Input length, Output length | Twiddler (ours) | DeepSpeed-MII |
|-----------------------------|-----------------|---------------|
| 32,64 | 4.04 | 0.60 |
| 32,128 | 4.55 | 0.62 |
| 32,256 | 4.72 | 0.63 |
| 64,64 | 3.65 | 0.60 |
| 64,128 | 4.12 | 0.62 |
| 64,256 | 4.76 | 0.63 |
| 128,64 | 3.53 | 0.61 |
| 128,128 | 4.25 | 0.62 |
| 128,256 | 4.56 | 0.63 |
| 256,64 | 3.22 | 0.60 |
| 256,128 | 3.76 | 0.62 |
| 256,256 | 4.08 | 0.63 |
| 512,64 | 3.24 | 0.60 |
| 512,128 | 3.80 | 0.62 |
| 512,256 | 4.15 | 0.63 |
The results are consistent with the Mixtral model, and Twiddler outperforms DeepSpeed-MII with 6.5 times on average.
We added these results to the Appendix E of the revised PDF.
> Thirdly, the sequence lengths/widths used in the experiments are not representative enough to demonstrate the generalizability of your formulation.
The following table shows the average token length of ShareGPT and LMSYS-Chat-1M, two datasets of conversations between humans and Chatbots that we used in the paper, which are widely adopted by the community with more than 10,000 monthly downloads.
| Dataset | Mean Input Length | Mean Output Length |
|---------------|-------------------|--------------------|
| ShareGPT | 246 | 322 |
| LMSYS-Chat-1M | 102 | 222 |
Therefore, we believe the input/output lengths we used in the paper (between 32 and 512; Figure 4) are representative of real-world use cases.
As for beam width, closely related work uses widths similar to ours. For instance, some studies used a maximum of 16 [4], others tested 2, 4, and 6 [5], some used 4 or 8 [6], and others went up to 20 [7]. Our setup, which uses a beam width between 4 and 16, aligns with these examples. Therefore, we believe our choice about beam width is representative.