買幣
行情
現貨
合約
理財
活動
更多
reward-center新手專區
信息首頁快訊詳情
The 2.78 trillion parameter Kimi K3 model runs on 8GB of memory, and the developers have open-sourced a lightweight C inference engine.
  • 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.

來源:BlockBeats

免責聲明:當前內容均來自第三方觀點或由AI直接翻譯第三方觀點,CoinEx不保證內容的真實性、準確性和原創性,不構成CoinEx相關的任何投資建議。數字資產價格波動劇烈,請注意潛在風險。

熱搜榜
  • 幣種
    價格
    24H漲跌