New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
about nvdla sw v1.2-OC compiler build error #154
Comments
@akioolin v2.6.1 is preferred which comes with umd, report back if you face any issue |
@prasshantg Thank you very much. You are right. using V3.0.0 will cause interface miss-match. the current solution is the followings:
right now, finding the suitable caffe model to test the builded nvdla compiler is the next step. |
@akioolin thanks for trying it!! You can details for the model to try at https://github.com/nvdla/sw/blob/master/LowPrecision.md |
@prasshantg following the steps which described in "Low precision support in NVDLA", for int8 nvdla loadable generation flow is the following:
the above step is right or not? do I miss any thing? the following problem is more detail about nvdla compile could do.
Thanks. BR, |
@prasshantg the following is the error log which using nvdla compiler with different approach. the model and protxt is come from https://onedrive.live.com/?authkey=%21AAFW2-FVoxeVRck&id=4006CBB8476FF777%2117887&cid=4006CBB8476FF777
./nvdla_compiler -o resnet50 --cprecision int8 --configtarget nv_small --calibtable ./resnet50.json --quantizationMode per-kernel --prototxt ResNet-50-deploy.prototxt --caffemodel ResNet-50-model.caffemodel
/usr/bin/ld: /home/akio/work/nvdla_sw_1.2/umd/external/lib/libprotobuf.a(common.o): relocation R_X86_64_32S against symbol `_ZTVN6google8protobuf7ClosureE' can not be used when making a PIE object; recompile with -fPIC
./nvdla_compiler -o resnet50 --cprecision fp16 --configtarget nv_large --prototxt ResNet-50-deploy.prototxt --caffemodel ResNet-50-model.caffemodel ./nvdla_compiler -o resnet50 --cprecision fp16 --configtarget nv_small --prototxt ResNet-50-deploy.prototxt --caffemodel ResNet-50-model.caffemodel ./nvdla_compiler -o resnet50 --cprecision int8 --configtarget nv_small --calibtable ./resnet50.json --quantizationMode per-kernel --prototxt ResNet-50-deploy.prototxt --caffemodel ResNet-50-model.caffemodel for int8 compiling, compiler report fail. the calibration is come from umd/utils/calibdata/resnet50.json what is the missing point. |
hi @akioolin @prasshantg , I created a pull request regarding fixing the compiler compiling error about “google/protobuf/stubs/common.h” not found issue, please git it a try. |
@akioolin did you find a solution? I am also facing the same problem; "closing wisdom context". Also the wisdom.dir folder is empty. |
@killerzula |
@akioolin the compiler isn't working, even for fp16, in my case. Like I said, it says "closing wisdom context" and then the command finishes execution. Furthermore if I check the wisdom.dir folder; it's empty. |
@killerzula looking at the code I believe there should be a file called 'fast-math.nvdla'. This is the loadable file. I am not 100% sure about this. The wisdom.dir is empty in my case as well. |
Hi, All:
in the umd part, there are two version of protobuf lib. one is 2.6.1, the other is 3.0.0. th lite version of protobuf also has the same combination. there two question about the protobuf's version.
it seems had to modify the include path to use protobuf which come with umd. or the other way is installing protobuf which come with umd. which approach is a good choice.
BR,
Akio
The text was updated successfully, but these errors were encountered: