Farmadupe2 1 day ago

For the last five months or so, opus and fable have both been able to do this task as a soneshot prompt. An inference engine is almost pure compute and to a first approximation the only operation your hardware needs to support to do llm inference is multiplication [the rest of an inference engine is "some trig"].

So to get any model working on $OLD_HARDWARE, the hardest part of the task is now sourcing the hardware itself and giving the agent ssh access -- a modern agent will be able to source a compiler, write the implementation, optimize it, test in qemu (or any other simulator) and push it onto the device.

Example prompt: "write an inference engine for qwen3 0.6b in pure assembly that runs on this device. Write a script to attach the weights to the resulting binary. Prefix is supplied as a stream of u32 token IDs on stdin. The engine streams u32 token IDs on stdout."

  • mrashad74 1 day ago

    I agree with you, and I'm using claude and other models heavily, the idea is not in the soneshot - because actually as you see in the logs I posted on github, it took around 107 + 50-ish experiments to figure out which models to run which and push the speed.

    I'm treating it as a search algorithm project, where I develop the methdology and search for pushing the limit of devices and searching in a big space of possible kernels and so for what works for a specific hardware.

    so I'm looking at it from a different prespective, it takes a lot of brute forcing, and claude can do this well, the whole game (to me) is which directions you push the model into to reduce the search space. and how that learning from very small and tight devices you can scale these techniques.

    But in essence, I don't disagree with your sentiment - the goal is not 0.6B models, these are extremely trivial as you mentioned and as I showed in the experiments, the goal is 16B+ models, and this as far as I've seen, requires smart methods to search for optimizations and customizations both to the model and inference engines.

    • OG_BME 1 day ago

      Why did you both say "soneshot"? Same typo of oneshot?

      • cb5r 1 day ago

        I just asked myself the same thing and wondered if this was some new technique that completely slipped past me. - But it certainly must be a double typo

        • NooneAtAll5 1 day ago

          orrr we can listen to paranoia that these 2 comments are just an elaborate advertisement

          • fouc 23 hours ago

            soneshot - super one shot!

            • mrashad74 18 hours ago

              the kind of one shots you get with fable 5.5 :D (it was a double typo)

        • freehorse 12 hours ago

          "double typo"

          When you find two sants in the kitchen, you are certain to find more sants. Won't fool ME.

          • 01HNNWZ0MV43FF 10 hours ago

            This actually dates back to Warren Buffet saying, there is never just one scockroach in the ktichen

      • lawandjustice 1 day ago

        Soneshot is a much better technique for such and such type of projects

      • Zecc 22 hours ago

        It's not clear whether the second one isn't a scheapshot at making fun of the first one.

        • QuantumNomad_ 16 hours ago

          Hey, this is the Internet. It’s serious business! We shouldn’t make sfun of people!

      • mbil 12 hours ago

        Because the response was written by an LLM running on a tamagotchi

        • mrashad74 11 hours ago

          a sentient tamagotchi is not far from us..

      • k0morebi 9 hours ago

        So funny, I saw this before bed and planned to look it up in the morning thinking I recently missed out on some kind of killer prompt technique. Woke up and came back to this thread to find typos

        • mrashad74 9 hours ago

          Typos are a sign of human intelligence :D

    • systima 1 day ago

      What is “soneshot”?

      • jjice 1 day ago

        I think it's a typo of "oneshot", referring to a single prompt being able to handle the entire task.

      • Farmadupe 1 day ago

        Yes that was my typo. Sorry about that.

  • Julia_marry 1 day ago

    So true, people think they can prompt AI, tell it to create something amazing and "Novel" so they can feel cool and bragg about it. Shame on such people.

    • mrashad74 1 day ago

      no one said it's amazing or novel, it's just a fun experiement I'm not selling this :) just out of curiousity to explore.

    • zamadatix 1 day ago

      It's okay to share fun thoughts even if you haven't put blood sweat and tears into them.

  • gabucino 1 day ago

    lol sure

    "claudia slop me up some 600m, commit, push, make 500 pages of slopped README.md, github stars+++"

    great, you should definitely do this, there will be absolutely no problems whatsoever and it'll also run at peak speeds while of course being completely unusable because who wants to run a slopped 600m

    t. at 1200+ commits on my "oneshot"

    • mrashad74 1 day ago

      No one will run a slopped 600M or even 16B for anything serious today, the whole goal is to experiment, to push both limits of what can be done with the model, and the hardware itself.

      It's fun times actually. And I think such experiments and others posted are both showcasing the limits people are pushing.

  • anthk 11 hours ago

    Well, my netbook. Atom n270, 1GB of RAM, 1.5GB potentially with ZRAM. If it can run in that, a Pentium 4 with SSE2 would be the closest setup down.

    • mrashad74 10 hours ago

      this would be a nice challange but from what I did, very doable.. not a usable speed maybe.

  • Foobar8568 10 hours ago

    It won’t one shot it and it’ll be packed with issues. I know, I have done a few similar toys in the past months. And the biggest challenges will be on the integrity and performance especially if we aren’t too knowledgeable. And considering that I feel the current iteration bullshit more than at one stage this year…

    • Farmadupe 1 hour ago

      I put my tokens where my mouth is and submitted that exact prompt. Haiku 5.5 is capable of writing that inference engine.

      I used my subscription, but the equivalent API cost was $1.20.

      https://github.com/Farmadupe/qwen3-asm-agent-demo

      Haiku was able to optimize to within reasonably close to the memory bandwidth limit of my laptop.

      Not making any statement that this engine is useful, just that it's possible.

      KLD is 1e-11 nats vs f32 inference in transformers (measurement script is in branch kld)

  • IncRnd 9 hours ago

    You mentioned one-shot prompts. What you provided is a zero-shot prompt, not a one-shot prompt. The main difference is that one-shot prompts provide an example and use fewer tokens, where zero-shot prompts will tend to have output that differs in format and correctness on every run.

mrashad74 1 day ago

Recently I started this open source project at my AI company, where I'm trying to make LLMs working

Now Reached 16B models running on iPad Air 1st gen and xiaomi tv box, both have less than 1GB of usable memory, and reached some decent speeds given the hardware.

I'm open sourcing the effort done, kernels developed and results for everyone to re-produce and push more, also the modified models are on hugging face : https://huggingface.co/hyperionaidev

I want a more challenging device, what do you think?

  • post-it 1 day ago

    > I want a more challenging device, what do you think?

    One of those vapes with a screen on it.

    • mrashad74 1 day ago

      challenge accepted.

      • pcthrowaway 17 hours ago

        I have about 12 of these Rifbar Mixpads saved up: https://rifbar.com/product-mixpro

        They have a color LCD display that looks unnecessarily good considering what it does. You can see an example of one of the animations at the 52s mark in this video https://www.youtube.com/watch?v=peNyiLt5SKk&t=52s

        I've got no idea what's inside of it yet but I'm open to tinkering if someone can walk me through it

        I doubt any vape is powerful enough to run any LLM on its own, but idk if it's possible to run one on a cluster of vapes.

        • mrashad74 16 hours ago

          a cluster of vapes running an LLM would be insane. a single vape of these though may run a small LLM like few hundred thousand parameters, worth tinkering with.

          • pcthrowaway 12 hours ago

            Vapes typically have less than 100KB of RAM, though I haven't been able to find specs for the Rifbars yet. But I assumed even if they're 1MB that's still not enough to run any kind of LLM right?

            • mrashad74 11 hours ago

              not usable ones tho, but something like Karapathy's LLM may run

        • gunsle 7 hours ago

          A cluster of vapes, lmao

          • pcthrowaway 46 minutes ago

            Honestly I'd really love to do something cool with them. Either figure out a way to rig up the LCD's for some kind of visual project, or running an LLM model or web server sounds fun as well.

            I have maybe 100 other vapes saved up that also have some interesting componentry, after reading "Hosting a website on a disposable vape"[1], which used a vape with these specs:

            - 24MHz Coretex M0+ - 24KiB of Flash Storage - 3KiB of Static RAM

            But I'm assuming the Rifbar needs more powerful components for its display and animation, which is higher-res than the old Game Gear handheld display

            [1]: https://bogdanthegeek.github.io/blog/projects/vapeserver/

  • fredley 1 day ago

    > a more challenging device

    A Playdate

    • Isamu 1 day ago

      Aw man I would love to be able to use the crank to back up the agent dialogue, maybe make it branch forward in a different direction. Make the dialogue into a game

      https://play.date/

      • mrashad74 1 day ago

        pretty interesting, I don't own one, but it's possible probably with an emulator to figure this out, thanks!

      • cubano 1 day ago

        Yes this has been my exact thought for awhile now.

        Perhaps the real value with AI is going to come from...surprise here...a whole bunch of different low resource AIs networked together living and working and yes playing thru a networked "society"

        Sounds kinda familiar doesn't it?

      • rpastuszak 1 day ago

        I made myself Remote Control Deluxe(tm). Which is essentially a remote control connected to my Claude and VLC.

        I hold A to speak. B to cancel. Turn the crank really fast and really slow → send the prompt!

        I still do use it sometimes.

        The app talks via serial and WiFi.

    • schaefer 1 day ago

      vigorously turn the crank to speed up the output. ha.

  • shujito 1 day ago

    perhaps the pi 1st/2nd gen?

    I'd thought of the ESP32 devices but their RAM is too small

    • gabucino 1 day ago

      Pi 1 is too easy. My PicoLM [fork] already runs on it.

      It also runs on MS-DOS 80386 2MB RAM, so...

      And iPhone 1. And Digital UNIX.

      • mrashad74 1 day ago

        Raspberry Pis in general are too easy for this task they don't even need modifications, older iphones seem more interesting due to some work on comptability.

        • saturn8601 1 day ago

          Machines with unified ram work better? whats the bare minimum Ram you need? Maybe those old SGI or Sun machines could have a second life. SGI boxes made the Terminator come to life on the big screen so now their second act could be to help bring the real terminator to life :P

          • aa-jv 14 hours ago

            Yes please, my Indy, O2 and Octane2 are all sitting there waiting for some hot Terminator LLM action.

        • tslmy 6 hours ago

          Try an iPod Touch 4th gen? IIRC it's the last model that doesn't support anything higher than iOS 6, so it would be fun to have a local LLM running in a native app that speaks skeuomorphism.

      • saturn8601 1 day ago

        I have a basement full of Pentium 4-Core 2 Quad machines lying around. Has anyone strung together machines of this era to make something work? I always imagined that even if I were able to provide something like 4-8GB of ram per box the token speed would be measured in tok/hr or something.

        • gabucino 20 hours ago

          the thing that kills them is the complete lack of any kind of matmul instructions. With my PicoLM fork it's possible to "play" GPT-2-AIdungeon on an iBook PowerPC 1.2Ghz with 1GB RAM (scalar instructions, as I said), but it's only for men of the more... patient variety.

          Even a Pi 3 is a no-go for any model of consequence. At the very least get a Pi 4 or old ARM phones with NEON.

          • mrashad74 16 hours ago

            ipad Air I tried doesn't have matmul, but there are tricks you can do to work around it actually.

        • mrashad74 18 hours ago

          this kind of old processors are smth I want to explore honestly, I don't know if the processor capabilities will allow smth interesting to happen or not, but they're for sure on my target list.

          I think realistically smth around 5tok/sec is possible with them for 2B models or so if you provided enough ram for streaming. worth a shot

      • mikeayles 1 day ago

        I was looking for the lowest claim in this thread, as I managed to get a nano LLM running in the ≈3mb of SRAM of an FPGA with zero DDR in the loop at 20k tok/s, but 2mb on a 80386, great job.

        Have you got a write up for it?

        • mrashad74 16 hours ago

          I ran YOLO on an FPGA for my bachlor's project degree project like 7 years ago, but this is even more interesting, and I think we can push bigger models with weight streaming. I still have an FPGA lying around.

          • mikeayles 14 hours ago

            I haven't written a new blog post for it yet but there's currently a demo live of my FPGA running bonsai 8b on the same FPGA here

            https://www.mikeayles.com/blog/on-chip-llm-kv260/

            Its right up against the wall of DDR bandwidth, so I'm trying every trick in the book to get the speed up

            • mrashad74 12 hours ago

              Decent!! Also I love the idea of the live chat, would you mind if I put a reference to it on my repo?

              • mikeayles 24 minutes ago

                Absolutely, feel free. I'll try and remember to send you a message when I write up the big-kev and how it was done, but it isn't as crazy as the 20k tok/s SRAM only approach

  • boricj 1 day ago

    A PlayStation 2 dev kit (with 128 MiB of RAM instead of the standard 32 MiB).

    Between the VUs, the R5900's SIMD (MMI), the GS and the I/O buses (FireWire, Ethernet, IDE, Memory Cards...) to stream model weights, the smallest Bonsai models (or aggressively quantized Qwen3.5-0.8B) and some really cursed programming might just eke out something the PlayStation 2 has no business running.

    • pcwalton 1 day ago

      This would be fascinating. I've sometimes wondered how computing would have been different if we'd known how to build modern LLMs in the 2000s, despite the much poorer hardware (leaving aside how you could possibly train such a thing back then).

    • saturn8601 1 day ago

      Wonder if its possible to solder on more RAM to the PS2 like you can with the Xbox.

    • WhiteDawn 23 hours ago

      Already done. Ofc you’ll be streaming the weights off the optical drive ;)

      https://github.com/xaskasdf/ps2-llm

      • mrashad74 18 hours ago

        streaming weights of the CD drive should be top 10 blessed engineering hacks I've seen in the past 2 weeks.

  • deadbunny 1 day ago

    A Speak and Spell that replies using the voice processor

    • mrashad74 1 day ago

      Is it even still around? :D would be interesting if actually accessible idk

      • cellular 20 hours ago

        I got speak-n-spell voices working on arduino mini.

  • Copenjin 18 hours ago

    The only challenge in that case is ram (512, cpu is fine), but I think you should try getting something usable on the raspberry pi zero.

    Once that's done it means people(or startups) can get an edge LLM subsystem on their projects for the zero or boards with more ram.

    • mrashad74 12 hours ago

      actually the pi zero is a nice target to play with next, will give a shot and report

