Better HN
topnewbestaskshowjobs
Log inSign up

rfoo

2,493 karma · joined Feb 24, 2017 (9y ago) · 1,050 submissions

about
Submissions

comment 1y ago · link · parent

Or, you can say, OpenAI has some real technical advancements on stuff besides attn architecture. GQA8, alternating SWA 128 / full attn do all seem conventional. Basically they are showing us that "no secret sauce in model arch you guys just sucks at mid/post-training", or they want us to believe this.

The model is pretty sparse tho, 32:1.

comment 1y ago · link · parent

> The only thing that I can say definitively is that there is overhead to doing the literal stack switch. There's a reason async I/O got us past the C10k problem so handily.

You can also say that not having to constantly allocate & deallocate stuff and rely on a bump allocator (the stack) most of the time more than compensate for the stack switch overhead. Depends on workload of course :p

IMO it's more about memory and nowadays it might just be path dependence. Back in C10k days address spaces were 32-bit (ok 31-bit really), and 2**31 / 10k ~= 210KiB. Makes static-ish stack management really messy. So you really need to extract the (minimal) state explicitly and pack them on heap.

Now we happily run ASAN which allocates 1TiB (2**40) address space during startup for a bitmap of the entire AS (2**48) and nobody complains.

comment 1y ago · link · parent

Good points.

Personally I'm more annoyed of async-Rust itself than not having a blessed async solution in-tree. Having to just Arc<T> away things here and there because you can't do thread::scope(f) honestly just demonstrates how stackless coroutine is unreasonably hard to everyone.

Back to the original topic, I bring this up because I believe the performance advantages claimed in these "fibers bad" papers are superficial, and the limit is almost the same (think 1.00 vs 1.02 level almost), even in languages which consider raw performance as a selling-point. In case you need the absolutely lowest overhead and latency you usually want the timing to be as deterministic as possible too, and it's not even a given in async-await solutions, you still need to be very careful about that.

Let alone Python.

comment 1y ago · link · parent

Is there really something to lose? How often do we see "stackless coroutine" listed as advantage in Rust vs Go for network programming flamewars?

comment 1y ago · link · parent

You are right. It's just that multithreading before free-threading was too broken and too slow to the point that very few people use them for high-traffic production things. And people decided to write it like NodeJS to further handwave the problem.

comment 1y ago · link · parent

Zhipu is the most Chinese company out there. Almost all of their fund is from state-owned entities now.

comment 1y ago · link · parent

The project states that:

> LLM & AI-Native: Its structured, tokenizable nature makes it powerful primitive for time-based reasoning, prompt engineering, and log analysis in AI systems.

Being significantly OOD usually does not help in this case, did I miss something here?

comment 1y ago · link · parent

> Calyx would be better than nothing.

Depends on your threat model. If Google, low-effort scam apps or being profiled by apps are your only adversary, then that's true. If random threats on Internet or APTs pwning your phone, or being forensic-proof are part of your threat model, then Calyx is strictly worse than stock.

comment 1y ago · link · parent

Mainly open source stuff. Chromium, Android, etc.

comment 1y ago · link · parent

The problem is worktrees in this case.

comment 1y ago · link · parent

And threads are just 100x better than stackless coroutines, period.

Especially when we have actual threads with UMCG.

comment 1y ago · link · parent

Wikipedia listed a FAIR alumni as cofounder for this "Moonshot AI". Make it funnier probably.

comment 1y ago · link · parent

TBH I'm tired of only the "Ah, an excellent follow-up! You are absolutely right <...> My apologies" part.

comment 1y ago · link · parent

> the speed at which the GPUs can communicate is key

Guess what a telco equipment company is good at :p

comment 1y ago · link · parent

Yes. And those random Internet chatter almost certainly doesn't know what they are talking about at all.

First, nobody is training on H20s, it's absurd. Then their logic was, because of high inference demand of DeepSeek models there are high demand of H20 chips, and H20s were banned so better not release new model weights now, otherwise people would want H20s harder.

Which is... even more absurd. The reasoning itself doesn't make any sense. And the technical part is just wrong, too. Using H20 to serve DeepSeek V3 / R1 is just SUPER inefficient. Like, R1 is the most anti-H20 model released ever.

