6,677 karma · joined Jul 18, 2012 (14y ago) · 1,965 submissions
Backend-focused full-stack engineer with 8+ years of experience, mostly focused on Go, Rust, and TypeScript, but open to other options.
Resume: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view
comment 1y ago · link · parent
It’s not easy to estimate the real RAM usage with back of the napkin math.
comment 1y ago · link · parent
And that’s for SSD storage… an enterprise-grade 14TB hard drive is only $18/TB on Amazon right now, less than a third of the SSD price per TB. Call it 100GB = $2 of storage, total, to enable 1000 users to run the editor of their choice.
So, no, I’m not seeing the problem here.
If you really wanted to penny pinch (one whole penny for every 5 users), I think you could use btrfs deduplication to reduce the storage used.
comment 1y ago · link · parent
https://arxiv.org/abs/2311.06242
https://huggingface.co/blog/finetune-florence2
https://blog.roboflow.com/florence-2-ocr/
https://www.assemblyai.com/blog/florence-2-how-it-works-how-...
I don't personally deal with any OCR tasks, so maybe I misread the room, but it sounded promising, and I have seen some continuing interest in it online elsewhere.
In addition to the architectural issues mentioned in OP's article that are faced by most SOTA LLMs, I also expect that current SOTA LLMs like Gemini 2.0 Flash aren't being trained with very many document OCR examples... for now, it seems like the kind of thing that could benefit from fine-tuning on that objective, which would help emphasize to the model that it doesn't need to try to solve any equations or be helpful in any smart way.
comment 1y ago · link · parent
comment 1y ago · link · parent
It sounds like you need to play with some of the existing 32B models with better documentation on how to run them if you're having trouble, but it is entirely plausible to run this on a laptop.
I can run Qwen2.5-Instruct-32B-q4_K_M at 22 tokens per second on just an RTX 3090.
comment 1y ago · link · parent
Cursor also does a great job of showing inline diffs of what composer is doing, so you can quickly review every change.
I don’t think there’s any reason Continue can’t match these features, but it hadn’t, last I checked.
Cursor also focuses on sane defaults, which is nice. The tab completion model is very good, and the composer model defaults to Claude 3.5 Sonnet, which is arguably the best non-reasoning code model. (One would hope that Cursor gets agent-composer working with reasoning models soon.) Continue felt much more technical… which is nice for power users, but not always the best starting place.
comment 1y ago · link · parent
Location: Birmingham, AL
Remote: Yes
Willing to relocate: Yes
Technologies: Go, Rust, TypeScript, React, Postgres, Kafka, AWS, GCP, etc.
Résumé/CV: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view
Email: listed on resume
I have 8+ years of experience. Mostly backend-focused full-stack engineer. I enjoy working on high-scale systems that have a good impact, and require both efficiency and reliability, but I’m open to many options now.I’ve taken about a year to explore different business ideas, but I don’t think any of them are going to work out, so I’m very interested in getting back to a more normal job. But, I did get more experience with native iOS Swift+SwiftUI development, making a really polished app that I use every day. Even though I am backend focused, I can contribute to whatever technical needs arise.
If I were going to relocate, I would see SoCal as a plus, but I’m open to the options.
comment 1y ago · link · parent
If anyone wants to point me to some good C# opportunities, I’m interested. (Tracebit is looking for a founding engineer, so presumably they want someone who is already an expert at C#, and I doubt they want to sponsor the visa work needed to bring someone to the UK.)
comment 1y ago · link · parent
Of course, the model has only been out for a few hours, so whether it lives up to the benchmarks or not isn't really known yet.
comment 1y ago · link · parent
Not quite. "2.0 Flash" is also called 2.0. The "Pro" models are the full models. But, I love how they have both "gemini-exp-1206" and "gemini-2.0-flash-thinking-exp-01-21". The first one doesn't even say what type of model it is, presumably it should have been "gemini-2.0-pro-exp-1206", but they didn't want to label it that for some reason, and now they're putting a hyphen in the date string where they weren't before.
Not to mention they have both "Flash" and "Flash-8B"... which I think will confuse people. IMO, it should be "Flash-${Parameters}B" for both of them if they're going to mention it for one.
But, I generally think Google's Gemini naming structure has been pretty decent.
comment 1y ago · link · parent
I think you misread something. AWS mainly offers the full size model on Bedrock: https://aws.amazon.com/blogs/aws/deepseek-r1-models-now-avai...
They talk about how to import the distilled models and deploy those if you want, but AWS does not appear to be officially supporting those.
comment 1y ago · link · parent
Downstream projects in these languages do not typically use Make.
More to the point, I clicked on the Go one, and it's just including this tiny "Make.dist" file that does nothing except invoke "go tool": https://github.com/golang/go/blob/master/src/Make.dist
Wow. So useful.
I clicked on the Rust one, and not only did it seem to be specific to some old testing infrastructure, but I found this note:
> There are two kinds of run-make tests:
> The new rmake.rs version: this allows run-make tests to be written in Rust (with rmake.rs as the main test file).
> The legacy Makefile version: this is what run-make tests were written with before support for rmake.rs was introduced.
So, it's an obsolete system that is being migrated away from.
But, again, the main point is that what the toolchain does with its free time has little to do with how end user applications are developed, and the complaints in this thread were strictly about building applications in distros, not about building toolchains.
If an application in one of these languages uses make, it is typically just a little syntax sugar around the toolchain commands, which does absolutely nothing to absolve the project of the complaints Linux distro maintainers have about how dependencies are managed.
comment 1y ago · link · parent
Because if they're still using the language-specific build tools and dependency management systems, then I think you would find that the Fedora maintainer higher in this thread would not be any happier that there is a sugar coating of Make. That's not what they're asking for, based on other rants I've seen from Linux distro maintainers.
comment 1y ago · link · parent
On the topic of extending battery life mentioned in the article, one relatively straightforward thing to investigate is simply reducing the processor clock speed. Your application probably doesn’t need to run at full tilt. I think there is a function called setCpuFrequencyMhz — I think it only works with a few specific frequencies, but the lower the frequency you can pick (while still keeping up with your application’s needs), the less power the system should consume while awake.
Of course, you want to be putting the processor to sleep between updates anyways, and there is a trade off between sleeping more (which means running the processor faster so it can sleep sooner, “race to sleep”), versus the inefficiency caused by running a processor higher on the frequency/efficiency curve, so there might be an optimal frequency that isn’t the lowest or the highest possible option. It’s something that would need to be measured.
Just some thoughts! It might not make a big difference if the processor is already sleeping most of the time, but I figured I would mention it as something to try.
comment 1y ago · link · parent
> Another area that stumped me is how to shut the power off 100% on the device, so that it can remain “off” for weeks or months.
This is actually a pretty solvable problem...
https://circuitcellar.com/resources/quickbits/soft-latching-...
Then the microcontroller can choose at any time to completely shut off the entire circuit (including itself), and extremely little power will be consumed until something (like a button) completes the power-on circuit again.
For ease of prototyping, there are off-the-shelf units you can play with: https://www.sparkfun.com/sparkfun-soft-power-switch-jst-2mm....
Some more advanced soft power switch circuits (like the SparkFun switch) also include the ability to forcibly power down a misbehaving device by holding down the button.
The design used in the SparkFun switch also allows your microcontroller to know if the button is pushed while the device is running, so you could imagine repurposing your existing button to also restore power to the device if the device is off, and still retain the existing functionality for cycling through watch faces. Then, either the device could automatically shut itself off after a period of inactivity or when the battery gets too low, or the user could click and hold the button for some number of seconds to turn the device off completely that way.
comment 1y ago · link · parent
As the comments on reddit said, those numbers don’t make sense.
comment 1y ago · link · parent
comment 1y ago · link · parent
No… it downloads the 7B model by default. If you think that is large, then you better hold on to your seat when you try to download the 671B model.
comment 1y ago · link · parent
I was able to get 1 token every 6 or 7 seconds (approximately 10 words per minute) on a 400GB quant of the model, while using an SSD that benchmarks at a measly 3GB/s or so. The bottleneck is entirely the speed of the SSD at that level, so an SSD that is twice as fast should make the model run about twice as fast.
Of course, each message you send would have approximately a 1 business day turnaround time… so it might not be the most practical.
With a RAID0 array of two PCIe 5.0 SSDs (~14GB/s each, 28GB/s total), you could potentially get things up to an almost tolerable speed. Maybe 1 to 2 tokens per second.
It’s just such an enormous model that your next best option is like $6000 of hardware, as another comment mentioned, and that is probably going to be significantly slower than the two M2 Ultra Mac Studios featured in the current post. It’s a sliding scale of cost versus performance.
This model has about half as many active parameters as Llama3-70B, since it has 37B active parameters, so it’s actually pretty easy to run computationally… but the catch is that you have to be able to access any 37B of those 671B parameters at any time, so you have to find somewhere fast to store the entire model.
comment 1y ago · link · parent
https://suno.com/song/da6d4a83-1001-4694-8c28-648a6e8bad0a
https://arstechnica.com/information-technology/2024/04/mit-l...
It's just so good, IMHO.
comment 1y ago · link · parent
The physical controls were incredible… I actually controlled my music from that watch, because you could do it without looking. Who has ever controlled their music from an Apple Watch more than once a month? It’s so clunky and cumbersome, and you have to intently stare at what you’re doing — you might as you reach for your phone.
I can’t believe we’re a decade on, and the smartwatches that exist today are a joke compared to the PTR. The only practical improvement from my Apple Watch Ultra is the fitness tracking / health tracking sensor suite… which is great, but I miss having a good smartwatch, not just a fitness tracker.
comment 1y ago · link · parent
Also, I wonder how you’re calculating costs, because while a 3:1 ratio kind of sort of makes sense for traditional LLMs… it doesn’t really work for “reasoning” models that implicitly use several hundred to several thousand additional output tokens for their reasoning step. It’s almost like a “fixed” overhead, regardless of the input or output size around that reasoning step. (Fixed is in quotes, because some reasoning chains are longer than others.)
I would also argue that token-heavy use cases are dominated by large input/output ratios of like 100:1 or 1000:1 tokens. Token-light use cases are your typical chatbot where the user and model are exchanging roughly equal numbers of tokens… and probably not that many per message.
It’s hard to come up with an optimal formula… one would almost need to offer a dynamic chart where the user can enter their own ratio of input:output, and choose a number for the reasoning token overhead. (Or, select from several predefined options like “chatbot”, “summarization”, “coding assistant”, where those would pre-select some reasonable defaults.)
Anyways, an interesting chart nonetheless.