nico 1 day ago

This is very cool. Love the trend of optimizing small models

I’ve been working on small local models and it’s amazing how fast the tech has progressed

A year ago, I was creating conversational characters by finetuning a qwen 2.5 0.5b param model, and it worked pretty well. But no reasoning or math capabilities, and still required some decent specs to run; could maybe do well enough in a beefy raspberry pi

But now, I have a locally trained 6.5M param model that does reasoning, solves multi-step math problems, does simple physics problem simulation, tool calling, RAG and conversational chat. Total size about 30MB packaged for ONNX, and runs with <10ms latency in the browser

  • mrashad74 1 day ago

    A year ago 1B parameter models couldn't do much, today with the correct harness and/or fine-tuning they can do more or less serious work (not frontier tho).

    I believe in a 6-8 months it will get even better and my TV will be happy.

    I didn't try fine tuning so small models honestly but looks interesitng to try.

    • BoredomIsFun 13 hours ago

      Not sure about 1b but 2.5 years old gemma 2 2B was very capable and useful model I used for summarizing aricles then.

  • Alpha3031 23 hours ago

    6.5M! Impressive. Is it initialised or distilled from any base model or entirely from scratch? What kind of training data for the RAG and conversational chat specifically?

    • nico 18 hours ago

      > 6.5M! Impressive

      I've been surprised myself. For reference, it gets better ppl (and with faster training), than the nanogpt model from Karpathy's tinyshakespeare tutorial, at smaller size (nanogpt is 10M params)

      Trained entirely from scratch. Which gets it pretty far in terms of basic conversational skills, especially when also trained on chat conversations

      The training sources are:

      1. Google Synthetic PersonaChat

      2. DailyDialog

      3. SODA conversational data

      4. Hand-written model-personality conversations, repeated during training

      5. Identity-corrected conversations—rewritten names, human-life claims, and hobby responses

      6. 960 synthetic recovery conversations, teaching it to admit ignorance after user push-back

      The final set contains 23,270 conversations

      However, the chain reasoning and math problem solving skills, I was only able to add recently, by grafting certain parts from a 1B model, then doing space-weight programming, and finally finetuning/training to get the model to "get used to" reasoning. The "full model" is more of a harness + model:

      * Frozen base model to interpret questions

      * Additional trained heads to select question types, evidence, and follow-up behavior

      * A library tool for retrieving facts

      * Working memory and internal script language execution for arithmetic, conversions, and comparisons across answers. For example, it can retrieve a building’s height, remember that number, then execute “half of that”

      * Identity extraction and physical simulation, so you can do thing like - User: "Ben has the ball", User: "Who has the ball", Model: "Ben", User: "Ben gave the ball to Sally", User: "Who has the ball now?", Model: "Sally"

      It's relatively easy adding skills either via its internal scripting language, grafting+weight programming, fine-tuning and/or training it to use a new skill. The main limitation right now seems to be just quality data and proper supervision, ie. someone to talk to the model, flag issues, fix them, then re-test. This is kinda tedious, but I've found that even the best frontier model is kinda lacking in quality when producing synthetic conversational data, and most datasets out there have a lot of cruft. So I get better results just manually producing the data and iterating, than feeding it GBs of public datasets (even famous datasets have a quite a bit of un-reviewed data, as well as errors, which aren't even published)

      Creating and training this model has been a lot of fun. Since it's so tiny, it's easy to experiment with and try a lot of different things. Most training I can just do in a few minutes locally

      • mrashad74 18 hours ago

        actually your methodology inspired me to try smth related to small models and harnesses I've been thinking about - and seems you got the main pieces (the idea was trying to see what custom harnesses can extract more accurate reasoning from small models)

        • nico 18 hours ago

          Awesome, happy to hear that. Hopefully you can post about it here again when you have some results :)

yjftsjthsd-h 1 day ago

It's technically sweet regardless, so don't take this as even a little bit of negative pushback, but I am curious what the utility of these small models is? Are they smart enough to be useful on practical tasks? What are people doing with them?

  • sebazzz 1 day ago

    Also curious on this. They are too dumb to use with tools and if you ask it how to bake a pancake you only get rubbish.

    • mrashad74 1 day ago

      I mostly agree today, but I'm trying to push for the future where smaller models are more capabable, and I believe it will happen + the fine tuned cases I mentioned in other commments.

      On other notes : there is no free lunch, you have to sacrifice something for the other

  • gonzalohm 1 day ago

    Not op but my opinion is that It doesn't matter if it's not currently useful. I think it's important that the community focuses on this line of research because big companies will not. It's in their best interest to make LLMs resource hungry

    • p00ki3 1 day ago

      Yeh; this. They see how GTA6 looks and know a hypothetical scenario like a future Nvidia 7000 series with 96GB VRAM and 512GB system RAM in everyone's home means the entire tech, media, knowledge work labor system; the rich peoples social moat; evaporates.

      It's all quite clearly collusion among a few dozen, hundred. No way their education/experience or data analysis engines have not made them aware.

      They’re just used to Boomer and Silent Generation politicians blithely enabling them cause line go up for them when they do!

      Curious to see how well it works on Millennials and GenZ; the elders were educated before STEM education had matured in a lot of ways. Younger generations have not had debunked fantasy rammed down their throat as scientific fact; Nostradmus types of the mid-late 1900s pointing at some ignorant math assuming it's true because it's written in a scientific notation! Duh!

      Science education of the past gave rise to thinkers like the Oceangate CEO. Nihilists who figure there's no such thing as forever and we all die anyway; so YOLO no matter who I take down with me.

      • weinzierl 14 hours ago

        Science education peaked in the 50s when people still believed there need to be a balance between theory and experiments and that grounding theory with experiments is worthwhile.

        It went all downhill from there. In the 70s and 80s experimental physics got a bad rap and I think this mindset trickled down to education. The turning point for me was the 1993 cancellation of the Superconducting Super Collider, where this tendency must have become obvious to everyone.

        Not sure about your other points and what you conclude from a perceived improvement of STEM education, but I am convinced boomers and Gen-X enjoyed more solid scientific training than later generations.

  • mrashad74 1 day ago

    This is an interesting question, so the idea is, based on experience, fine tuned small models can do narrow tasks very well (my experience running models fine-tuned on customer data as low as 1-2B is very promising) also the goal is to find a breakthrough were instead of the line of work (which I respect) that tries to squeeze much bigger models into smaller hardware like strata and maya, I'm working backward to discover/search for custom kernels and modifications till we exhaust the limit of what a smaller machine is capable of, so instead of people doing 64gb machines and old gpus to run a deepseek, I want to see what is the biggest usable qwen small model can run with reasonable speed on smaller devices, and by scaling as we discover more tricks, normal laptops can unlock more compute - for example a qwen 3.8 27B can do pretty serious work when coupled with a specialized harness - but we are yet to figure out what is the smallest machine that can run it with usable output and usable speed, and this can unlock interesting business.

    • yjftsjthsd-h 1 day ago

      I'm told that qwen 3.8 27B is good enough for practical programming work, so if that's doable then I could easily see the utility. Or... the biggest qwen I see here is Qwen3.5-2B; is that actually capable of programming or agentic work with code?

      • Miraste 1 day ago

        It's not, but tiny models have so far been on the same track of increasing capabilities as large ones. The parameters needed to do useful work keeps going down. It hasn't reached 2B yet, but it's very possible it'll get there. In the last month we've gotten 4B models that can do small tasks.

        • NooneAtAll5 23 hours ago

          > In the last month we've gotten 4B models that can do small tasks.

          where can I read up on that?

    • rybosome 1 day ago

      I find this compelling “merely” as an engineering challenge, but I’m curious if you’ve observed an actual practical benefit?

      By that I mean, have you found a case where a fine-tuned, small model is outperformed by stuffing a heavily tuned larger model in its place?

      • mrashad74 12 hours ago

        I had this case in fine tuned small models (up to 27B) in finance and legal, over bigger models (cost-wise, on-prem for a regulated institution, and better perofrmance because we owned the data pipeline)

  • MomsAVoxell 1 day ago

    Speech recognition, speech generation.

    This alone is quite useful in small/limited devices/contexts.

    Realtime log parsing and summarization is another application I've seen for little LLM's..

    Basically, anywhere you'd use an LLM, but at much, much smaller scales of ontology.

    • mrashad74 1 day ago

      speech models are what I'm trying next because imagine a nice portable meeting transcription device that can hold around without internet and for NDA-ed meetings and so (with permission of course)

  • vector_spaces 1 day ago

    If you work in a highly regulated space subject to e.g. HIPAA, and you work with ancient on-prem systems within a slow moving and risk intolerant organization -- for instance, virtually every state run healthcare system in the US -- then these are all you can hope for.

    In these settings, data is insanely messy beyond your wildest nightmares and hidden away in free-text fields that small models like this are great at cleaning up, normalizing, parsing, categorizing, etc

    • mrashad74 18 hours ago

      Agreed, and it's a new use case to me because actually in the cases I had the clients were okay with getting GPUs and handling the data mess for us, but none of them requested fine tuning, I believe trying to fine tune will be insanely complex from a regulatory prepsective.

      • reasonabl_human 7 hours ago

        Do you work at an AI consulting company or how are you getting exposure to these regulated industries?

        (In another comment you mention being involved in finance and healthcare)

