TorchTPU replaces PyTorch/XLA and is released under the Apache 2.0 open-source license across four GitHub repositories.