TwiScan
Hot
Communities
Account collections
Login
Register
English
日本語
한국의
简体中文
繁体中文
Register and share your invite link to earn from video plays and referrals.
Register now
Ren
@Ryrenz
AI Engineer | 分享实用 AI 工具和实战心得
Joined March 2025
696
Following
12.1K
Followers
Ren
@Ryrenz
2026.09.07 01:02
🔥 浏览器里直接跑大模型的神器 WebLLM,不用后端、不用 API key,网页打开就能聊,算力全在用户自己电脑上 GitHub 狂揽 1.9 万 stars,配套论文挂在 arXiv 2412.15803,底下的运行时 TVMjs 由 CMU Catalyst、UW SAMPL、上海交大、OctoML 和 MLC 社区一起发起。 想给自己的网页加个 AI 功能,以前的流程是:搭个后端、接上 OpenAI、按 token 付费,最后还得跟用户解释一遍“你输进去的东西会经过我的服务器”。三件麻烦事,没一件跟你真正想做的功能有关。 WebLLM 靠 WebGPU 在浏览器里做硬件加速推理,接口照着 OpenAI 那套做的,流式输出和 JSON 模式都在,原来的调用代码基本不用改。Llama 3、Phi 3、Gemma-2B、Mistral-7B、Qwen2 这些开源模型原生就支持,自己的模型也能接进来。 跑起来也不会把页面拖死,模型可以丢进 Web Worker 或 Service Worker 里算,主线程该干嘛干嘛;模型文件缓存在浏览器 Cache API、IndexedDB 或者 OPFS 里,还能用 SRI 哈希校验一遍,防止半路被人掉包。想做成 Chrome 扩展也有现成例子。 上一代 AI 应用要先跟用户要信任,WebLLM 这种是压根不用要。 GitHub:
Show more
0
0
0
0
0
Forward to community
Most Popular Users
Tibo
@thsottiaux
1M Followers
FinancialJuice
@financialjuice
958.4K Followers
First Squawk
@FirstSquawk
579.3K Followers
Serenity
@aleabitoreddit
1.1M Followers
LiveSquawk
@LiveSquawk
504K Followers
Binance Wallet
@BinanceWallet
2.8M Followers
CNBC
@CNBC
6.3M Followers
Seeking Alpha
@SeekingAlpha
347.8K Followers
New York Post
@nypost
4.3M Followers
The Wall Street Journal
@WSJ
22.3M Followers
amit
@amitisinvesting
672.2K Followers
TheStreet
@TheStreet
1.2M Followers
Binance
@binance
16.1M Followers
ClaudeDevs
@ClaudeDevs
825.4K Followers
Reuters
@Reuters
26.5M Followers