Closed
Conversation
added 4 commits
October 20, 2025 02:14
Lines 380-382
if args.reinstall_torch or not is_installed("torch") or not is_installed("torchvision"):
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
startup_timer.record("install torch")
have been replaced with:
if args.reinstall_torch or not is_installed("torch") or not is_installed("torchvision"):
# Skipping automatic torch install; using manually installed torch 1.12.1 + cu113
print("Skipping torch installation. Using existing torch 1.12.1 + cu113.")
startup_timer.record("install torch")
, which forces A1111 to use the legacy pytorch installed in venv.
An update to account for the changes made under the branch,
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes CUDA initialization issues on Maxwell GPUs by enforcing the correct PyTorch version (1.12.1+cu113) and adjusting requirements accordingly.
Also includes updated README instructions.
In
modules/launch_utils.py, the following change was made:Original lines (380-382):
were replaced with:
Screenshots/videos:
Checklist: