225 karma · joined Jul 7, 2013 (13y ago) · 88 submissions
Email is gmail.
comment 1y ago · link · parent
2.
Program Explorer Update: June 2025(aconz2.github.io ↗)
1 points · by aconz2 · 1y ago · discuss
comment 1y ago · link · parent
comment 1y ago · link · parent
7.
Show HN: Program Explorer, a container playground(programexplorer.org ↗)
73 points · by aconz2 · 1y ago · 10 comments
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
As for how to get more adoption of property-based testing and/or stateful and/or parallel property-based testing, is there any way to do this from outside the language level? So you'd write your tests to consume commands and produce results from stdio, then an external process can drive the testing process. Can you run these in a VM to get deterministic thread scheduling for any language? Fakes could be implemented in any language and use the same stdio mechanism. And then build up a public set of known-good fakes. Ideally the fakes could be composable but not sure that is easy. Of course for bespoke things you'll need a bespoke fake, but I am thinking of the general stuff like a dictionary, queue, etc. This is all sparked because I've been thinking of how to build a giant inter-language inter-library testing database, initially with unit tests but this made me think about how to incorporate property based tests.
comment 2y ago · link · parent
3.1 Optimised attention: Instead of using a learned W_V to project from C to H, slice V into H sized vectors. (V is just the input tokens X). This is because the matrix multiply is to a lower dimension anyway, so why not just slice. Slicing is just reshaping (L, C) -> (L, nh, H)
3.2 Efficient attention: I think this opens with a typo, "In the last section, we discussed how and why we can remove W_O..." should be W_V not W_O I think. Anyways, same as above, just for the keys this time. Reshape K (which is just X) from (L, C) -> (L, nh, H)
3.3 Super attention: Introduce an (L, L) W_A (lower triangular for masked) that transforms V on the left (X again) from (L, C) -> (L, C) (whereas standard attention has W_V (C, C) that transforms (L, C) -> (L, C) from the right). And they share W_A between heads.More efficient when C > L, so for long context models, probably not more efficient.
I think the first two modifications are equivalent to just setting W_V and W_K to the constant identity matrices right? So that makes me think what would happen if you instead restrict W_V (and/or W_K, W_Q) to be block diagonal (though non square) such that each head has in effect an (H, H) matrix which transforms the slice of X it receives. This is different than standard attention right? Because there the W_V acts over the full C dimension. Almost surely someone has thought of this so I will try to find out
Still learning so all this could be wrong
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
> We call it a superconductor processing unit (SPU), with embedded superconducting SRAM, DRAM memory stacks, and switches, all interconnected on silicon interposer ... Next, there is a glass bridge to a warmer area, a balmy 77 K that hosts the DRAM.
Having 20 exaflops in a 20x20x12 cm volume is cool, but aren't you going to need a memory bandwidth close (factor 10 - 1000 lets say depending on arithmetic intensity) to that to be useful? And total memory capacity as well. I feel like the bytes/second/area (bandwidth flux) would be the limiting factor to make use of that compute density
From the linked paper https://pubs.aip.org/aip/apl/article-abstract/122/18/182604/... the projected JSRAM density is 4MB/cm2 so barely anything on the SRAM front
comment 2y ago · link · parent
Is this accurate? I thought for example gemini pro used image tokens and gpt4-o similar
> without the need for separate image/text encoders
but then they say they pre-trained two different tokenizers, so maybe they just mean that the tokens go into the same attention layer? But then I thought that is how all the multi-modal stuff was happening already?
two typos stabilitize and multiplicate
comment 2y ago · link · parent
comment 2y ago · link · parent
23.
Intel Arc A770: Arrays larger than 4GB crashes(github.com ↗)
14 points · by aconz2 · 2y ago · 4 comments
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
29.
Ask HN: Is there a container runner with data capture? OCI "receipt"?
1 points · by aconz2 · 2y ago · discuss
30.
Interplanetary Virtual Machine (IPVM) Working Group(github.com ↗)
3 points · by aconz2 · 2y ago · discuss