High Performance Computing Track Sponsered by QDX
Authors: Carlvince Tan, Lucas Yu, Peter Lu, Volodymyr Kazmirchuk
This code includes two implementations of a Neural Network, based on pre-trained weights and biases obtained from https://github.com/talo/hackathon-go-brrr:
- CPU only
- CPU & GPU
Run make first, which will assemble the project and create binaries in /bin directory.
The shell scripts for each implementations runs the produced executable.
- CUDA version 12.5
- NVCC compiler with support of architecture 61
- G++ compiler with support of C++ 17
- Matrices are stored/parsed as 1D arrays
- Use of multi-threading on CPU and GPU
- Processing multiple inputs as a matrix
- Logic optimisations for parsing input functions
- Fast approximation for exponential function
This code was written to be executed on:
- Ubuntu 22.04
- 8x A100 GPUs each with 80GB memory
- CPU
- Model name: AMD EPYC 7J13 64-Core Processor
- Family: 25
- Model: 1
- Thread(s) per core: 1
- Core(s) per socket: 1
- Socket(s): 240
- Caches (sum of all):
- L1d: 15 MiB (240 instances)
- L1i: 15 MiB (240 instances)
- L2: 120 MiB (240 instances)
- L3: 3.8 GiB (240 instances)
- NUMA:
- Node(s): 2
- node0 CPU(s): 0-119
- node1 CPU(s): 120-239