正在加载视频...

视频加载失败

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 次观看 • 1 个月前 •via X (Twitter)

25 条评论

solst/ICE of Astarte 的头像
solst/ICE of Astarte1 个月前

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

remy🐀 的头像
remy🐀1 个月前

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. 🫠

solst/ICE of Astarte 的头像
solst/ICE of Astarte1 个月前

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

remy🐀 的头像
remy🐀1 个月前

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

Greg Linares (Laughing Mantis) 的头像
Greg Linares (Laughing Mantis)1 个月前

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

remy🐀 的头像
remy🐀1 个月前

@ZackKorman Always down for a chat!

Zack Korman 的头像
Zack Korman1 个月前

This is so dope

Raju Mandal 的头像
Raju Mandal1 个月前

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

EIonAI 的头像
EIonAI1 个月前

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

mac 的头像
mac1 个月前

post the git or stfu

remy🐀 的头像
remy🐀1 个月前

what is git

mac 的头像
mac1 个月前

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

msuiche 的头像
msuiche1 个月前

@_mattata it seems pretty fast inference for WebGPU no?

remy🐀 的头像
remy🐀1 个月前

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

msuiche 的头像
msuiche1 个月前

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

mac 的头像
mac1 个月前

@_mattata vibethinker-3b still fundamentally misunderstood

Max Kupriianov 的头像
Max Kupriianov1 个月前

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.

ɐʞsǝs 的头像
ɐʞsǝs1 个月前

@0x6D6172636F Mmm so good to see virtualization done well

impostor 的头像
impostor1 个月前

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

AI IT PM in HK 的头像
AI IT PM in HK1 个月前

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

alias 的头像
alias1 个月前

This is brilliant.

Zynk 的头像
Zynk1 个月前

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

remy🐀 的头像
remy🐀1 个月前

…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.

Zynk 的头像
Zynk1 个月前

Yes.

Jeff Lindsay 的头像
Jeff Lindsay1 个月前

@chompie1337 whats the vm?

相关视频