genxy 1 day ago

The AI botnet is going to fill every crevice of civilization, do you want AI ants? This is how we get AI ants.

  • mrashad74 1 day ago

    Or maybe AI bees :(

    • NooneAtAll5 23 hours ago

      that's an interesting thought - can we somehow combine "ai bacteria" specialized into different things and running on different small machines into "one organism"?

      • genxy 21 hours ago

        We are about to find out.

  • aa-jv 14 hours ago

    I want AI octopus. This is only a single iPhone generation away from happening, imho. (Waterproof variant.)

  • euroderf 10 hours ago

    I want A.I. Märklin locomotive and CTC.

jedbrooke 1 day ago

in a similar vein, somebody got tinystories LLM running on the nintendo wii, including gpu acceleration [0].

0: https://github.com/brysontang/iiama2.c

  • mrashad74 1 day ago

    this looks very interesting, it can't run a real (read : working on some real tasks) LLM, yet, but it's actually very interesting device.

    • jedbrooke 1 day ago

      Here’s another repo that might be interesting

      https://github.com/slvDev/esp32-ai

      It shows using Per Layer Embeddings to run models that normally take 100s of MB of ram run efficiently in just a few KB of ram and keeps most of the model on disk. It’s somewhat similar to MoE so it doesn’t stream in the whole model from flash for every token, but takes it even farther. If some of these devices have 1GB of ram and a few GB of disk there might be some interesting options here.

      I’ve been investigating getting something like that running on the Wii too, though I haven’t made much progress in a while. Some basic calculations says a 1B model might be possible, at least a few hundred M

      • mrashad74 1 day ago

        I would actually like to see the Wii one, I don't have one unfortunately so I can't directly try on it but this esp is interesting I would like to replicate and/or improve the results on it, this technique is similar to the streaming i did from flash but probably more efficient, I need to look it up and understand it more. Thanks for sharing it

        • saturn8601 1 day ago

          There is a lot of random e-waste being tossed. Think TV's, Wifi routers, IOT devices. I mean many of these should run right? WRT54G was an extremely common router so something like that? Or the old Laserjet printers that were everywhere.

          • mrashad74 9 hours ago

            Imagine your printer has it's driver failing every 2 days but thankfully it can generate YouTube videos

            • saturn8601 6 hours ago

              Well the driver issue is just begging to be fixed by AI as well and I imagine given all the posts we see of people freeing their devices, eventually that printer will have excellent rock solid drivers. I was thinking more about the times the printer is not printing which is ~99% of the time for most printers. During downtime or in the mornings, it can generate a motivational quote or poem to brighten your day and send it off via text. It could be programmed to know your habits so it can print off directions or a schedule ahead of time without being asked. Essentially whatever that compute can do to aid your life (and it can be entirely personalized to you) makes its value more than a box that sits there taking up space and not earning its keep 99% of the time. The majority of the electricity is used by the print engine and if the world is transitioning to renewable energy one day the energy cost to run its computational load could be negligible as well.

simedw 1 day ago

Thanks for sharing! I'm exploring a similar direction, but optimising for extreme model size. I have gotten an LLM down to 970 KB, with some interesting results compared to GPT-2 (small).

  • mrashad74 1 day ago

    This is extremely interesting, do you have a public repo or write up to share or not yet? if not yet please sign me up when you release it, Cheers!

    • simedw 1 day ago

      I'm planning to have a blog post up in the next two weeks or so (simedw.com), still have a lot of experiments to run, and training even tiny models takes a bunch of time.

  • lilchungus 1 day ago

    Super interesting, not a CS/AI guy here, but I'm curious as to how you can train such a small-sized model give you as accurate an answer or good hypotheses to get you going

rpcope1 8 hours ago

How about weird devices? In the race to pick esoteric devices that can do matmul, I've been wondering if the Xeon Phi cards that are floating around for scrap prices can be made to do something. I also wonder if you couldn't canabilize a slightly aged IBM i, especially if it had one of the newer power architectures with better matrix support as a sort of LLM accelerator.

dava96 1 day ago

This is really cool man. I like this on going trend of resurrecting old tech with AI and this is yet another avenue to explore.

I'd be interested in seeing some older flag ship mobile devices

  • mrashad74 1 day ago

    I have a few phones and tablets laying around, will try to play with..

cjdell 22 hours ago

I have a few Maxwell and Pascal series cards lying around, anywhere from 2GB to 11GB of VRAM. Have experimented with small/tiny models for agentic stuff with mixed results, however they are getting better at tool calling (before they'd just produce junk output that the harness couldn't parse).

I'm excited to see what we can squeeze out of older hardware, in the same spirit of demoscene or "will it run DOOM?".

Especially timely given current hardware scarcity. Will be watching this space.

  • mrashad74 18 hours ago

    if you're having some cards already try to explore what people are doing with weight streaming and model compression, I got good results on older cards with far better models than the 16B

    and the new thing will be "will it run qwen" :D

quickthoughts 10 hours ago

I've also been focusing on ultra efficient local ASR models (for real time transcription) that can run comfortably on a web browser on low end phones/devices. it's actually crazy how capable it is already (https://starbright.quickthoughts.ca/) WER is like ~5 and it works on old phones that I've tested.

  • mrashad74 10 hours ago

    looks nice! what languages does it support?

    • quickthoughts 9 hours ago

      rn just english but I have a welsh (cy) asr model cooking as well, though its still unusable (~25 WER). these tiny models are actually really cool example of distilling but also really really focusing on the engine in a way that takes advantage of crazy compression, decoding etc strategies

  • iceflinger 9 hours ago

    I've been interested in ASR models specifically for transcribing low-bandwidth low-quality radio recordings, are there any specifically focused on this angle in particular around?

mrashad74 11 hours ago

Limits pushed again this time on phones..

Qwen3.6-35B-A3B at 4.9-5.7 tok/s Qwen3-Next-80B-A3B at 2.8 tok/s

And targeting 10 tok/s for both, 35B modified is on hugging face and 80B is uploading..

Animats 22 hours ago

Can you get a model trained to cover a limited area of expertise, such as home control or industrial control? It would be useful to have completely standalone units for talking to medium and large HVAC systems. Especially if they came on hardware with a 30 year lifetime.

  • mrashad74 18 hours ago

    yes I worked with this already in legal, banking and industrial automation. small models with a specified task work well on modest hardware.

  • reasonabl_human 7 hours ago

    Can you elaborate on the use cases you have in mind?

    The more I learn about my HVAC systems, the more I think that area is ripe for technical disruption

    • Animats 5 hours ago

      My standard example on HVAC:

      Some years ago, I went to an Internet of Things meetup in Dogpatch, which is a formerly industrial part of San Francisco. The company had a big open space in an old industrial building. Large old windows looked out on the bay, and an endless chain and shaft arrangement allowed manually opening an upper row of those windows. There was a skylight, with the same endless chain window opening system. There were ceiling fans. And there was a modern HVAC system.

      None of this was under coordinated control. So as the place filled up, it got too stuffy, but not hot. The main HVAC system did not turn on. And nobody was trying to manually operate all those windows and fans.

      Now that's when you want intelligent sensing and control. Sense temp, air speed, and direction, humidity, and rain. (No, don't get them from the Internet, as Nest did.) Inside air temp, CO, CO2, and humidity. Basic motion detectors to see if anybody is present.

      Now you can use all that ventilation. As the number of people increases and CO2 levels go up, open some windows a bit on the bay side. Open the skylight windows a bit and start the ceiling fans in low, blowing upward. That will bring the CO2 down but not over-cool the room. As temperature increases, open windows more and increase fan speed. As the sun sets and incoming air becomes colder, slowly close windows to narrow opening to maintain temperature. Use fan speed to adjust CO2. When everyone leaves, and motion detectors show quiet, open windows more, bring fan speeds to high, and purge the room for a few minutes. Then close all windows, stop fans, and let temperature slowly drop to idle normal, maybe 60 degrees.

      Hotels often have "smart" HVAC systems, because they have rooms which rapidly go from zero people to huge crowds. They're in a competitive business, so if customers notice the rooms seem "stuffy", it costs them revenue. Schools have the same problem, but lack the competitive motivation to solve it, so they rarely have CO/CO2/humidity sensing and a control system that can use that info properly. Offices tend to beat the problem into the ground by making the air conditioning system work too hard without using outside air when it would help.

      You can buy all the controls for this, but you need an HVAC engineer to get them all working right, and there's a long tuning process. That's where AI comes in. Given an explanation of all the components and a picture of the room, and some time to experiment a bit with the effects of various settings, a system should be able to self tune to the environment.

      Incidentally, the IoT presentation was mostly a guy from Samsung touting refrigerators with a tablet in the door. The tablet was not connected to the refrigerator in any useful way. It didn't do inventory or refrigeration control. It was just a message board.

bArray 14 hours ago

So this work appears to work on inference speed and getting large models to work on simpler RAM constrained hardware, whereas my (private) work has been on getting simpler RAM constrained hardware to give agentic behaviour with small models. I've already started the work of using some of the learnings described in this repository. Looking forward to seeing what can be achieved.

  • mrashad74 14 hours ago

    I'm also working on this thread in parallel because it has interesting business aspects, would be happy to see your progress when you release it

    • bArray 9 hours ago

      For me it's just about empowering people to jump on this LLM bandwagon with minimal resources. I'm not expecting top tier work, but I can already sent it off to check the weather on a certain day, or build a small Python GUI. There's still cases where it struggles and cannot recover - which is where I'm actively trying to improve it - without implementing some kind of case-by-case solution.

mentalgear 6 hours ago

Anyone tried running a edge0 on a old Apple TV ?

equitai 8 hours ago

I want to run models on older GPUs without hacking available tools.

Superblazer 10 hours ago

I'd be happy if they work on a raspberry pi 4 at a decent speed

  • mrashad74 10 hours ago

    100% it's on my queue of devices

EagnaIonat 17 hours ago

Great project, but do you have to use the term "maxxing". It has negative connotations as its history is from incel forums.

  • mrashad74 16 hours ago

    it was a fun name honestly, I see people using the term in different funny contexts on twitter/x so I didn't think much actually. but good point.

pytlicek 13 hours ago

I was thinking about something like this last week, very very good

  • mrashad74 11 hours ago

    happy to hear that, feel free to contribute.

nico 1 day ago

> Device #1 is a Xiaomi TV Box S (3rd Gen): Amlogic S7D, 4× Cortex-A55 @ 2.5 GHz, 1.9 GB of RAM (about 1 GB usable)

Whoah!! A tv has almost 2GB of ram?! Does it need it to run Chrome or Electron? /s Ouch

  • mrashad74 1 day ago

    no electrons were hurt in the process of making this :(

hasperdi 1 day ago

What can these small models do? Are they just for novelty?

  • mrashad74 1 day ago

    as of now, it's just for novelty and fun, without serious fine tuning on domain data, you can't really do much with the smaller models.

nullstyle 1 day ago

This is the lord’s work right here. Models at the the intersection of small and useful — forthcoming models, admittedly— will be in the toolset that the next generation of poor kids will use to build a more egalitarian world.

  • mrashad74 1 day ago

    Thanks for your kind words :) hope to do something impactful one day with it

ForHackernews 1 day ago

This is great. I've recently been playing with repurposing some old thin clients as homelab Linux machines

Not my site, but same idea: https://www.parkytowers.me.uk/thin/

All this old/obsolete gear is plenty capable when used with the right software.

  • dava96 1 day ago

    Out of interest, what have you been doing with them?

    • ForHackernews 1 day ago

      Running a pihole, a WeeWx weather station, a NAS backup server, a wireguard VPN, Zot container registry.

  • NortySpock 1 day ago

    Funny, I use that exact website to find passively cooled hardware to use as a server.

    I did get Qwen3.5 0.8B working at 5 tokens per second on the iGPU of a Dell Wyse 7020. I mostly use it to complain to; I have not yet found an agentic task for it. But also the CPU does plenty of small services and terraria servers and such.

    https://nortyspock.github.io/blog/running-a-language-model-o...

datadrivenangel 1 day ago

So does it make sense to try and run models on older 4gb GPUs? I assume the energy efficiency isn't worth it?

  • mrashad74 1 day ago

    well, the whole idea honestly is curiousity about limits of hardware more than actual application today plus the idea that in the future people can run more capable models (in terms of capability @ small parameters) on such devices.

    It makes more practical sense today to just go into 4gb GPUs and many people are working on this already.. on my side of things, it's more on the exploration side for now, until we see what good models get released that can use this capability.

    There are many people on github and x running decent models especally MoE models on older GPUs and it's doing nice, I'm personally tinkering with this at home.

  • zardo 1 day ago

    Unless you have electric resistance heat, and it's cold.

  • ThatPlayer 21 hours ago

    How old is old? I keep a Gemma 4 e4b running on a Plex server's GTX 1660 (so Turing hardware). It's got 6GB of RAM though, so maybe try e2b on 4GB.

meisel 1 day ago

Is this the new version of "Can it run Doom"?. Maybe, "can it run Qwen?"

  • mrashad74 18 hours ago

    We're setting standards already:D

peter_d_sherman 8 hours ago

From the above GitHub repository, the following is a really fascinating page on experiments on fitting various smaller LLM's into various resource constrained hardware profiles, that is, information-wise (and keep in mind, I haven't tried all of the techniques), it seems like the best resource for this, that I've seen on the Internet thus far:

https://github.com/hyperionaidev/smolmaxxing/blob/main/EXPER...

mkanephl 1 day ago

ESP P4 or ESP S31?

  • mrashad74 1 day ago

    challenge accepted, I have one lying around, will see.

fiestaman 1 day ago

machine spirits are coming for my calculator

  • mrashad74 18 hours ago

    long live TI-84 Plus, the first sentient calculator

raadxa09 1 day ago

but why that matters in the age of scaling llm ??

  • mrashad74 18 hours ago

    running your own hardware and extracting value out of every piece of hardware is important - one for efficieny, not every application needs smth big - and two for applications that need privacy and similar controls

hypfer 1 day ago

It appears that it's not you doing that but claude doing that.

  • mrashad74 1 day ago

    well, yes claude is doing that, and I'm directing it and building the experiments and direction only, I didn't hide it at all :)

    Everyone is using LLMs now, so it's acceptable to use it for a fun experiment too I believe.

  • mrashad74 1 day ago

    most of the problem is actually brute forcing, so I'm using a brute forcing machine and just giving it pointers to reduce the size of search space for tricks, still fun, nothing frontier I know, but it's nice to see what we can do with our little brute forcing machines.

    • hypfer 1 day ago

      The fact that you've commented two things under the same comment kinda feels like it's not your doing but the agents doing

      mrashad74 3 minutes ago | parent | next [–]

      most of the problem is actually brute forcing, so I'm using a brute forcing machine and just giving it pointers to reduce the size of search space for tricks, still fun, nothing frontier I know, but it's nice to see what we can do with our little brute forcing machines.

      reply

      mrashad74 4 minutes ago | parent | prev | next [–]

      well, yes claude is doing that, and I'm directing it and building the experiments and direction only, I didn't hide it at all :)

      Everyone is using LLMs now, so it's acceptable to use it for a fun experiment too I believe.

      reply

      • mrashad74 1 day ago

        not really it's just a mistake of my side replying to differnt comments - I don't not use any agents for interacting online :D

  • asdfman123 1 day ago

    That's programming in 2026. Right now, Claude it doing my job for me, but if it goes well enough I'm the one who's going to be promoted.

0xbadcafebee 23 hours ago

Qwen isn't a good tiny model, it's scaled down and leads to bad results. It'll output the name of a capital city, but then it falls down on real work. MiniCPM, LFM, K2, Granite, Nemotron Nano, Gemma E2B, are designed to do work at tiny size. Speed means nothing if it gets stuck in doom loops, can't tool call, isn't trained on embedded functionality, etc. (https://artificialanalysis.ai/models/open-source/tiny)

  • mrashad74 18 hours ago

    I agree, this is why in the further experiments I was putting LFM as the main model not qwen, qwen was nice to prove the point for me, but as I wanted to do more work it became unusable and bad quality, LFM is fine, Gemma didn't perform well but I didn't go far with it, I need to check the others,and I tried MiniCPM but not on this project.

    Thanks for the pointer!

samfierro 6 hours ago

love the name smolmaxxing lmao

shevy-java 1 day ago

AI skynet is winning. The spread of the slop is unstoppable now.