CONNECT WITH US
Web3 & Blockchain

Web3 & Blockchain

Anyscale, Google Cloud add native Ray support for PyTorch on TPUs

Blockchain.News logo

Published on

Add as a preferred source on Google
Anyscale, Google Cloud add native Ray support for PyTorch on TPUs

Anyscale and Google Cloud said Ray now supports PyTorch on Google TPUs natively on GKE, with one worker per TPU chip and TPU-aware scheduling.

Anyscale and Google Cloud said on Oct. 20, 2026, that Ray now has native support for PyTorch workloads on Google TPUs, extending the PARK stack into TPU-based training and inference on Google Kubernetes Engine. The companies said the integration is built on Google’s TorchTPU project and KubeRay on GKE, and is designed to give PyTorch users a single-device-per-worker model on Cloud TPUs.

In the announcement, Anyscale said platform and ML teams running on GKE can schedule, scale and operate distributed PyTorch training, vLLM inference and reinforcement learning workloads across GPUs and TPUs on a single Kubernetes control plane. The company said Ray workers on TPUs now map one worker to one TPU chip, using resources={"TPU": 1} and device isolation through TPU_VISIBLE_CHIPS, while switching PyTorch code from cuda to tpu and the distributed backend from nccl to tpu_dist.

The post also said Ray’s SlicePlacementGroup API is used to gang-schedule actors together on the same TPU slice, and that Ray Train’s TorchTrainer can orchestrate distributed data parallel, Fully Sharded Data Parallel v2 and DTensor workloads on single-host and multi-host Cloud TPU slices. The examples in the post specify a 16-worker configuration on a 4x4 TPU-V6E slice, with use_tpu=True, resources_per_worker={"TPU": 1} and automatic setup of PyTorch distributed environment variables.

For inference, Anyscale said vLLM-TorchTPU registers TorchTPU as a vLLM platform plugin, allowing OpenAI-compatible endpoints to run on TPU slices through Ray Serve LLM.


Source link

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.