Replies: 1 comment
-
Hello @jzdcf! Could you share the code to reproduce the error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
version 2024
quantized_model = nncf.quantize(model, calibration_dataset)
Quantifying in pytorch is successful, The graph seems to meet the quantification criteria
The ONNX model was used for inference and the expected output was also obtained
When running the above code, different models report errors as follows:
model_pytorch:
Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment. If you were attempting to deepcopy a module, this may be because of a torch.nn.utils.weight_norm usage, see pytorch/pytorch#103001
model_onnx:
nncf.errors.ValidationError: There is no tensor with the name None
Beta Was this translation helpful? Give feedback.
All reactions