Skip to content

(1/3) Training and quantization of a neural network model in the master thesis.

Notifications You must be signed in to change notification settings

Ba1tu3han/Brevitas_Thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

159 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Goal

Training a CNN based custom neural network model with Pytorch and quantize its layers to 1, 2, 4, 8-bit with quantization-aware-training (QAT). Output of the process ONNX file is used as input file of FINN compiler.

Brevitas

Brevitas is a PyTorch library for neural network quantization, with support for both post-training quantization (PTQ) and quantization-aware training (QAT).

Software Version

Brevitas: 0.10.2

Ubuntu: 20.04

Python: 3.10.12 (>= 3.8)

Torch: 2.1.0 (Brevitas 0.10.0 supports up to Torch 2.1.0 and higher than 1.9.1)

CUDA: 12.2

Source

Xilinx:

https://github.com/Xilinx/brevitas
https://xilinx.github.io/brevitas/getting_started

Master Thesis

For more detail, please check the Brevitas sections of the thesis in the link below.

https://tez.yok.gov.tr/UlusalTezMerkezi/TezGoster?key=E_eEUHQic_C-LvhxNQn1W0hnFEbNK8bSxQeObEvnsyE7qqMk72nSpDIRccrqG9v7

About

(1/3) Training and quantization of a neural network model in the master thesis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages