DelayRepay - Delayed Execution for Kernel Fusion in Python

Publicado em: 11 Julho 2021
no canal de: PRiML Workshop
32
1

Python is a popular, dynamic language for data science and scientific computing. To ensure efficiency, significant numerical libraries are implemented in static native languages. However, performance suffers when switching between native and non-native code, especially if data has to be converted between native arrays and Python data structures. As GPU accelerators are increasingly used, this problem becomes particularly acute. Data and control has to be repeatedly transferred between the accelerator and the host.

In this talk, I'll present DelayRepay, a delayed execution framework for numeric Python programs. It avoids excessive switching and data transfer by using lazy evaluation and kernel fusion. Using DelayRepay, operations on NumPy arrays are executed lazily, allowing multiple calls to accelerator kernels to be fused together dynamically. DelayRepay is available as a drop-in replacement for existing Python libraries. This approach enables significant performance improvement over the state-of-the-art and is invisible to the application programmer. I show that our approach provides a maximum 377× speedup over NumPy - a 409% increase over the state of the art.


Nesta página do site você pode assistir ao vídeo on-line DelayRepay - Delayed Execution for Kernel Fusion in Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário PRiML Workshop 11 Julho 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 32 vezes e gostou 1 espectadores. Boa visualização!