X 归档 2025-04-22
How?
You wrap your root in: PortalContainer { … }
Under the hood this installs a transparent, non‑blocking Window that contains a single PortalLayerView. This overlay lives above your normal view hierarchy and will draw the floating animation layers.
You mark exactly the two… https://t.co/yIghxXgUWv
You wrap your root in: PortalContainer { … }
Under the hood this installs a transparent, non‑blocking Window that contains a single PortalLayerView. This overlay lives above your normal view hierarchy and will draw the floating animation layers.
You mark exactly the two… https://t.co/yIghxXgUWv
怎么做?
把你的根组件包进: PortalContainer { … }
它在底层会安装一个透明、非阻塞的 Window,其中包含一个 PortalLayerView。这个浮层位于你正常的视图层级之上,负责绘制悬浮的动画层。
你只需精确标记那两个…… https://t.co/yIghxXgUWv
把你的根组件包进: PortalContainer { … }
它在底层会安装一个透明、非阻塞的 Window,其中包含一个 PortalLayerView。这个浮层位于你正常的视图层级之上,负责绘制悬浮的动画层。
你只需精确标记那两个…… https://t.co/yIghxXgUWv
Woah... This is the fastest Transformers.js has ever been! 🤯 Run a 1.7B LLM 100% locally in your browser at over 130 tokens per second! 🚀 No server required.
⚡️ WebGPU-accelerated in-browser inference
📦 Optimized ONNX exports w/ GQA
💬 Multi-round conversations w/ KV caching
⚡️ WebGPU-accelerated in-browser inference
📦 Optimized ONNX exports w/ GQA
💬 Multi-round conversations w/ KV caching
哇哦……这是 Transformers.js 有史以来最快的一次!🤯 在浏览器里 100% 本地运行 1.7B 的 LLM,速度超过每秒 130 个 token!🚀 无需服务器。
⚡️ WebGPU 加速的浏览器内推理
📦 采用 GQA 的优化 ONNX 导出
💬 借助 KV 缓存的多轮对话
⚡️ WebGPU 加速的浏览器内推理
📦 采用 GQA 的优化 ONNX 导出
💬 借助 KV 缓存的多轮对话





