Better HN
topnewbestaskshowjobs
Log inSign up

dvmazur

40 karma · joined Aug 24, 2023 (3y ago) · 5 submissions

Submissions

1.

Training-free asynchronous agents playing DOOM(dvmazur.github.io ↗)

1 points · by dvmazur · 1mo ago · discuss

comment 5mo ago · link · parent

AsyncResoning[1] does a trick of that sort to give agents concurrent cache views.

You basically have two agents look at the same cache under different views. Say agent_0 gets [a_1, a_0] and agent_1 gets [a_0, a_1]. They also write to this cache concurrently while decoding. To solve positional embedding inconsistencies they rotate the query projections for each block (a_0 and a_1) separately.

The computations you get that way do not exactly match the setup where you would naively prefill on every step, but are close enough.

Same trick could be used for the setup discussed here, I guess: prefill the document cache separately (p), prepend the system prompt (s) and get a cache view [s, p] from which you can then decode.

1. https://arxiv.org/abs/2512.10931

comment 1y ago · link · parent

GitHub Pages are affected too

comment 3y ago · link · parent

You should check out Hivemind[1]. It is very similar to what you described except it used MoE for "fragmentation". They have a couple of examples of pre-training in their repo. Hivemind was also used to build Petals[2] but it only supports fine-tuning and inference[3] afaik.

[1] https://github.com/learning-at-home/hivemind [2] https://github.com/bigscience-workshop/petals [3] https://chat.petals.dev/

5.

C++ Attribute: Likely, Unlikely(en.cppreference.com ↗)

88 points · by dvmazur · 3y ago · 63 comments