Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 1 min read

Managed to run Kimi K3.1 Pro (2.8T) on a single consumer GPU, looking for some feedback

Managed to run Kimi K3.1 Pro (2.8T) on a single consumer GPU, looking for some feedback Hey everyone, I'm an AI engineer and I've been messing around with local AI models for quite a while now. Something that's always

Managed to run Kimi K3.1 Pro (2.8T) on a single consumer GPU, looking for some feedback

Hey everyone,

I'm an AI engineer and I've been messing around with local AI models for quite a while now.

Something that's always bothered me is that we have all these powerful open-weight models available, but most people can't actually run them themselves without spending a fortune on hardware. I personally think people should be able to use powerful AI privately and have full control over it.

So I started experimenting with ways to make that possible for Kimi K3.1 Pro.

I took inspiration from existing research and other projects using SSD streaming and MoE offloading, and ended up building my own implementation called hkimi.

I rented an RTX 4090 machine for testing, mainly because I didn't want to clear almost 2TB on my own PC. I tried to keep the setup close to my hardware, with a 24GB GPU, a 64GB RAM budget and an NVMe SSD.

And well, it actually worked. I got the original 2.8T model running without quantizing or pruning it.

The downside is that it's really slow, around 0.17 tokens/sec, so there's definitely a lot of room for improvement.

I'm still working on it and thought I'd share it here to get some opinions. I'd especially love to hear any ideas on improving the speed, or really any advice from people who've worked on similar things.

Here's the repo if anyone wants to have a look:

https://huggingface.co/Ozomozyan/hkimi

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.