-
Notifications
You must be signed in to change notification settings - Fork 28.2k
Update webui-macos-env.sh #16832
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
base: dev
Are you sure you want to change the base?
Update webui-macos-env.sh #16832
Conversation
fix for this ``` ERROR: Could not find a version that satisfies the requirement torch==2.3.1 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2) ERROR: No matching distribution found for torch==2.3.1 Traceback (most recent call last): File "/Users/shinriyo/development/stable-diffusion-webui/launch.py", line 48, in <module> main() File "/Users/shinriyo/development/stable-diffusion-webui/launch.py", line 39, in main prepare_environment() File "/Users/shinriyo/development/stable-diffusion-webui/modules/launch_utils.py", line 381, in prepare_environment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True) File "/Users/shinriyo/development/stable-diffusion-webui/modules/launch_utils.py", line 116, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install torch. Command: "/Users/shinriyo/development/stable-diffusion-webui/venv/bin/python" -m pip install torch==2.3.1 torchvision==0.18.1 Error code: 1 ```
webui-macos-env.sh
Outdated
@@ -5,13 +5,15 @@ | |||
#################################################################### | |||
|
|||
export install_dir="$HOME" | |||
export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate" | |||
# export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate" | |||
export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this section was done by accident?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. accidentally I made a new line
I fix
good job.. |
i wasted a lot of time, and finally i found this.. |
apply review
@tyn513 |
fix for this
Description
Screenshots/videos:
Checklist: