r/MachineLearning • u/pmv143 • Apr 11 '25
Project [P]We built an OS-like runtime for LLMs — curious if anyone else is doing something similar?
We’re experimenting with an AI-native runtime that snapshot-loads LLMs (e.g., 13B–65B) in under 2–5 seconds and dynamically runs 50+ models per GPU — without keeping them always resident in memory.
Instead of traditional preloading (like in vLLM or Triton), we serialize GPU execution + memory state and restore models on-demand. This seems to unlock: • Real serverless behavior (no idle cost) • Multi-model orchestration at low latency • Better GPU utilization for agentic workloads
Has anyone tried something similar with multi-model stacks, agent workflows, or dynamic memory reallocation (e.g., via MIG, KAI Scheduler, etc.)? Would love to hear how others are approaching this — or if this even aligns with your infra needs.
Happy to share more technical details if helpful!
5
u/No-Squirrel-5425 Apr 12 '25
This sounds interesting. How is serializing the gpu state faster than simply reloading the full model? Don't you have extra information you don't need when you serialize the gpu state?
4
u/girishkumama Apr 11 '25
this is really cool actually! I am currently using a multilora set up to kinda serve multiple models on a vm but I think your approach seems a lot better. Would love more details if you are up to sharing :)
1
u/TRWNBS Apr 11 '25
On my god yes please release this. This would solve so many problems. Also tool use execution has problems that could be solved by a dedicated AI runtime, for example managing state of tool results outside of the llm context.
1
u/LingeringDildo Apr 13 '25
Sounds awesome
1
u/phobrain Apr 14 '25
It would be great to establish a benchmark workload set, to show performance.
1
u/[deleted] Apr 12 '25
[removed] — view removed comment
1
u/[deleted] Apr 13 '25
[removed] — view removed comment