ImportError: cannot import name 'get_fqn_to_example_inputs' from 'torch.ao.quantization.utils' (/usr/local/lib/python3.7/dist-packages/torch/ao/quantization/utils.py)
nikitha-debug opened this issue ยท 3 comments
nikitha-debug commented
Instructions To Reproduce the ๐ Bug:
- Full runnable code or full changes you made:
If making changes to the project itself, please use output of the following command:
git rev-parse HEAD; git diff
<put code or diff here>
- What exact command you run:
- Full logs or other relevant observations:
<put logs here>
- please simplify the steps as much as possible so they do not require additional resources to run, such as a private dataset.
Expected behavior:
If there are no obvious error in "what you observed" provided above,
please tell us the expected behavior.
wat3rBro commented
@nikitha-debug hi, could you re-install the pytorch-nightly? The latest version should contain this function.
bryantwilliam commented
Are you still getting this error after re-installing pytorch-nightly?
Same error: #360
pinecho commented
@bryantwilliam I solved the problem after I re-install the pytorch-nightly.
- Find the install command at pytorch.org .
- Run the install command.
- Check the version of torch and torchvision are the latest and compatiable in torch-torchvision matrix.