Vectorizing Pytorch for RISC-V RVV
| dc.audience.degree | MÀSTER UNIVERSITARI EN INNOVACIÓ I RECERCA EN INFORMÀTICA (Pla 2012) |
| dc.audience.educationlevel | Màster |
| dc.audience.mediator | Facultat d'Informàtica de Barcelona |
| dc.contributor.author | Laute, Johannes |
| dc.contributor.covenantee | Sorbonne Université |
| dc.contributor.other | Universitat Politècnica de Catalunya |
| dc.date.accessioned | 2024-12-13T11:02:30Z |
| dc.date.available | 2024-12-13T11:02:30Z |
| dc.date.issued | 2024-11-12 |
| dc.date.updated | 2024-11-22T05:00:21Z |
| dc.description.abstract | In this internship we explore avenues for the vectorized execution of Pytorch models on RISC-V CPUs with Vector support. We identify 3 areas where Pytorch would benefit from vectorization: 1. the ATen computation backend, 2. the BLAS library, 3. the oneDNN compute library. Our contributions are as follows: we implement the vectorized class of ATen using RVV intrinsics, and we integrate vectorized version of BLAS and oneDNN into the Pytorch build process. This required us to setup an advanced, custom cross-compilation toolchain, including automated assembly modifications. Finally we evaluation the performance gained in elementary functions, fundamental building blocks of Deep Learning models (Linear Layers, Attention Layer and Convolutional Layers) and full AI models on our target hardware system, which is the EPAC (European Processor Accelerators) design, which is part of the European Processor Initiative. |
| dc.identifier.slug | 187970 |
| dc.identifier.uri | https://hdl.handle.net/2117/420614 |
| dc.language.iso | eng |
| dc.publisher | Universitat Politècnica de Catalunya |
| dc.rights.access | Open Access |
| dc.subject | Àrees temàtiques de la UPC::Informàtica::Intel·ligència artificial |
| dc.subject.lcsh | RISC microprocessors |
| dc.subject.lcsh | Vector processing (Computer science) |
| dc.subject.lemac | RISC (Microprocessadors) |
| dc.subject.lemac | Tractament vectorial |
| dc.title | Vectorizing Pytorch for RISC-V RVV |
| dc.type | Master thesis |
| dspace.entity.type | Publication |
Fitxers
Paquet original
1 - 1 de 1



