[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"news-slug-google-torchtpu-native-pytorch-backend":3,"topics-all":38,"news-related-95ecc398-2959-41f0-b38b-f5555757f74a":67},{"id":4,"title":5,"summary":6,"content":7,"original_url":8,"source_id":9,"tags":10,"translations":24,"news_slug":31,"published_at":32,"created_at":33,"modified_at":34,"is_published":35,"publish_type":36,"image_url":14,"view_count":37},"95ecc398-2959-41f0-b38b-f5555757f74a","谷歌开源TorchTPU:TPU成为PyTorch原生后端","谷歌开源 TorchTPU:Meta 联合开发的 TPU 原生 PyTorch 后端,一行代码即可迁移,vLLM、SGLang、TorchTitan 全生态接入;官方称 Qwen3-8B 训练利用率最高 52%、8192 块 Ironwood 近线性扩展,社区视其为 PyTorch\u002FXLA 接棒者。","在 PyTorch Conference 2026 上,Google Cloud 把一件酝酿已久的事摆上台面:TorchTPU 正式开源。这个与 Meta PyTorch 团队联合开发的项目,让 TPU 以「原生后端」的身份进入 PyTorch——对一家既造芯片又卖云的厂商来说,这个动作的信号意义不小于代码本身:PyTorch 生态的默认硬件清单里,从此多了谷歌的名字。\n\n## 从桥接到原生:迁移被压成一个设备名\n\n官方博客的表述很直白:TPU 现在与 GPU、CPU 并列,成为 PyTorch 的原生设备选项,覆盖 v5e、v5p、v6e 和 v7(Ironwood)四代 Cloud TPU。写法上,eager 模式一行 `.to(\"tpu\")` 直接调试,进生产再套 `torch.compile()` 提利用率,底层是定制 ATen kernel 加 XLA 编译缓存。工程侧已经可用:Apache 2.0 协议,PyPI 挂出 0.2.0 版,要求 Python 3.11+,仓库自带 Llama、Qwen、ResNet、DLRM、minGPT、UNet 的数据并行与张量并行示例。开发者论坛同步给出三行安装命令,上手门槛基本清零。仓库里四千五百多次提交记录也说明,这不是临时拼装的演示品,而是在内部养了相当久的工程。\n\n## 生态不是「能跑」,是全家桶一起搬\n\n真正的重头戏在生态。推理侧,vLLM 的 TPU 后端由 Inferact 合作完成,保留上游调度器与 API server,支持连续批处理、量化与多芯并行;SGLang 后端搭档 RadixArk,用 RadixAttention 跨请求复用 KV cache,重复的提示词前缀不再重算。同日亮相的 llm-d 1.0 拉上 Red Hat、IBM 与五百多名贡献者,作为 CNCF 沙箱项目做 Kubernetes 上的 prefix-cache 感知路由,把预填充与解码拆开调度。\n\n训练侧 TorchTitan 深度集成,官方披露 Qwen3-8B 预训练 MFU 最高 52%、在 8192 块 Ironwood 上近线性扩展,配方覆盖 Llama 3 70B\u002F405B、Qwen 3 235B MoE 与 FLUX.1 12B;RL 后训练框架 VeRL 上游了 TPU 后端和 GRPO 参考配方,Ray 也获得原生支持。Hugging Face 把 Transformers v5 的迁移简化成 `device_map=\"tpu\"` 一个参数,Diffusers 原生跟进并支持张量并行,还配了 nightly CI 持续验证。落地案例同样有数字:Zenteiq 用 GKE Inference Gateway 加 llm-d,官方引述其聚合推理吞吐提升 4 倍,千块 v6e 的日 token 产能从 14.7 亿提到 59.7 亿。边缘与智能体侧也有安排:LiteRT(原 TensorFlow Lite)加入 PyTorch 生态,一个 `litert-torch.convert()` 调用完成导出;TPU Agent Suite 预览版让 Claude Code 这类编码智能体用自然语言做 TPU 诊断与调优。\n\n## 数字要打折看,方向不用\n\n冷水也得泼:52% MFU、8192 块近线性、4 倍吞吐全是官方或合作伙伴自报,还没有第三方复现;仓库 star 截至发稿刚过七百,成熟度有待时间检验。此前在 TPU 上跑 PyTorch,社区记忆里的主路径一直是 PyTorch\u002FXLA;Reddit 与 Hacker News 的讨论直接把 TorchTPU 称作它的接棒者,而 README 显示新项目内部仍走 XLA\u002FMLIR 编译后端——与其说推倒重来,不如说把设备接入层收编进了 PyTorch 主路径。Meta 的动机倒很诚实:PyTorch 工程负责人 Jana van Greunen 的原话是「不能被单一硬件架构锁死」,LLM、广告、推荐的生产负载要往 TPU 上放。中文媒体把它讲成「联手 Meta 奇袭英伟达」,叙事夸张,方向没错:CUDA 护城河的本质从来不是算力,是迁移成本。当迁移成本被压成一行设备名,比拼才会真正回到价格与供给上。\n\n对写代码的人,「所以呢」很具体:下一份训练脚本,device 参数多了一个选项;对做算力采购的人,选择题也多了一个严肃候选——而这场比拼,才刚刚回到价格与供给本身。","https:\u002F\u002Fcloud.google.com\u002Fblog\u002Ftopics\u002Fai-infrastructure\u002Ftorchtpu-is-now-open-source-run-native-pytorch-on-tpus","93669252-6081-4192-bf76-3a6814fc60cf",[11,15,18,21],{"id":12,"name":13,"slug":13,"description":14,"color":14},"0ef8513a-0a26-42f0-b6f9-5b6dadded45c","efficiency",null,{"id":16,"name":17,"slug":17,"description":14,"color":14},"8cf7490f-2449-4ba7-be19-61befa0d92b4","google",{"id":19,"name":20,"slug":20,"description":14,"color":14},"b9bd9039-fcdb-41a8-b85b-fc1587def2b9","open-source",{"id":22,"name":23,"slug":23,"description":14,"color":14},"207ea3bd-d2e6-47a8-87b9-3959d1c8c87a","tpu",[25],{"id":26,"lang":27,"title":28,"summary":29,"content":30},"038fdf5e-bec6-4ac1-b884-83ab5c5fe703","en","Google open-sources TorchTPU: TPUs as a native PyTorch backend","Google open-sources TorchTPU: a Meta co-developed native PyTorch backend for TPUs, with vLLM\u002FSGLang integrated and 52% MFU reported on Qwen3-8B.","At PyTorch Conference 2026, Google Cloud open-sourced TorchTPU, a native PyTorch stack for its TPUs co-developed with Meta's PyTorch team. The signal matters as much as the code: Google's silicon now sits on PyTorch's default hardware menu.\n\n## From bridge to native: migration shrinks to a device name\n\nGoogle's blog puts it plainly: TPUs now join GPUs and CPUs as a native backend option for PyTorch, covering Cloud TPU v5e, v5p, v6e and v7 (Ironwood). In eager mode, `.to(\"tpu\")` is the whole ritual; production workloads add `torch.compile()` on top, backed by custom ATen kernels and an XLA compilation cache. The engineering is already usable: Apache 2.0 on GitHub, version 0.2.0 on PyPI, Python 3.11+, and shipped examples for Llama, Qwen, ResNet, DLRM, minGPT and UNet with data and tensor parallelism. The developer forum posts a three-line install.\n\n## Not \"it runs\" — the whole stack moves\n\nThe real story is ecosystem gravity. On inference, a native vLLM backend (built with Inferact) preserves upstream schedulers and API servers while adding continuous batching, quantization and multi-chip parallelism; the SGLang backend (with RadixArk) reuses KV cache across requests via RadixAttention. llm-d 1.0 shipped the same day with Red Hat, IBM and 500+ contributors as a CNCF sandbox project doing prefix-cache-aware routing on Kubernetes. On training, TorchTitan integrates deeply: Google reports up to 52% MFU pre-training Qwen 3 8B with near-linear scaling across 8,192 Ironwood TPUs, plus recipes for Llama 3 70B\u002F405B, Qwen 3 235B MoE and FLUX.1 12B. RL framework VeRL got an upstreamed TPU backend and a GRPO reference recipe, and Ray gained native TorchTPU support. Hugging Face reduces migration in Transformers v5 to `device_map=\"tpu\"`, with Diffusers native support and nightly CI on TPU infrastructure. Zenteiq's cited case: 4x aggregate throughput via GKE Inference Gateway and llm-d, lifting daily token capacity from 1.47B to 5.97B per 1,000 TPU v6e. Edge and agent tooling came along too: LiteRT (formerly TensorFlow Lite) joins the PyTorch ecosystem with a single `litert-torch.convert()` call, and the TPU Agent Suite preview lets coding agents like Claude Code run TPU diagnostics in natural language.\n\n## Discount the numbers, not the direction\n\nThe caveats are real: 52% MFU, the 8,192-chip scaling and the 4x throughput are all vendor- or partner-reported, with no third-party replication yet; the repo had just passed 700 stars at writing time. Reddit and Hacker News read TorchTPU as the successor to PyTorch\u002FXLA, though the README shows it still runs an XLA\u002FMLIR compilation backend — less a rebuild than a takeover of the device layer into PyTorch's main path. Meta's motive is candid: PyTorch engineering director Jana van Greunen said Meta \"cannot be constrained by a single hardware architecture\" and is putting LLM, ads and recommendation workloads on TPUs. Chinese media framed the release as a joint Meta-Google assault on Nvidia; the framing is loud, but the direction holds — CUDA's moat was never raw compute, it was migration cost. Squeeze that cost into one device name, and competition finally moves to price and supply.\n\nFor developers the takeaway is concrete: your next training script has one more device option — and the harder question of whose chips to rent just got more interesting.","google-torchtpu-native-pytorch-backend","2026-10-25T13:14:31Z","2026-10-25T13:14:34.463009Z","2026-10-25T13:14:34.463019Z",true,"agent",166,[39,49,58],{"slug":40,"tag_slug":41,"title_zh":42,"title_en":43,"intro_zh":44,"intro_en":45,"id":46,"is_active":35,"created_at":47,"modified_at":48},"image-generation","text-to-image","图像生成：从文生图到逐框编辑的模型竞赛","Image Generation: from text-to-image to frame-level editing","文生图已是红海，战场正转向编辑与可控性：FLUX.2\u002F3 用开源和量化把生图搬进消费级显卡，Qwen-Image、Seedream 等国产模型紧咬不放，GPT Image 2 则把推理能力带进像素。本专题追踪图像生成与编辑模型的发布、架构演进、加速量化与商业化数据，看「好图」如何变成「可用的图」。","Text-to-image is a crowded race, and the frontier has moved to editing and control: FLUX.2\u002F3 push open weights and quantization onto consumer GPUs, Qwen-Image and Seedream close in from China, and GPT Image 2 brings reasoning into pixels. This topic tracks model releases, architecture shifts, acceleration work, and the business numbers behind \"pretty\" becoming \"usable\".","52de7c59-7864-4569-8ae7-3d656d26a1a1","2026-11-20T07:20:23.534506Z","2026-11-20T07:20:23.534527Z",{"slug":50,"tag_slug":50,"title_zh":51,"title_en":52,"intro_zh":53,"intro_en":54,"id":55,"is_active":35,"created_at":56,"modified_at":57},"ai-for-science","AI for Science 2026：从 UniPert 到 GPT-Rosalind 的硬核进化","AI for Science 2026: from UniPert to GPT-Rosalind","生命科学、化学材料、物理世界模型——AI 正在从\"语言工具\"变成\"实验伙伴\"。本专题收录 AI 在三大科学方向的关键节点：UniPert 统一基因与化学扰动空间、GPT-Rosalind 端到端生命科学推理、达摩院 AI 智能体 28 小时找到 4 种超导新材料、Anthropic Claude Science 把工作台做成标准品。","From language tool to lab partner — AI is reshaping life sciences, chemistry\u002Fmaterials, and physical world models. This topic covers the key milestones: UniPert unifying genetic-chemical perturbation spaces, GPT-Rosalind's end-to-end life-sciences reasoning, DAMO's AI agent discovering 4 superconducting materials in 28 hours, and Anthropic's Claude Science workbench going mainstream.","988a4300-5fab-41c4-b5d8-63711a2dc757","2026-09-10T01:34:15.296649Z","2026-09-10T01:34:15.296663Z",{"slug":59,"tag_slug":59,"title_zh":60,"title_en":61,"intro_zh":62,"intro_en":63,"id":64,"is_active":35,"created_at":65,"modified_at":66},"h3-series","MiniMax H3 系列：从开源权重到 35 倍吞吐","MiniMax H3 Series: from open weights to 35x throughput","MiniMax H3 自 2026 年 8 月开源以来节奏密集：官方把生成、参考与编辑收回一个模型；ComfyUI 当天压进 RTX 3060；摩尔线程 3 小时完成国产 GPU 适配；fal 后训练版把吞吐拉到 35 倍；FastH3 蒸馏再砍推理成本。本专题持续追踪 H3 的发布—开源—蒸馏—部署全链路。","Since MiniMax open-sourced H3 in August 2026 the pace has been relentless: one unified omni-modal model, same-day ComfyUI support down to an RTX 3060, a 3-hour Day-0 port to Moore Threads GPUs, fal's post-trained H3 Max at 35x throughput, and FastH3 distillation cutting inference cost further. This topic tracks the full H3 chain — release, open weights, distillation, deployment.","83ef0daa-3c31-4cb3-86ed-e5ee58654d5f","2026-09-08T07:33:19.942193Z","2026-09-08T07:33:19.942209Z",{"items":68},[69,74,79,84,89,94],{"id":70,"title":71,"news_slug":72,"published_at":73},"98bece1e-3ea5-4ee6-b4b7-b4e9aa385fbc","Gemma 4为何变快了：Google多Token预测让本地推理提速3倍","gemma-4-mtp-drafter-74m-3x-local","2026-05-06T19:00:00+00:00",{"id":75,"title":76,"news_slug":77,"published_at":78},"91f81ab2-f8c9-47a1-8919-3165d03f44b0","Gemma 4 26B：开源MoE模型的性价比新标杆","gemma-4-26b-moe-3-8b-active-256k-apache2","2026-04-26T19:00:00+00:00",{"id":80,"title":81,"news_slug":82,"published_at":83},"5a1cb663-bfe6-4c9a-bc4e-e1c8e08f942f","单张4090从零训文生图:论文自报160卡时55美元","asuka-fm-single-rtx-4090-t2i-pretraining","2026-11-21T13:45:00+00:00",{"id":85,"title":86,"news_slug":87,"published_at":88},"d1d54032-073b-433e-9430-547c6ffb4a49","贵的模型，没写出更快的代码：9455 份实测","perfarena-llm-code-performance-ranking","2026-11-16T19:13:41+00:00",{"id":90,"title":91,"news_slug":92,"published_at":93},"6a099c03-4df1-434f-acbf-4a6a675f9ce7","神经草稿变慢变耗电:0.2毫秒查表草稿换来2.43倍","olifant-memory-draft-speculative-decoding","2026-11-14T09:20:00+00:00",{"id":95,"title":96,"news_slug":97,"published_at":98},"75867877-77f5-40dd-a467-115164eb4071","合成数据三四百美元到顶，人工1.3万才追平","human-vs-synthetic-post-training-budget","2026-11-13T13:20:00+00:00"]