I am getting error related to onnx while building which is causing it to fail.
The command which I have executed is MAX_JOBS=8 DEBUG=1 USE_DISTRIBUTED=0 USE_MKLDNN=0 USE_CUDA=0 BUILD_TEST=1 USE_FBGEMM=0 USE_NNPACK=0 USE_QNNPACK=0 python setup.py develop
The error which I am getting is:
../caffe2/opt/onnxifi_op.cc:95:7: error: ‘onnxTensorDescriptorV1 {aka struct onnxTensorDescriptorV1}’ has no member named ‘isOffline’
   to->isOffline = from->isOffline;
       ^~~~~~~~~
../caffe2/opt/onnxifi_op.cc: In function ‘void caffe2::{anonymous}::BlobToTensorDescriptor(const string&, caffe2::Workspace*, onnxTensorDescriptorV1*, std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> > >*, std::vector<std::vector<float> >*, std::vector<std::vector<int> >*)’:
../caffe2/opt/onnxifi_op.cc:134:9: error: ‘onnxTensorDescriptorV1 {aka struct onnxTensorDescriptorV1}’ has no member named ‘isOffline’
   desc->isOffline = false;

However, I haven’t made any change to it.