High-Performance Tensor Computing

GPU-Accelerated Tensor Computing Primitives for Machine Learning

We develop efficient tensor libraries for tensor computing, including tensor decompositions and tensor networks. We provide efficient tensor primitives on GPU tensor cores and Tensor Processing Units (TPUs). We optimize the data transfer, memory access, and support key tensor operations. E.g., cuTensor-tubal library fully exploits the separability in the frequency domain and maps the tube-wise and slice-wise parallelisms onto the single instruction multiple thread (SIMT) GPU architecture.

COMPUTING THIRD-ORDER TENSORS ON GPUS

We briefly summarize its concept as well as basic and key operations, and introduce how to compute third-order tensor operations of this model on GPUs. Throughout this study, we focus on realvalue third-order tensors in the space R

DESIGN OF THE CUTENSOR-TUBAL LIBRARY

We design this library on top of existing highly optimized CUDA libraries including cuFFT `{`27`}`, cuBLAS `{`27`}`, cuSolver `{`27`}`, Magma `{`28`}`, and KBLAS `{`29`}` for efficient vector Fourier transform and matrix computations.

OVERVIEW OF THE LIBRARY

The cuTensor-tubal library consists of five layers: Applications; cuTensor-tubal API; Third-party tensor libraries; CUDA libraries; Hardware platform.

PERFORMANCE EVALUATION

We measure the running time and speedups of seven key tensor operations.We test tensor operation performance, and further test tensor completion and t-SVD-based video compression performance.

RELATED WORKS

Early works accelerate tensor computations primarily on single machines with multi-core CPUs or distributed CPU clusters. Later with the advent of the high-performance GPUs, more and more works adopt GPUs to accelerate intensively computational tensor computations.

CONCLUSION AND FUTURE WORK

We presented a cuTensor-tubal library of common tensor operations for low-tubal-rank tensor decomposition.In the future, we plan to extend the cuTensor-tubal library to include more tensor operations,and scale the library onto multi-GPU systems.

TensorLet Team

The achievement of cuTensor we did by now!

For tensor decompositions, our cuTensor library achieves speedups xxx.

Related Publications

[Book Chapter] X.-Y. Liu, Y. Fang, L. Yang, Z. Li, A. Walid. High-performance Tensor Decompositions for Compressing and Accelerating Deep Neural Networks. Tensors for Data Processing: Theory, Methods, and Applications. [Link] Elsevier; 2021 Nov 10.

[To Appear] N. Li, X. Zhi, W. Tong, and X.-Y. Liu. zkFinGPT: GPU-Accelerated Zero-Knowledge Proofs for Financial Generative Pre-trained Transformers. 2026. [NeurIPS Workshop] X.-Y. Liu, N. Li, K. Wang, X. Zhi, and W. Tong. zkFinGPT: Zero-Knowledge Proofs for Financial Generative Pre-trained Transformers. NeurIPS Workshop on Generative AI in Finance, 2025.

[ICDCS] X.-Y. Liu, J. Zhang, G. Wang, Weiqin Tong, and Anwar Walid. Efficient Pretraining and Finetuning of Quantized LLMs with Low-rank Structure. IEEE ICDCS, 2024. [arXiv version] FinGPT-HPC: Efficient Pretraining and Finetuning Large Language Models for Financial Applications with High-Performance Computing, Link.

[NeurIPS] X.-Y. Liu, Z. Zhang. Classical simulation of quantum circuits using reinforcement learning: parallel environments and benchmark. NeurIPS, Special Track on Datasets and Benchmarks, 2023.

[TC] X.-Y. Liu, H. Hong, Z. Zhang, W. Tong, J. Kossaifi, X. Wang, and A. Walid. High-performance Tensor-Train Primitives Using GPU Tensor Cores. IEEE Transactions on Computers, 2024.

[TC] X.-Y. Liu, Z. Zhang, Z. Wang, H. Lu, X. Wang*, and A. Walid. High-performance tensor learning primitives using GPU tensor cores. IEEE Transactions on Computers, 2022.

[TC] H. Huang, X.-Y. Liu*, W. Tong, T. Zhang, A. Walid, and X. Wang. High performance hierarchical Tucker tensor learning using GPU tensor cores. IEEE Transactions on Computers, 2022.
[TPDS] T. Zhang, X.-Y. Liu*, X. Wang. High performance GPU tensor completion with tubal-sampling pattern. IEEE Transactions on Parallel and Distributed Systems, 2020.
[TPDS] T. Zhang, X.-Y. Liu*, X. Wang, A. Walid. cuTensor-tubal: Efficient primitives for tubal-rank tensor learning operations on GPUs. IEEE Transactions on Parallel and Distributed Systems, 2019.

[JPDC] T. Zhang, W. Kan, X.-Y. Liu*. High-performance GPU primitives for graph-tensor learning operations. Elsevier Journal of Parallel and Distributed Computing, 2021.
[HPCC] H. Li, T. Zhang, R. Zhang, X.-Y. Liu. High-performance tensor decoder on GPUs for wireless camera networks in IoT. IEEE HPCC 2019.
[HPCC] H. Lu, T. Zhang, X.-Y. Liu. High-performance homomorphic matrix completion on GPUs. IEEE HPCC 2019.
[ICASSP] X.-Y. Liu, T. Zhang (co-primary author). cuTensor-tubal: Optimized GPU library for low-tubal-rank tensors. IEEE ICASSP, 2019.
[ICAIF] Z. Li, X.-Y. Liu, J. Zheng, Z. Wang, W. Walid, and J. Guo (2021, November). FinRL-Podracer: High performance and scalable deep reinforcement learning for quantitative finance. ACM international conference on AI in finance, 2021.
[NeurIPS Workshop] X.-Y. Liu, Z. Li, Z. Yang, J. Zheng, Z. Wang, Anwar Walid, Jian Guo, and Michael I. Jordan. ElegantRL-Podracer: Scalable and elastic library for cloud-native deep reinforcement learning. NeurIPS Workshop on RL, 2021.
[NeurIPS Workshop] X.-Y. Liu, T. Zhang, H. Hong, H. Huang, H. Lu. High performance computing primitives for tensor networks learning operations on GPUs. Quantum Tensor Networks in Machine Learning Workshop at NeurIPS 2020.
[NeurIPS Workshop] X.-Y. Liu, Q. Zhao, J. Biamonte, A. Walid. Tensor, Tensor Networks, Quantum Tensor Networks in Machine Learning: An Hourglass Architecture. Quantum Tensor Networks in Machine Learning Workshop at NeurIPS 2020.
[NeurIPS Workshop] H. Hong, H. Huang, T. Zhang, X.-Y. Liu. High Performance single-site finite DMRG on GPUs. Quantum Tensor Networks in Machine Learning Workshop at NeurIPS 2020.
[IJCAI Workshop] X.-Y. Liu, H. Lu, T. Zhang. cuTensor-CP: High performance third-order CP tensor decompositions on GPUs. IJCAI 2020 Workshop on Tensor Network Representations in Machine Learning, 2020.
[ICCAD] C. Deng, M. Yin, X.-Y. Liu, X. Wang, B. Yuan. High-performance hardware architecture for tensor singular value decomposition (Invited paper). International Conference on Computer-Aided Design (ICCAD), 2019.
[IPCCC] J. Huang, L. Kong, X.-Y. Liu, W. Qu and G. Chen. A C++ library for tensor decomposition. International Performance Computing and Communications Conference (IPCCC), 2019.

Reach the top ending AI science!

A young team, professional in GPU tensor and Deep Learning technology, commits to creating top AI algorithms and solutions for corprates, labs, schools and communities.