4 comments

  • TekMol1 hour ago
    This seems to be the demo:<p><a href="https:&#x2F;&#x2F;chat.webllm.ai&#x2F;" rel="nofollow">https:&#x2F;&#x2F;chat.webllm.ai&#x2F;</a><p>I am getting:<p><pre><code> WebGPUNotAvailableError: WebGPU is not supported in your current environment, but it is necessary to run the WebLLM engine. </code></pre> On both, FireFox and Chromium on Linux.
    • toto0071 hour ago
      You can enable WebGPU support in Google Chrome by turning on hardware acceleration and activating the WebGPU flag. It Works.
  • refulgentis2 hours ago
    Project is de facto dead, used it for many years and had to rip it out 6 months ago, don&#x27;t waste your time.
    • skybrian2 hours ago
      What did you switch to?
      • seamossfet1 hour ago
        We use the ONNX runtime for small models in the browser <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;onnxruntime" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;onnxruntime</a>
        • sroussey1 hour ago
          And ONNX is what Transformers.js uses as well, at least for the moment.
      • refulgentis38 minutes ago
        There&#x27;s, quietly, a llama.cpp WebGPU backend that works *great*.<p>Some hacking required, it&#x27;s unsupported, a side project for one of the lead maintainers and someone in school.<p>Note of caution, llama.cpp isn&#x27;t what it was, the grunt-level maintainers are left to their own devices. There&#x27;s one key subsystem where things break regularly and the engineering is poor, and the &quot;lead maintainer&quot; is aggro and isn&#x27;t really involved after delivering their big refactor that was DOA, other than telling people on issues he&#x27;s never seen their repro himself. Carefully pick models you can support down to &quot;I can patch around the Jinja template engine&quot;. Go through the same llama web server APIs. c.f. github &#x2F; telosnex &#x2F; fllama if you need a reference<p>(n.b. seeing peer comments, its much better than ONNX, ONNX never got within spitting distance of llama.cpp, my understanding from watching the LLM runtime is its used for Windows AI features so their models probably work great on Windows x Qualcomm. ONNX is great for smol models though, like VAD, a god send even.)
      • theanonymousone1 hour ago
        Transformers.js supports a lot of models since v4
  • nnevatie1 hour ago
    [flagged]
  • asyncze25 minutes ago
    [dead]