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

Error improvement for install torch #10499

Merged
merged 1 commit into from
May 18, 2023

Conversation

dongweiming
Copy link
Contributor

Describe what this pull request is trying to achieve.

I have seen a lot of issues about the failure to install packages such as torch, most of which are due to systems using an architecture that torch currently does not support. for example, #10444, If it shows (from versions: none) except that an unsupported python version is used, it is for this reason.

So I think when the user runs webui.sh, directly throwing an error and pointing out the reason will make the user understand the problem more clearly, which can reduce the number of related issues.

List the environment you have developed / tested this on. As per the contributing page, changes should be able to work on Windows out of the box.

  • OS: Mac
  • Browser: chrome, safari

Screenshots or videos of your changes

Screenshot 2023-05-18 at 12 36 55 PM

@Sakura-Luna Sakura-Luna linked an issue May 18, 2023 that may be closed by this pull request
1 task
@Sakura-Luna
Copy link
Collaborator

In other words, PyTorch does not have support for 32-bit systems. It seems a bit unintuitive.

@dongweiming
Copy link
Contributor Author

@Sakura-Luna Before, I thought that there were many architectures, and we only limited the supported ones, and the others reported errors. But what you said is also right, so I modified the check method, and the 32-bit system will report an error and exit.

@AUTOMATIC1111 AUTOMATIC1111 merged commit 983f2c4 into AUTOMATIC1111:dev May 18, 2023
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.

[Bug]: Can't install torch, torchvision and rocm
3 participants