-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update quantized_generation_demo.ipynb #715
Conversation
Fix version of torch to 2.0.1. See pytorch/pytorch#125109
@dnoliver is it really necessary to use such old pytorch? As I can see in issue, downgrade on 2.2.2 should be enough |
Will try with 2.2.2 and update you! |
Bump version of torch to 2.2.2
Torch 2.2.2 works. I tested with CPU (we are having problems with GPU and NPU drivers in the target machine right now, but will be the next test target) |
Run into an error in further cells: The stack trace is:
Is this related/unrelated to the change I am making on the torch version? |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
@eaidova we were using this notebook to validate a Meteor Lake system that we later found that it had bad drivers for NPU and GPU. We have validated it in another device, with good drivers, Windows 11, works fine: |
@dnoliver great, I also tested your notebook, it is also working for me. Should we put some message about proper driver version requirements to install (e.g. refer on this page for NPU https://docs.openvino.ai/2024/get-started/configurations/configurations-intel-npu.html)? |
This is how a healthy system looks like:
And this is how an unhealthy system looks like:
The referenced documentation for the NPU is not accurate for Windows. In the docs it says "the NPU is most likely listed in “Other devices” as “Multimedia Video Controller.”", but it is in "Neural Processors". Other than that, installing latest drivers' versions should address most issues |
Fix version of torch to 2.0.1.
See pytorch/pytorch#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 pytorch/pytorch#125109, and rolling back the version to 2.0.1
Fixes # (issue)
Before submitting