Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

A full x86_64 Linux VM sandbox in WASM with host OS read-only folder mount, accessible via native tool calls by a WebGPU LLM. Video is real time. There is no server, no privacy concerns, no “escapes”. Comfortably in a browser tab. Sandboxes work. If they don’t: Not a sandbox.

44,098 Aufrufe • vor 1 Monat •via X (Twitter)

25 Kommentare

Profilbild von solst/ICE of Astarte
solst/ICE of Astartevor 1 Monat

Very cool, do you have any more details on how to set one up?

Profilbild von remy🐀
remy🐀vor 1 Monat

I’ll probably have a short writeup and code by the end of the week. I’ve been running this setup in wazero WASM runtime for several months, and to be completely honest it’s little more than some Make/Go/JSON. But I’m realizing that’s worth writing about now. 🫠

Profilbild von solst/ICE of Astarte
solst/ICE of Astartevor 1 Monat

Yes please! Would love to read more about this and any different approaches you’ve tested!

Profilbild von remy🐀
remy🐀vor 1 Monat

I can definitely write about that (and any other questions or scrutiny you want answered)! Feel free to DM me anything you want covered, I treat my blogs like they’re public facing notes of personal projects, so anything is on the table even if it makes me look silly

Profilbild von Greg Linares (Laughing Mantis)
Greg Linares (Laughing Mantis)vor 1 Monat

Yo @ZackKorman Remy is a bad ass and you should both talk

Profilbild von remy🐀
remy🐀vor 1 Monat

@ZackKorman Always down for a chat!

Profilbild von Zack Korman
Zack Kormanvor 1 Monat

This is so dope

Profilbild von Raju Mandal
Raju Mandalvor 1 Monat

The read-only mount is the detail I like. A sandbox is only as good as the host access it exposes.

Profilbild von EIonAI
EIonAIvor 1 Monat

Cool, are you limited by the 256mb max buffer? happy to pitch in the GPU code part to add cuda/vulkan support to raise it to 4gb

Profilbild von mac
macvor 1 Monat

post the git or stfu

Profilbild von remy🐀
remy🐀vor 1 Monat

what is git

Profilbild von mac
macvor 1 Monat

git is an old old wooden ship that was used in the civil war era (pre llm)

Profilbild von msuiche
msuichevor 1 Monat

@_mattata it seems pretty fast inference for WebGPU no?

Profilbild von remy🐀
remy🐀vor 1 Monat

@maceip It’s just transformers.js with the typical kernel tuning. I’m not claiming to have done anything particularly novel here fwiw.

Profilbild von msuiche
msuichevor 1 Monat

@maceip just curious because the only person I saw trying WebGPU was @maceip and it seemed slower but I guess he used a 3B

Profilbild von mac
macvor 1 Monat

@_mattata vibethinker-3b still fundamentally misunderstood

Profilbild von Max Kupriianov
Max Kupriianovvor 1 Monat

Super cool!! This is what I wanted for (currently runs RISCV64 for speed - soon will switch to a new ARM64 emulator) But memory constrains for iOS is kinda deal breaker.

Profilbild von ɐʞsǝs
ɐʞsǝsvor 1 Monat

@0x6D6172636F Mmm so good to see virtualization done well

Profilbild von impostor
impostorvor 1 Monat

now, put it in an nsjail, just to be sure.

Profilbild von AI IT PM in HK
AI IT PM in HKvor 1 Monat

Read-only host mounts are the boring pass condition for sandbox demos 👀

Profilbild von alias
aliasvor 1 Monat

This is brilliant.

Profilbild von Zynk
Zynkvor 1 Monat

Have you ever seen a children's sandbox that always managed to contain the sand? Not sure that term has been well thought out.

Profilbild von remy🐀
remy🐀vor 1 Monat

…yes? Plenty of times at amusement parks where critical thought went into the design. The purpose of a sandbox is a box to contain sand. Containing the sand is the entire purpose of the box. If the box doesn’t contain the sand: you have a pile of escaped sand and a bad sandbox.

Profilbild von Zynk
Zynkvor 1 Monat

Yes.

Profilbild von Jeff Lindsay
Jeff Lindsayvor 1 Monat

@chompie1337 whats the vm?

Ähnliche Videos