Fusing Epilog Operations with Matrix Multiplication Using nvmath-python

Originally published at: https://developer.nvidia.com/blog/fusing-epilog-operations-with-matrix-multiplication-using-nvmath-python/

nvmath-python (Beta) is an open-source Python library, providing Python programmers with access to high-performance mathematical operations from NVIDIA CUDA-X math libraries.  nvmath-python provides both low-level bindings to the underlying libraries and higher-level Pythonic abstractions. It is interoperable with existing Python packages, such as PyTorch and CuPy. In this post, I show how to use epilogs…

I hope you find this example useful. I encourage you to give nvmath-python a try and see how easy it is to accelerate your Python computations with it. If you have any questions or comments, let us know!