The entire thing makes no sense at all and it's a pity that Reuters fall for that bullshit.

comment 1y ago · link · parent

Contrary to common belief, it's fine to say negative things about the government in this case, as long as you are not Chinese. They may argue with you (or laugh at you for some even weirder reasons) and you both may have an unpleasant conversation, but that's it.

comment 1y ago · link · parent

Apple pushes a narrative that their devices are secure (not private, but secure). And my less tech-savvy friends sincerely believe that it's due to it being a walled garden, with curated software only.

Apple made no attempt clarifying this.

comment 1y ago · link · parent

What source do you want? I have a few friends who work for them and they all live in either Shanghai (most) or Beijing. And I've never seen anyone who claimed they are based in Singapore or anywhere else before. Does this work?

comment 1y ago · link · parent

> A Singapore based company, according to LinkedIn

Nah, this is a Shanghai-based company.

comment 1y ago · link · parent

Pretty sure it's C++.

inb4 someone yells Rust. No, your `.unwrap()` happily panics in Rust too.

comment 1y ago · link · parent

Thanks for the clarification. Yeah, that's pretty frustrating.

Now I'm curious why grpc, webrtc and some other Chromium repos were set up like this. Google projects which started in google3 and later exported as an open source project don't have this defect, for example tensorflow, abseil etc. They all had a top-level directory containing all their codes so it becomes `#include "tensorflow/...`.

Feels like a weird collision of coding style and starting a project outside of their monorepo

comment 1y ago · link · parent

Dunno why you got downvoted, but I've also tried to let Claude translate a bunch of BUILD files to equivalent CMakeLists.txt. It worked. The resulting CMakeLists.txt looks super terrible, but so is 95% of CMakeLists.txt in this world, so why bother, it's doomed anyway.

comment 1y ago · link · parent

> they make no effort what so ever to distinguish between public header files and their source code

They did, in a different way. The world is used to distinguish by convention, putting them in different directory hierarchy (src/, include/). google3 depends on the build system to do so, "which header file is public" is documented in BUILD files. You are then required to use their build system to grasp the difference :(

> And their public headers tend to do idiotic stuff like `#include "base/pc.h"`, where that `"base/pc.h"` path is not relative to the file doing the include.

I have to disagree on this one. Relying on relative include paths suck. Just having one `-I/project/root` is the way to go.

comment 1y ago · link · parent

> graphene is a major player?

No. It is not. Lineage and a lot of others are major players.

They just have different focus. GrapheneOS cares about being secure. Others cares about being, well, custom, and "privacy", "privacy" as in "noooooooooo I don't want to install google stuff jfc", instead of being secure against random threat actors.

comment 1y ago · link · parent

IIUC, GrapheneOS cares about being forensics-proof very much. And for Android phone forensics without consent, almost 0% of work are done after the boot chain ends. So it's all about firmware.

Non-Pixel devices usually require you to just give up secure boot, in this case a GrapheneOS install could be even worse than stock Android.

comment 1y ago · link · parent

An (arbitrarily) quantized model is a totally different model, compared to the original.

comment 1y ago · link · parent

I don't work for OAI so obviously I can't say for them. But we don't do this.

We don't make hobbyist mistakes of randomly YOLO trying various "quantization" methods that only happen after all training and claim it a day, at all. Quantization was done before it went live.

comment 1y ago · link · parent

The advantage is, now there's an Apple team working on it. They will be bothered by their own bugs and hopefully get them fixed.

Virtualization.framework and co was buggy af when introduced and even after a few major macOS versions there are still lots of annoyances, for example the one documented in "Limitations on macOS 15" of this project, or half-assed memory ballooning support.

Hypervisor.framework on the other hand, is mostly okay, but then you need to write a lot more codes. Hypervisor.framework is equivalent to KVM and Virtualization.framework is equivalent to qemu.

comment 1y ago · link · parent

This does not support memory ballooning yet. But they have documented custom kernel support, so, goodbye OrbStack.

comment 1y ago · link · parent

All system programming languages mentioned by GP share the same set of debuggers and profilers, though. It's not very language specific.
12345
35