Tiny-QMoE
Tiny-QMoE
摘要:
QMoE模型为压缩大规模专家混合(Mixture-of-Experts,MoE)模型提供了一种实用的方法。QMoE提供了一种面向内存限制的解决方案,通常达到TB级,它具有使用高稀疏模型的优势,这些模型隐含地适用于压缩技术。QMoE还有一个优点,即只考虑MoE模型,不评估其与非混合专家系统的使用。虽然这种先前的尝试集中在大型服务器的限制与最新的NVIDIA硬件,其中在H100和V100的情况下,有80 GB的HBM(高带宽内存),没有考虑的是一个明显更受约束的环境,例如在移动设备的情况下,在iPhone的情况下,移动设备可以具有4到8 GB的统一存储器,该统一存储器也需要与操作系统共享和额外的过程。尽管手机和笔记本电脑等边缘设备的计算能力越来越强大,但它们仍然没有接近NVIDIA等先进服务器机器的水平。我们必须考虑的另一个约束是延迟。将请求发送到LLM服务器然后将其取回的通信时间是可以删除的额外等待时间。我们还可能希望在没有可靠网络连接的环境中使用LLM技术。
英文摘要:
The QMoE model provides a practical approach for compression of massive Mixture-of-Experts (MoE) models. QMoE offers a solution geared towards memory limitations that often reach terabyte scales, and it has the advantage of working with high sparsity models which implicitly lend themselves to compression techniques. QMoE also has the advantage of only taking MoE models into account and does not evaluate its use with non mixture of expert systems. Although this prior attempt focuses on the limitations of large servers with the latest NVIDIA hardware which in the case of the H100 and V100 which have 80 GB of HBM (High Bandwidth Memory), what is not being considered is a significantly more constrained environment, such as in the case of mobile devices which may have in the case of the iPhone anywhere from 4 to 8 GB of unified memory which also needs to be shared with the operating system and additional processes. Although edge devices such as phones and laptops are becoming increasingly more computationally powerful, they are still not close to the level of advanced server machines such as NVIDIA. An additional constraint that we must consider is that of latency. The communication time of sending a request to an LLM server and then getting it back is an additional waiting time that can be removed. We may also want to use LLM technology in environments where there is no reliable network connection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。