python-torch/fix-call-of-onnxInitGraph.patch

11 lines
481 B
Diff

--- pytorch-1.9.0/caffe2/opt/onnxifi_op.h.orig 2021-07-22 14:16:51.417995412 +0000
+++ pytorch-1.9.0/caffe2/opt/onnxifi_op.h 2021-07-22 14:17:51.616490492 +0000
@@ -313,7 +313,6 @@ class OnnxifiOp final : public Operator<
weight_descs.size(),
weight_descs.data(),
&graph,
- static_cast<uint32_t>(max_seq_size_),
defered_blob_reader);
if (ret != ONNXIFI_STATUS_SUCCESS) {
if (ret == ONNXIFI_STATUS_FATAL_ERROR) {