XLA
by bCloud LLC
Version 2.9.0 + Free Support on Ubuntu 26.04
XLA (Accelerated Linear Algebra) is an open-source machine learning compiler that helps optimize and accelerate numerical computations and deep learning workloads. Designed for developers, researchers, and AI professionals, XLA transforms machine learning operations into efficient computations for supported hardware, helping improve performance, memory efficiency, and resource utilization.
Features of XLA:
- Optimizes numerical and machine learning computations for improved performance.
- Uses operation fusion and other compiler optimizations to reduce computational overhead.
- Generates efficient computations for CPUs, GPUs, and supported accelerator hardware.
- Integrates with machine learning frameworks such as PyTorch through Torch-XLA for accelerated workloads.
XLA usage:
$ sudo su $ apt update $ cd /opt/torch-xla $ source /opt/torch-xla/venv/bin/activate $ export PJRT_DEVICE=CPU $ Verify: # python -c "import torch_xla; print(torch_xla.__version__)" # python -c "import torch; import torch_xla; print(torch.tensor(1.0, device='xla').device)"
Disclaimer: XLA (Accelerated Linear Algebra) is an open-source compiler technology developed by Google and contributed to the open-source community. Torch-XLA provides integration between PyTorch and XLA devices. Users are responsible for configuring and using the software in accordance with their organizational requirements, hardware capabilities, and applicable open-source licenses.