6 ms·
Software expands to fill the available resources. If you want more efficient software, build it on less powerful hardware. AI training runs are no exception!
by modeless 2y ago
Software expands to fill the available resources. If you want more efficient software, build it on less powerful hardware. AI training runs are no exception!
- mkagenius 2y agoI just shoved the whole .webvtt file in the header of a audio Response from the server so that I don't have to implement another API just for subtitles [1][2] 1. While building https://gitpodcast.com https://gitpodcast.com 2. Code snip: https://github.com/BandarLabs/gitpodcast/blob/main/backend/app/routers/generate.py#L170 https://github.com/BandarLabs/gitpodcast/blob/main/backend/a...
- kopirgan 2y agoCan't agree more. Especially as I wait to download 1.3gb file to update some Windows driver like Realtek audio or LED display, and you realise a whole effing Debian operating system with Xfce & apps can fit in a lot less.
- Dalewyn 2y agoWhoever are downvoting this really don't understand that expanding a congested highway merely widens the congestion instead of alleviating it. Software today require several dozen gigabytes of RAM and two dozen CPU cores just to render some simple fucking text because everyone has several dozen gigabytes of RAM and two dozen CPU cores.
- kopirgan 2y agoThanks..Among many other issues, it is also a serious crippling factor for communities and countries that are low on budget/resources & a disaster for recycling, climate change etc etc.
- jasdi 2y agoThis is one of the biggest reasons why China or India are threat to the West. Because their Engineers are constantly in situations were they have to work with much less resources. And they come up with stuff that constantly surprises people for being much cheaper. The western reaction is to then go and buy them out. Its not going to work forever. They have already taken over large swathes of the tech landscape. Even with AI for example, Real Time inference is not required in majority of cases. But the western engineer and corp exec in big tech, are used to buying new data centers everyday (not because of specific Customer Demand, but because of intent to capture market/snuff out competition/build moats or what ever bs an environment of over abundance has trained them to do) and then they have zillions of machines idling which they use to provide real-time inference raising the cost for everyone. Sooner or later someone in China or India working on non real time inference will offer large corps much cheaper solutions. The Western model is where you forget how to cook a meal at home, and end up relying on McDonalds for food, because they are everywhere, thanks to their prime directive of survival via opening new stores everyday.
- Dalewyn 2y agoFor how much we all bitch about beancounters, I'm kind of surprised that beancounters haven't managed to convince management to buy bottom-of-the-barrel Celeron laptops for software developers. Make those fucking assholes use the hardware of the people instead of some monstrosity with a 256 cores CPU and 48 TB of RAM and 24 exabytes of enterprise SSD and an RTX Cinco Grande connected via optical fiber to the Amazonflare Cloudnet. We will see lean and mean software literally overnight.
- rapind 2y ago> Make those fucking assholes use the hardware of the people Are you sure it’s the engineers who are being complacent? I know quite a few coders who’d love nothing more than to spend months on optimizations eking out small performance gains. Their bosses (or the market) don’t let them.
- janalsncm 2y agoBecause shipping fast almost always beats speed/memory optimization. The only reason to even do performance optimization is if it is a constraint on the problem itself (e.g. you work in gaming or HFT). If shipping fast means you spend an extra $1000 once per developer, guess what almost every company is going to do?
- jl6 2y agoThe bloat is real, but it’s not all bloat. We ask for a lot more from our software today. Simple example: rendering text isn’t that simple when we expect full Unicode support. It’s not altogether different from how everything seems to be much more expensive than it was in the 1950s. There are many real and concerning reasons for that, but one less concerning reason is that we have higher standards and expectations now, and that translates to higher cost.
- kopirgan 2y agoI really would like to know what's good bloat and bad bloat like they say with Taliban. To give a random example, Apache http server for windows is less than 12mb download. I used to download Oracle's http which I'm told is based on that, but that's like 1GB++ haven't checked in recent years.
- icemelt8 2y agoThat is such a well-informed inside joke about Taliban, I am amazed.
- Physkal 2y agoWould you mind an explanation.
- selimthegrim 2y agoThe trope is so-called “good” Taliban and “bad” Taliban.
- visarga 2y ago> Software expands to fill the available resources. To make an analogy, that is why I think even with AI work expands to fill available resources (human+AI). I don't think jobless rate will be high, instead we will see demand expansion.
- 1vuio0pswjnm7 2y agoThat's not what "software engineers" in Silicon Valley or Redmond typically do. They write software that usurps other people's computing resources, e.g., CPU, storage and an internet connection that they do not pay for. It's one reason I use NetBSD, custom barebones Linux. I write and compile software on single core old computers and cheap eMMC laptops.
- rangestransform 2y agoYou have to value your own time better than that, at least professionally There is a lot of fun to be had working with vintage hardware in spare time though
- 1vuio0pswjnm7 2y agoBased on the ones I have worked with and the news and commments I read on HN I do not consider "software engineers" to be professionals. I have personally seen how they waste enormous amounts of time.
- fennecbutt 2y agoImagine having the worldview that everyone should be writing NASA code. Ahahaha.