- GPU0%
BlockBeats News, August 8, A developer recently open-sourced the project kimi-k3-in-c, attempting to run the Kimi K3 model with 2.78 trillion parameters on a device with only 8GB of memory. The project is only 176KB in size, written in pure C99, does not rely on GPU, CUDA, PyTorch, or BLAS, and can perform model inference solely through the CPU.
This solution leverages the MoE (Mixture of Experts) architecture of Kimi K3. Although the total model parameter size reaches 2.78T, only 16 out of 896 experts are activated in each layer. Therefore, the developer did not load the entire approximately 1.56TB model weight into memory. Instead, most of the expert weights are stored on an NVMe hard drive and are dynamically read based on the inference requirements. Additionally, some dense trunk layers also adopt a layer-by-layer streaming loading approach.
However, this solution currently has significant performance limitations. In 8GB memory mode, generating one token takes approximately 32.7 seconds, while requiring close to 1.7TB of high-speed storage support.
The developer stated that this approach is currently more like an experimental exploration of optimizing large model inference infrastructure and does not have practical production value. However, through the "disk streaming loading + MoE sparse activation" approach, it provides a new idea for running ultra-large-scale models at low cost in the future.
Disclaimer: The current content is sourced from third-party perspectives or directly translated by AI from third-party perspectives. CoinEx does not guarantee the authenticity, accuracy, and originality of the content, and it does not constitute any investment advice from CoinEx. The prices of cryptocurrencies are highly volatile, please be aware of the potential risks.
- CoinsPrice24H Change