optimum-intel icon indicating copy to clipboard operation
optimum-intel copied to clipboard

Update quantized_generation_demo.ipynb

Open dnoliver opened this issue 9 months ago • 4 comments

Fix version of torch to 2.0.1. See https://github.com/pytorch/pytorch/issues/125109

What does this PR do?

Running this notebook with current pytorch version fails. Test Platform: Windows 11 - Intel Core Ultra 7 165HL Error Message: OSError: [WinError 126] ... Error loading "C:\Users\xyz\AppData\Roaming\Python\Python312\site-packages\torch\lib\shm.dll" or one of its dependencies. Applying the recommendation in https://github.com/pytorch/pytorch/issues/125109, and rolling back the version to 2.0.1

Fixes # (issue)

Before submitting

  • [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • [ ] Did you make sure to update the documentation with your changes?
  • [ ] Did you write any new necessary tests?

dnoliver avatar May 16 '24 16:05 dnoliver