oobabooga / text-generation-webui

A Gradio web UI for Large Language Models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not find a version that satisfies the requirement torch==2.4.1

tiagogaliano opened this issue · comments

Describe the bug

In the installation / update process there is an interruption in the following item:


  • Checking for PyTorch updates

ERROR: Could not find a version that satisfies the requirement torch==2.4.1 (from versions: 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.4.1
Command '. "/Users/username/Downloads/text-generation-webui-main/installer_files/conda/etc/profile.d/conda.sh" && conda activate "/Users/username/Downloads/text-generation-webui-main/installer_files/env" && python -m pip install --upgrade torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 ' failed with exit status code '1'.


My mac is intel, and las torch avaliable is 2.2.2

How to fix it and finish setup?

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

run
start_macos.sh
or
update_wizard_macos.sh

Screenshot

No response

Logs

*******************************************************************
* Checking for PyTorch updates
*******************************************************************


ERROR: Could not find a version that satisfies the requirement torch==2.4.1 (from versions: 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.4.1
Command '. "/Users/tiago/Downloads/text-generation-webui-main/installer_files/conda/etc/profile.d/conda.sh" && conda activate "/Users/tiago/Downloads/text-generation-webui-main/installer_files/env" && python -m pip install --upgrade torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 ' failed with exit status code '1'.

Exiting now.
Try running the start/update script again.

System Info

Mac OS X Sequoia 15.0
Intel 12th gen
AMD RX 6900xt

can you change the TORCH_VERSION in [one_click.py] file to your version and test?
I'll do the same in my side to test