Code for using Qtorch+ and reproduce Conga2022 results
For object dectection model, the torchbench and sotabench are not maintained. Follow the below steps to run the scripts:
mkdir -p ./.data/vision/coco
wget http://images.cocodataset.org/zips/val2017.zip
wget http://images.cocodataset.org/annotations/annotations_trainval2017.zip
- unzip both zipped files and put them into ./.data/vision/coco
- uninstall existing torchbench if exist:
pip uninstall torchbench
cd .. ; git clone https://github.com/minhhn2910/torchbench
cd torchbench ; pip install -e ./
- Now you can go back to conga2022 and run the script:
cd conga2022 ; python torchbench_coco.py
(this includes scale weight and scale act parameters for scaling posit, raw data logged long time a go so please be patient when reading it :D ) https://docs.google.com/document/d/19CYdPaVoKkQGT27jPXwxmeItIZP8jLHvOOHL7lAa-Ms/edit?usp=sharing