Code Monkey home page Code Monkey logo

Comments (3)

Oyaxira avatar Oyaxira commented on June 4, 2024
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117

it's work for me

from chatglm_webui.

alucardzhou avatar alucardzhou commented on June 4, 2024

I meet the same issue. and after running "pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117"
It shows another Error:
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1)
ERROR: No matching distribution found for torch==1.13.1+cu117

And I found a similar solution that fitting for my case:
"python -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117 --no-cache-dir "

Installing collected packages: torch, torchvision
Attempting uninstall: torch
Found existing installation: torch 1.13.1
Uninstalling torch-1.13.1:
Successfully uninstalled torch-1.13.1
Attempting uninstall: torchvision
Found existing installation: torchvision 0.14.1
Uninstalling torchvision-0.14.1:
Successfully uninstalled torchvision-0.14.1
Successfully installed torch-1.13.1+cu117 torchvision-0.14.1+cu117
source: AUTOMATIC1111/stable-diffusion-webui#7166

Hope this tip could help someone like my case.

from chatglm_webui.

pzzmyc avatar pzzmyc commented on June 4, 2024

I have just solved this issue by reinstalling Torch and CUDA. First, uninstall them and then reinstall them using the following command: "pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117".

from chatglm_webui.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.