Skip to content

Fix PyTorch version to resolve OpenVINO _attention_scale crash on Windows#371

Open
tanaykolekar wants to merge 1 commit into
rupeshs:mainfrom
tanaykolekar:main
Open

Fix PyTorch version to resolve OpenVINO _attention_scale crash on Windows#371
tanaykolekar wants to merge 1 commit into
rupeshs:mainfrom
tanaykolekar:main

Conversation

@tanaykolekar
Copy link
Copy Markdown

Hi! I noticed that when installing on Windows, the environment defaults to PyTorch 2.5+, which causes an ImportError: cannot import name '_attention_scale' crash when trying to generate images using OpenVINO.

I pinned the torch, torchvision, and torchaudio requirements to the stable 2.4.1 versions to ensure a working installation out of the box for future Windows users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant