Skip to content
Snippets Groups Projects
Commit b89d2c0e authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Adding instructions for compiling mini-era benchmark for NVDLA

parent 2d37151b
No related branches found
No related tags found
No related merge requests found
# Environment setup
Add path to `libprotobuf.so` and `libnvdla_compiler.so` in LD_LIBRARY_PATH
# Compilation Command
Compilation script : `miniera-hpvm/src/compile_benchmark.sh`
Command:
```
python3 /home/hsharif3/Gitlab/hpvm_release_nvdla/hpvm/build/tools/hpvm/tools/hpvm-clang/main.py -t nvdla --conf-file data/tuner_confs.txt -DMODEL_PARAMS_DIR=${PATH_TO_MODELPARAMS} -fno-exceptions miniera-hpvm.cpp miniera-hpvm
```
# Frontend/Source changes required
* Weights must be FP16!
* Weights for FC layers need to be tranposed
* Modify paths to readTrainedWeights to pass constant file path -- use MODEL_PARAMS_STR as part of string
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment