7 comments

  • Aurornis1 hour ago
    Although I&#x27;m interested in both topics (KV compression and attempts to stream MoE models from storage) this is at least the 10th vibecoded project on this topic I&#x27;ve seen today alone across HN, Twitter, and some subreddits I visit.<p>At least this one gave credit to the upstream projects which it used as a reference.<p>The llama.cpp project is also getting a wave of vibecoded PRs that are very clearly being produced by pointing claude at the repo and the original paper and having it produce something.<p>Almost none of these attempts contain information that really matters, like actual benchmark tests with differen KV quantization levels (not just perplexity or KLD).
    • _zoltan_53 minutes ago
      &quot;vibe coded&quot; is NOT the bad thing you think it is.<p>Going from paper to implementation from scratch in half an hour or so is great.
      • pqtyw1 minute ago
        If there is nothing valuable it contributes, though? i.e. its not a novel paper then only value is the whatever you personally learn from it.
      • mjr0047 minutes ago
        &gt; &quot;vibe coded&quot; is NOT the bad thing you think it is.<p>It&#x27;s not inherently bad in the same way that a first draft of a novel is not inherently bad.<p>But if someone asked me to read their novel and it was a first draft that they themselves had clearly not bothered reading or editing, I&#x27;d tell them to fuck off.
        • sumeno0 minutes ago
          At least in the novel example the author had the decency to write what they&#x27;re asking you to read.<p>These are more like sending someone who didn&#x27;t ask you a question a LMGTFY link they didn&#x27;t ask for and expecting them to read all the results. Just a complete lack of awareness and respect for the maintainers
      • simonw10 minutes ago
        Sure, but the problem is when you take that half hour of work and share it with other people without making clear how much effort has gone into it.<p>Software is valuable if it has been tested and exercised properly by other people. I don&#x27;t care if you vide coded it provided you then put the real work in to verify that it actually works correctly - and then include the proof that you&#x27;ve done that when you start widely sharing it with the world.<p>Right now it&#x27;s impossible to tell which of these projects implementing the paper are worth spending time with.
      • brokencode46 minutes ago
        That’s a starting spot, but how about some testing and benchmarks?<p>Where’s the value added if the person just tells Claude to do it and then submits a PR?<p>The maintainers may as well vibe code it themselves if that’s all the work the would-be contributor is going to put into it.
        • yieldcrv38 minutes ago
          if it works it works<p>we live in a wholly unoptimized world because the available resources have been so high, while the benefits of optimizing have been so low. that has flipped now and there are tons of low hanging fruit to optimize.<p>I agree that benchmarks would be great, but thats only relevant to this one topic, not the overall agentic coded pull request concept itself
          • sumeno4 minutes ago
            &gt; if it works it works<p>If it works in one case that doesn&#x27;t mean it works consistently or well in the general case<p>I&#x27;ve made lots of things with Claude Code that just work... until I do things in a slightly different order and the whole thing explodes
          • jmalicki33 minutes ago
            It&#x27;s relevant in that it&#x27;s an example that people are doing the easy part - the coding - and skipping the hard part - the benchmarking and proving it works and provides value.<p>A PR without evidence it works and expectations for the benefits using the new feature would bring is kind of worthless.
      • sroussey30 minutes ago
        The authors of the project have CC as well, so doing this is just eating their time.
      • aegis_camera24 minutes ago
        Yes, this took time to test :)
  • simonw6 minutes ago
    I couldn&#x27;t get the downloadable binary to work, or the binary I compiled myself:<p><pre><code> .&#x2F;SwiftLM \ --model mlx-community&#x2F;Qwen3.5-122B-A10B-4bit \ --stream-experts \ --port 5413 </code></pre> Error:<p><pre><code> [SwiftLM] Loading model: mlx-community&#x2F;Qwen3.5-122B-A10B-4bit [SwiftLM] Enabled Async SSD Streaming on directory: e9c67b08899964be5fdd069bb1b4bc8907fe68f5 [SwiftLM] Memory strategy: FULL GPU (69.6GB model, 133.4GB available) [SwiftLM] Download: [===================&gt;] 100% ⠋ (66395.4 MB &#x2F; 66395.4 MB) | Speed: 0.0 MB&#x2F;s MLX error: Failed to load the default metallib. library not found library not found library not found library not found at &#x2F;Users&#x2F;runner&#x2F;work&#x2F;SwiftLM&#x2F;SwiftLM&#x2F;LocalPackages&#x2F;mlx-swift&#x2F;Source&#x2F;Cmlx&#x2F;mlx-c&#x2F;mlx&#x2F;c&#x2F;stream.cpp:115</code></pre>
    • aegis_camera4 minutes ago
      Let me check, I had seen metallib error during development, let me check.
  • robotswantdata34 minutes ago
    Feels 100% vibe coded in a bad way.<p>Llama.cpp already has KV compression and one of the turbo quant PRs will get merged at some point.<p>If you don’t care about the fancy 3 bit, the q8 KV compression is good enough! Don’t bother with q4<p>.&#x2F;build&#x2F;bin&#x2F;llama-server -m model.gguf \ --cache-type-k q8_0 \ --cache-type-v q8_0 \ -c 65536<p>Etc
  • aegis_camera2 hours ago
    We implemented two techniques to run massive 100B+ parameter MoE models natively on the M5 Pro 64GB MacBook Pro:<p>TurboQuant KV compression: We ported the V3 Lloyd-Max codebooks from the TurboQuant paper (Zandieh et al., ICLR 2026) into native C++ and fused dequantization into Metal shaders. This achieves a measured 4.3× KV cache compression at runtime, completely eliminating Python overhead.<p>SSD Expert Streaming: To fit a 122B parameter model (e.g., Qwen3.5-122B MoE) without triggering macOS VM swapping or Watchdog kernel kills, the full ~60 GB weight file remains on NVMe. Only the top-k active expert pages are streamed to the GPU per forward pass at ~9 GB&#x2F;s. As a result, inference runs with only 2,694 MB of active GPU VRAM on the M5 Pro 64GB, while the OS page cache automatically handles hot-expert reuse.<p>By combining these two approaches, we can comfortably run massive models in memory-constrained environments on Apple Silicon.<p>Also tested QWEN 4B on IPHONE 13 Pro.<p>Code and implementation details: <a href="https:&#x2F;&#x2F;github.com&#x2F;SharpAI&#x2F;SwiftLM" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SharpAI&#x2F;SwiftLM</a>
    • anemll5 minutes ago
      Check it out, you might be able to speed it up using this <a href="https:&#x2F;&#x2F;github.com&#x2F;Anemll&#x2F;anemll-flash-mlx" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Anemll&#x2F;anemll-flash-mlx</a> <a href="https:&#x2F;&#x2F;x.com&#x2F;anemll&#x2F;status&#x2F;2038684375425200360" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;anemll&#x2F;status&#x2F;2038684375425200360</a>
    • altruios1 hour ago
      what tokens&#x2F;s are you getting with a 122B MoE model in this setup? I didn&#x27;t see any benchmarks in the benchmarks section on the readme.md
      • aegis_camera20 minutes ago
        I&#x27;ll add more details. We just wired up the pipeline on both MAC and IOS.
      • gigatexal39 minutes ago
        yeah this I&#x27;d like to see added to teh readme.
  • vessenes54 minutes ago
    I like this idea on expert streaming. I&#x27;ve been poking around fairly thoroughly at the same idea - can we fix a set of experts? when can we fix them? How long is the top-k selection &quot;good&quot; for in terms of number of forward passes?<p>One thing I&#x27;ve turned up in smaller models and I&#x27;m sort of winding my way toward verifying in larger ones is that if you train the MoE model from scratch with this kind of knockout &#x2F; subset of experts baked in, then you get significantly better loss outcomes. In small models, it&#x27;s actually better than training an MOE <i>without</i> conditioning on a reduced set of experts per pass.<p>Anyway, pretty cool. There&#x27;s some Pareto-optimal curve based on memory bandwidth, amount of GPU &#x2F; unified RAM and inference compute times for streaming stuff in.
  • boogerlad1 hour ago
    Does this use anything from the flash-moe project?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Alexintosh&#x2F;flash-moe" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Alexintosh&#x2F;flash-moe</a>
    • aegis_camera16 minutes ago
      Yes, this is a reference project, the main different is we don&#x27;t use os swap ( it introduces latency, will add <a href="https:&#x2F;&#x2F;github.com&#x2F;danveloper&#x2F;flash-moe" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;danveloper&#x2F;flash-moe</a> to the original reference as well ).
  • xiphias217 minutes ago
    Another project without running real benchmarks. It&#x27;s very easy to generate tokens, it&#x27;s much harder to solve tasks locally.