diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e316e68215dc1f5a747d1de0f55b4dae1d24a33f --- /dev/null +++ b/hpvm/test/dnn_benchmarks/hpvm-c/benchmarks/miniera-hpvm/src/README.md @@ -0,0 +1,27 @@ + +# 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