Skip to content
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

CUDA supported Torch is uninstalled due to typing_extensions==4.7 #184

Open
eng3 opened this issue Jun 19, 2024 · 1 comment
Open

CUDA supported Torch is uninstalled due to typing_extensions==4.7 #184

eng3 opened this issue Jun 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@eng3
Copy link

eng3 commented Jun 19, 2024

Describe the bug
Following detailed instructions on windows. When running the extra commands to uninstall and reinstall torch with CUDA, it upgrades typing_extensions to the latest version. Upon starting storytoolkitai, it automatically checks requirements and sees the wrong version and reverses it. It uninstalls torch and typing_extensions and installs 4.7 and the non-cuda version.
As a workaround, I tried changing to typing_extensions>=4.7 and it seems to run, but I don't know the real consequences.

To Reproduce
Steps to reproduce the behavior:

  1. Follow detailed instructions
  2. run extra steps to install CUDA version of torch
  3. Start storytoolkitai and watch torch get reverted

Expected behavior
It should not uninstall torch with cuda

System (please complete the following information):

  • OS: Windows 11
  • Python versions installed on machine: 3.10
  • StoryToolkitAI Version Latest GIt pull
@eng3 eng3 added the bug Something isn't working label Jun 19, 2024
@octimot
Copy link
Owner

octimot commented Jun 20, 2024

Thanks for reporting this! I'll check if anything breaks when using typing_extensions>=4.7 and update soon!

Cheers

@octimot octimot self-assigned this Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants