Better HN
topnewbestaskshowjobs
Log inSign up

dougcalobrisi

166 karma · joined Jul 20, 2020 (6y ago) · 38 submissions

Submissions

comment 3w ago · link · parent

I'll get a post together with some photos of the rat's nest soon. It's definitely not fancy. :-)

I think a lot of folks use open air aluminum extrusion frames that were once meant for mining.

comment 3w ago · link · parent

Yeah, it's the firmware. It's an AM4 board, and the BIOS only gives PCI devices the space from the top of RAM up to 512 GB. Each 32 GB BAR has to start on a 32 GB boundary, and its small doorbell BAR spills into the next slot, so each card needs 64 GB. Six won't fit. So I turn Resizable BAR off in the BIOS and resize the four R9700s from Linux, where I hit the kernel bug.

comment 3w ago · link · parent

thanks, fixed

comment 3w ago · link · parent

This is my post. Basically, I needed P2P between four R9700s for tensor parallel serving, which means a 32 GB BAR on each card. With all six GPUs in, the BIOS couldn't map them, and Linux sized the switch's window too small, so only two cards got their BARs. The module in the post works around that. With P2P off, prefill was about half as fast.

5.

Fitting Four 32 GB Resizable Bars Behind a PCIe Switch on Linux(doug.sh ↗)

94 points · by dougcalobrisi · 3w ago · 37 comments

comment 3w ago · link · parent

I’ve been fooling around with a lot of consumer GPU hardware and having a fun time. There are so many rabbit holes and interesting parts available to piece a Rube Goldberg of a performant clanker together.

https://doug.sh/posts/six-gpus-one-x16-slot/

comment 3w ago · link · parent

This was my ~weekend project. It's a PEX88096 switch card in the CPU x16 slot of an AM4 motherboard, running four R9700s and two 3090s at x8 each. A switch was really the only way I could see to hang this many GPUs off a consumer board.

My favorite result: a P2P copy across the four R9700s moved 54.7 GB/s in total, about twice the ~28 GB/s the x16 uplink carries one way, so that traffic never leaves the switch.

The kernel was less cooperative. Current kernels (7.0.6 on this box at the moment) size the switch's bridge window too small for four 32 GB BARs, so two of the R9700s just came up without them. I ended up writing a small module that lays out the BARs before amdgpu loads to get around it.

It was a very fun adventure and I have a few more posts coming later this week about some rabbit holes I fell into along the way.

8.

Six GPUs on One X16 Slot: R9700s and RTX 3090s Behind a PCIe Switch(doug.sh ↗)

10 points · by dougcalobrisi · 3w ago · 2 comments

9.

Custom Models in Oh My Pi: vLLM, Llama.cpp, SGLang and More(doug.sh ↗)

2 points · by dougcalobrisi · 2mo ago · discuss

10.

Keeping vLLM's Prefix Cache Warm Between Agent Turns(doug.sh ↗)

3 points · by dougcalobrisi · 2mo ago · discuss

comment 2mo ago · link · parent

Short version - I had omp talking to Qwen 3.8 27B on a pair of 3090s and every turn took way too long. Over a day, I (with Claude's help) logged the traffic and it was mostly the model thinking. Qwen 3.8 goes to xhigh reasoning if you don't tell it otherwise, and a few of omp's internal helpers don't tell it. A thinking budget and an effort level per role got turns significantly.

A couple of other things turned up along the way. vLLM was returning a truncated tool call as if it finished (half a file on disk, "wrote successfully"), and Bifrost was shuffling the tool definition fields between requests so the prefix cache missed. I have PRs (now merged) with Bifrost and mcp-go for the shuffling.

It was a very interesting learning experience about model serving and harnesses. This post really only covers the latter, but I'll do another on the vLLM side soon.

12.

Tuning a Local Coding Agent: Oh My Pi and Qwen3.8-27B on Two RTX 3090s(doug.sh ↗)

5 points · by dougcalobrisi · 2mo ago · 1 comment

comment 3mo ago · link · parent

I posted this a few months ago, but figured I'd try again since I don't hear about this pattern much. I'm using it daily, especially for exploratory tasks. It helps tremendously. (https://news.ycombinator.com/item?id=47896577)

14.

Give Your Coding Agent a Journal(doug.sh ↗)

6 points · by dougcalobrisi · 3mo ago · 2 comments

comment 3mo ago · link · parent

Route53 makes a great, simple, HA key-value store for some use cases. I've used it in GitHub Actions when nothing else was easily available to store values and put a little post together explaining how a while back. For many things, there isn't a reason for more complexity.

https://doug.sh/posts/route53-as-a-key-value-store-2026-edit...

comment 5mo ago · link · parent

You’re right. I may borrow that if I do a follow up at some point :-)

