GPU isn't used when serializing a int8 engine model from UFF

hi, I modify the python example (/workspace/tensorrt/sample/python/int8_caffe_mnist) to serialize a int8 engine with 7000 pictures, but the GPU (V100) is never used when building the engine by the method of “build_cuda_engine()”. what’s wrong with it and how can I use the GPU to accelerate calibrate the int8 model?