I'm doing some cursed shit after some ppl in my lab were talking about using chatGPT to lay out a PCB, so since I still have the ridiculously huge token budget from Muse I set it upon the task of "Vibe PCB design" by giving it a link to our paper and telling it to make a replacement for one of the boards in it without looking.
Anyway, look upon splendor, despair, etc.:
https://jon-e.net/lvds-receiver-official/passes/pass-0148.html
It used up all my budgeted 500m tokens for this, but the internal token counts that it has put it at close to 1b tokens - this is a sort of known token accounting mismatch where across all internal surfaces tokens are counted at 2x the rate of client visible counts, and the internal counts are the only ones that actually make sense when estimating from the transcripts.
@jonny reminds me of https://commons.wikimedia.org/wiki/File:CaffeinatedSpider.jpg#/media/File:CaffeinatedSpider.jpg also the "schematic" is pretty great, with all of the passive components having indistinguishable custom rectangular symbols
I can't waste my EE colleagues time by asking them to eval whether the entire premise of the board would work even if it was laid out perfectly, but I can ask them to look at what they call "pure RF gore." I don't know anything about this, but the AI companies have promised me that's not a problem, that a total noob like me should be able to design their own chip with no expertise, no problem.
i am nothing even close to being even an amateur at board design but youtube has taught me that this is all very wrong. it is so cursed. this might be a lesson in how not to design a PCB.
I mean, you don't need to be an EE to know that components aren't supposed to overlap.
And are in fact physically incapable of doing so, at least unless you apply sufficient force, in which case you will (1) destroy them and (2) cause a city-sized fusion explosion. Don't try this at home.
Also, the wires connecting them are supposed to, y'know, connect them.
@argv_minus_one @jonny linux has pluses but unfortunately also linuses
so there's a problem... this is a board that is an optical receiver that translates a binary optical signal to digital via a photodiode. You can see that as D1 in the first pic. However the design also specifies that there is a shield can over that area to shield the analog components. This shield also covers the photodiode so... um... well....
The LLM has also designed an entire second fallback build on the same board and left it not hooked up to anything, that's D2 down below, a totally different photodiode that runs at a 400V bias. that's there "just in case"
hang on i ran out of tokens on muse and it's still pushing updates. so. token quotas are enforced at the client gateway i guess. i am in a fucking nest of fractal brokenness where just when i think i had seen the most broken thing ever, i look over and there's another fucking rectangular monolith letting me know i'm about to be taken to a new dimension
people have accused me of sandbagging these models and telling them to be shitty on purpose, which is a fair criticism i guess if you assume that anyone who would be making up "content for engagement" would be doing it on the fediverse. but i will be sure to publish the full chat log on this website when it's done and i can redact all the hundreds of times my github PATs are in the chat history. it will show how i begged and pleaded with the model to "please remove the traces to nowhere and when you move things please remove the traces that used to connect to them and how can you not programmatically just remove all the traces connected to nothing in one shot with 100% deterministic accuracy."
lengthy details about the agony of trying to persuade a brute force machine to lay out a PCB
i had to teach it that moving things was in fact possible, it placed the parts and then told me it was working on layout for two and a half days before i figured out that it did not know that it should be moving things around. i had to ask it to build the whole website so i could compare its layouts over time to know this
having it build the website also burned multiple days, where for horrible subagent logic reasons it spent 95% of its lifetime doing nothing in pursuit of a commit.
it said it didn't have enough room on the board, i said "i don't care, make it bigger, do whatever you need to do to finish it." it enlarged the board, you can see in the timelapse above, and threw the pieces randomly at the top. so it did move the components.
but timeline website viewer in hand, expanded board too, upon pressing it about why nothing had moved across all its passes, it plainly acknowledged that the only thing it had set itself up to do was add and remove wires. it had put the parts in one place and never moved them.
that's still not the end of that even. I had figured that it had used some heuristic parts placement thing. kicad has a builtin tool for this, i assumed it would be default for something that has consumed every pcb blog ever written. instead it had placed them literally randomly with the only constraint being that the parts were all in the pcb.
see my mental model of what was going on was that a) this is a text prediction model and b) it exists only in text and what it can cause to be text by the random scripts it writes, and actually remarkably c) this model is a multimodal model and can get relative position information from a constrained screenshot of something and does do that on its own. SO i assumed that what it had was doing was in these TEXT-BASED file formats of pcb files with a SCRIPTING interface through kicad, that it would do something like 1) "generate some board schematic or definition/use a script to do that" 2) "use the kicad tools to show the board errors which contain TEXT BASED information including numbers" 3) "generate some inline script or whatever to modify that TEXT BASED information in response to the error text" 4) GOTO 2. Even for the most hardcore refuseniks who don't acknowledge any utility from LLMs, that is an extremely reasonable workflow for a turn-based text prediction algorithm to be able to do SORT OF SOMETIMES.
However that is not even close to what it was doing. It had written its own error checking scripts that made no sense. They only reported two numbers that were unrelated to the board state. The only tests it had written for itself were "that the self-reported errors were lower than when the board was started". It tried some A* algorithm to route and when that failed it often just left the trace. I had to tell it to "just use the kicad error detection cli" like 5 days in.
I have not laid out a PCB, but i have worked in a lab that does PCB design for about 4 years now, and i talk to my colleagues and watch over their shoulder and see their lab meeting presentations every week, so i don't know nothing about PCB design. So this is, to me, a great demonstration of how much of the technology is just mentalism (s/o chase millionaire) - projecting expertise that you have through an interface that you think is doing it for you. this is just layout, we haven't reached the actual design of the board. i have no idea what it did, and no means of evaluating it. the optimistic promise of "AI" is letting people do things they otherwise couldn't. nobody who doesn't already know how to make PCBs would be able to make one that worked this way, and this would be just about the worst way to learn if you wanted to know.
edit: so i don't want to hear that i'm sandbagging these models again, i want to see some fucked up shit, sure, that's why i spend time with the fucked up shit machines, but if it was actually possible for me to be like "hey computer make me a chip that projects a holographic jack-o-lantern around my balls" then i'd be doing that as a bit instead.
this is the final problem that it is stuck on, after i cheated and talked it through solving its random placement and other fucked up layout bugs: i need to connect green circle to green line on the blue layer. please someone who knows the economy, please help me get my blue lines out of the way of the green line.
look at that magnificant blue squiggle on the left side. no that doesn't connect to anything.
these things are so infuriating to work with. if it was a normal project where i could just pull up kicad and fix the wires myself, i would just do that, but instead because it's a stupid experiment and also the systems are designed to take your hands away from everything except the prompt, i have to instead say "flatten out the goofy curvy wire and flatten out the other unnecessarily curved blue wire. move the pads slightly out of the way, and then draw the line, it's right there" and then suffer how it interpreted my directions literally and tried to draw a literal straight line, cited that as a failure, and was setting up another 1m token run on diagnosing how to make a perfectly straight line fit.
if you hired a junior engineer, were looking over their shoulder and said "just move those out of the way and connect the line, it's a straight shot" and then you came back an hour later and they had taken what you said literally and just drawn a straight line and were now puzzling about how to reconfigure the whole board to accommodate the straight line, you would fucking fire that junior engineer.
@MrBerard linked me to this earlier and it's just so funny to me man: https://www.anthropic.com/research/claude-electronics-design
they publish two layouts out of 3, say nothing about the token cost or time, give it problems that are so easy they can be laid out in a single layer, and then say "towards solving electronics design." fucking snake oil salesman dog. i'm going to keep going on this and keep prompting it to make the board look slicker for a press release to see how marketable i can get it. i'm not going to even say how it needlessly spec'd a custom-wound transformer because i'm under no obligation to actually describe any of the shit i claim as a tech startup
yeah fucking muse can reason through geometric problems too. it's called "it wrote a thousand scripts that brute forced every possible geometry"
when anthropic says that the language model created its own algorithm to lay out PCBs, what it means is probably closer to something like this, where muse created 1800 python scripts at 208ksloc to brute force through algorithmic space.
the difference is that i post the repo
https://github.com/sneakers-the-rat/lvds-receiver-official/tree/main/scratch
i am just now learning from elsewhere in thread that this is in fact good!!!!!!!! and exactly like how all knowledge works. personal superintelligence here we come, or here we are, or there we go, whichever.
@jonny a system trained all almost all written knowledge, and it still has to work it out from first principles or trial and error 😬
@argv_minus_one @jonny Computing right now is so cursed. You can have the OS written by a charmless dude with an LLM, the OS written by a company selling an LLM, or the OS written by the hardware lockin company that is still somehow failing to make an LLM.
Or you can use the operating system with the pitchfork guy, which…is probably going to be using LLMs shortly if not already.
Or you can use the operating system with the blowfish or the flag, but they haven't received much love on desktop (that all went to the charmless dude's OS), so there's a whole bunch of stuff missing, like Bluetooth and point-and-click network setup. And they may or may not go full slop who knows.
Sigh.
@argv_minus_one It's almost like we're the idiots for not going whole hog on LLMs.
Think it's possible to spin up an LLM OS grift and use the cash to hire a highly specialized covert team of catgirls to build an actually decent OS?
@jonny why are you still using the slop extruders to burn our planet?
No, making fun of them is not worth it.
@mirabilos @jonny
I think it's very well worth it. These posts help the rest of gain a better understanding about how this stuff works. The cost is 0.0000000001% of overall LLM usage.
- replies
- 0
- announces
- 0
- likes
- 1