comment 5mo ago · link · parent

It does take videos (like mp4) as input but will only output the stripped audio track.

I might add the custom filler word functionality and/or perhaps just make the filler word list configurable.

comment 5mo ago · link · parent

This post is mostly about how surprisingly hard it is to cut filler words out of speech cleanly. Apparently, stripping ums isn't a find and replace type thing, because Whisper's timestamps are off by up to a few hundred ms and cutting on them chops syllables or leaves stutters. So, I built a tool, erm, that starts from Whisper's guess, finds where each word actually starts and stops in the audio, and snaps the cuts to silence so there's no click, with ffmpeg doing the splicing.

https://github.com/dougcalobrisi/erm

19.

Removing 'um' from a recording is harder than it sounds(doug.sh ↗)

180 points · by dougcalobrisi · 5mo ago · 91 comments

20.

Erm: A Local CLI That Strips Ums, Uhs, and Erms from Speech(doug.sh ↗)

2 points · by dougcalobrisi · 7mo ago · discuss

comment 7mo ago · link · parent

I'm a big fan of this pattern. It's helped me a lot recently to document a system via Claude poking at it and exploring, journaling as it went.

22.

Give Your Coding Agent a Journal(doug.sh ↗)

4 points · by dougcalobrisi · 7mo ago · 1 comment

23.

Show HN: A LinuxCNC gRPC Server with Clients in Rust, Go, Python, Node(github.com ↗)

2 points · by dougcalobrisi · 8mo ago · discuss

24.

Streamline How Your Code Interacts with Postgres(enterprisedb.com ↗)

4 points · by dougcalobrisi · 1y ago · discuss

comment 2y ago · link · parent

Just to add a little context for those that don't read the article: this jump in scaling performance actually comes from PostgreSQL's improvements from 16 to 17. EDB's Postgres distributions just follow community PostgreSQL extremely closely, so we're able to take advantage of the huge improvements made by the open source PostgreSQL community.

This really is a big thing. Same hardware, same workload, double the performance. That doesn't happen often, especially for a project that got its start in the 1980s and is still growing today.

26.

Scaling Breakthrough: EPAS 17 Scales Twice as Well, Thanks PostgreSQL(enterprisedb.com ↗)

13 points · by dougcalobrisi · 2y ago · 4 comments

27.

Operationalizing AI with Postgres: Vector Databases and More(enterprisedb.com ↗)

4 points · by dougcalobrisi · 2y ago · discuss

28.

The Life of a Bug: From Customer Escalation to PostgreSQL Commit(enterprisedb.com ↗)

4 points · by dougcalobrisi · 2y ago · discuss

comment 4y ago · link · parent

EDB | Senior Software Engineer (Dev Experience and Tools) | Remote | Full Time | https://enterprisedb.com

EDB builds products and solutions based on the world’s best database, Postgres. We have many of the core Postgres contributors on staff and continuously contribute back to the open source community. We're also fully remote.

We're looking for an engineer to focus on tooling and developer experience, by building modern and Postgres dev tools with a focus on usability. These tools will be used in production, development, experimentation, and testing. This role will be especially interesting - and challenging - as we develop highly available distributed database systems of varying architectures.

We use a large mixture of languages, but Go + Python experience is preferable. Experience with C, and database internals knowledge is a huge plus, especially Postgres. Previous work with cloud architecture, specifically AWS, is also nice to have.

https://www.enterprisedb.com/careers/job-openings?gh_jid=510...

doug.calobrisi[at]enterprisedb.com

30.

Show HN: Nested GitHub Action Runners(github.com ↗)

9 points · by dougcalobrisi · 4y ago · 1 comment

12