News for hackers. Stuff that matters.
Re:Show HN: Singulatron – On-Premise AI Platform by friendly_chap on Tuesday June 25, 2024 @08:16AM (#40787575)
Hey folks,

Op here. Trying to build a distributed AI platform - lots of work, fairly early phase but I think it's already useful. Hope you'll like it.

Thanks!

Re:Show HN: Singulatron – On-Premise AI Platform by lacoolj on Tuesday June 25, 2024 @12:11PM (#40790307)
Are you distributing the LLM generation tasks at a low-level (server 1,2,3,4 each have a GPU and each get 25% of the model + work somehow)? Or is this just a way of interfacing with an existing LLM using a standardized interface on front and back ends?
Re:Show HN: Singulatron – On-Premise AI Platform by friendly_chap on Tuesday June 25, 2024 @12:22PM (#40790404)
Hey!

At the moment the distributed features are entirely missing from the repo, sorry to disappoint on that front despite being part of the readme. It's hectic!

But to answer your question: I plan to sidestep most difficulties of the distributed story by offloading into the usual distributed tools - horizontally scalable DBs and distributed locks, queues etc. This will have the added upside of being able to use your favourite tools for which you already have dashboards, alerting etc.

There will be no fancy resource management (an other comment touched in "reinventing kubernetes" which is definitely not a goal at all), but there will be some simple optimizations in terms of where to run which prompt depending on if the model is already running on a node or not etc.

So there will be some knowledge of the nodes' capacity (at least available VRAM etc), but the picking of the prompts from the queue will be a simple unit testable algorithm.

At least this is the plan but it's only half implemented in my mind.

Re:Show HN: Singulatron – On-Premise AI Platform by doctorpangloss on Tuesday June 25, 2024 @11:13AM (#40789662)
Why reinvent Kubernetes?
Re:Show HN: Singulatron – On-Premise AI Platform by friendly_chap on Tuesday June 25, 2024 @12:05PM (#40790235)
I'm not planning to :)). Singulatron is not about scheduling, etc.; it operates at a much higher level of abstraction. To put it in less fancy terms: it's an app, albeit one designed to run on many servers simultaneously.
Re:Show HN: Singulatron – On-Premise AI Platform by doctorpangloss on Tuesday June 25, 2024 @02:41PM (#40791977)
Why reinvent half of Kubernetes?
Re:Show HN: Singulatron – On-Premise AI Platform by friendly_chap on Tuesday June 25, 2024 @03:02PM (#40792246)
So any web app that runs on multiple nodes reinvent k8s? I'm not sure about that.
Re:Show HN: Singulatron – On-Premise AI Platform by doctorpangloss on Wednesday June 26, 2024 @10:19AM (#40800397)
> So any web app that runs on multiple nodes reinvent k8s

Most of them only reinvent 1/10th-1/100th of Kubernetes.

Re:Show HN: Singulatron – On-Premise AI Platform by gpaslari on Wednesday June 26, 2024 @06:03AM (#40798272)
Great job! Can't imagine amount of hours invested into it. How does the offline version perform in different areas comparing with known LLMs (e.g. ChatGPT 4o, LLama, etc)?
Re:Show HN: Singulatron – On-Premise AI Platform by friendly_chap on Wednesday June 26, 2024 @06:47AM (#40798481)
Thanks gpaslari,

We are running known models like LLama, StableDiffusion etc. So pretty much the same :)

We are not planning on building our own models yet.