Bare Metal Qwen
109 points by miohtama 8 hours ago | 22 comments

Revanche1367 4 hours ago
I was just ruminating as a sort of joke on HN a couple of days ago that LLMs could in the near future be the “OS” in a sense, directly running on metal and launch other programs, perhaps even generate them from scratch on the fly. People weren’t very appreciative it seemed, but nice to see others have been going farther ahead with a similar thought process.
reply
baoooooooooooo 2 hours ago
I saw this talk from a group working on an implementation akin to this. the demo is neat, generating appropriate cards and widget-ish apps specific to the task at hand.

I think aspects of it a will likely win out, but some software is likely to remain more static - I suspect there are applications for both. https://m.youtube.com/watch?v=ps-VCoIo_FQ&ra=m

reply
daniel_iversen 4 hours ago
100% I'd love to have a "phone" with just a blank AI speech interface and optionally a text one for when you're in public, and some cached icons of your last activities etc. Would be awesome. I hope someone will create an Android/AOSP type of launcher app to make that happen, so we can try to see what the future will feel like.
reply
pizzafeelsright 2 hours ago
I recently built an OS that generates the UI based upon directions from LLM.

I suspect ~$10⁷ would be enough for it to be market ready.

reply
VulpineQuanta 2 hours ago
Totally don't believe you
reply
kevmo314 4 hours ago
I don't think this is even a joke. I could see a world where the entire OS is frontended with only a chat UI.
reply
pizzafeelsright 2 hours ago
Some of us have been doing this for the last year.

I have replaced almost my entire workflow with harnesses. I don't open Word or Excel any more.

By next year Outlook is gone entirely.

reply
seductiveputer 2 hours ago
Yes yes, we all watched Dexter's Lab, we all want a seductively voiced computer to be our work assistant. Unfortunately it is still a bit far off. Attempts at it with browsers where pages are generated on the fly from multiple search results were making some imaginative (as in hallucinating) pages.
reply
swatcoder 7 hours ago
It looks like this is one subproject in a larger exercise and the top-level README presents the benchmarks that peg this against a pure-assembly Linux ELF (also in this repo) and llama.cpp:

https://github.com/alesha-pro/llm.asm/blob/main/README.md

reply
george_max 4 hours ago
For smaller models on scarce compute, this could be useful for optimizing speed. But for frontier models, the additional layer -- that is, Linux or other management tools to host it -- is incredibly minimal in terms of resource allocation relative to the resources used by the frontier model.

Apart from this, I really don't think there is a benefit or use case. Maybe an ASIC instead of a GPU would be more beneficial to LLMs in terms of efficiency.

reply
galaxyLogic 44 minutes ago
What about the agents? Where would they run? An LLM by itself is just a chat-box, right? It doesn't DO anything but answer your questions.
reply
bhouston 4 hours ago
If this works well, I could imagine this is how LLMs would be served in the data center. just need a network stack and some type of isolation? I guess the isolation requires a hypervisor or OS of some sort and then we may be back into the same issue that we need an OS.
reply
hankbond 6 hours ago
Pretty cool as a concept, reminds me of the self-booting disks from back in the day. Is there much use of a model this small without a harness and stuff to interact with tho?
reply
jxf 4 hours ago
The harness doesn't have to be in the same place as the model. That's how almost everyone is running harnesses.
reply
mohamedkoubaa 4 hours ago
Is llama.cpp really that optimized? Seems like a lot of projects are using it as a metric and claiming to have beat it.
reply
Farmadupe 3 hours ago
There's a few reasons why everyone is "beating" llama.cpp at the moment:

- llama.cpp is a general purpose inference engine designed to have acceptable performance on any hardware. You can now prompt an LLM to "write an inference engine from scratch for qwen3-0.6b that gets 90% of the theoretical performance of the GPU in this computer" and get a faster inference engine in less than an hour.

- A lot of the people who prompt their way to a faster engine cheat without realizing it. The two main ways are

    1) Delete some of the model (there was a recent spate of people on reddit claiming ever faster performance with qwen3.8-flash-next using a technique called expert pruning that is basically deleting part of the model and hoping that you still get usable results)

    2) Quantize the model more. For token generation, quantizing a model results in a speedup directly proportional to how much you quantized it.
Both expert pruning and overquantization lobomotize a model and neither technique survives contact with reality.
reply
3xcellency 9 minutes ago
[dead]
reply
keyle 6 hours ago
This feels like the equivalent of putting a brain in a jar like in Futurama. A lot of work but not much real world use for this unfortunately.
reply
thebeardisred 6 hours ago
Well, I guess one way to remove an attack vector is just to not have syscalls.

edit: ...but also now I need to see which mode this is running in processor wise.

reply
octoberfranklin 5 hours ago
Dude this thing is the attack vector: https://news.ycombinator.com/item?id=50650170
reply
npfries 3 hours ago
Isn’t that more of a function of where the harness is running, not where the inference is happening?
reply
octoberfranklin 5 hours ago
Hrm, raw asm no libc/syscall dependencies... that means it can run in SMM ("ring negative 2"), and inject its binary into a hypervisor.

So now you can strap an LLM into your Blue Pill exploit https://en.wikipedia.org/wiki/Blue_Pill_%28software%29

Let's just hope this thing doesn't develop the urge to self-propagate.

reply
pixl97 6 hours ago
Excellent, now make it self prompt to search for security flaws and spread itself to more instances and we'll have a big'ole mess on our hands.
reply
xiaoliangliang 3 hours ago
[dead]
reply
drix10 4 hours ago
[dead]
reply
iizinan 5 hours ago
[flagged]
reply