TorchSharp icon indicating copy to clipboard operation
TorchSharp copied to clipboard

XLA support?

Open gbaydin opened this issue 4 years ago • 2 comments

Hi, are there any plans to support XLA through TorchSharp?

gbaydin avatar Sep 13 '21 20:09 gbaydin

@gbaydin XLA is in DeviceType but no particular plans beyond that https://github.com/dotnet/TorchSharp/blob/45056ff4de0791126e56a186777821767033d5d5/src/TorchSharp/Torch.cs#L391

We'd welcome contributions and testing strategies, it's likely very easy to wire this through

dsyme avatar Sep 13 '21 23:09 dsyme

Can we test XLA on Nvidia GPUs, or is a TPU necessary?

NiklasGustafsson avatar Sep 21 '21 16:09 NiklasGustafsson