Repository: stable-diffusion-webui
Issue: [Bug]: Error while installing torch and torchvision
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

- [ ] I have searched the existing issues and checked the recent builds/commits

### What happened?

OS= WIndows 10

S:\NEW1111\stable-diffusion-webui>git pull                                                                              Already up to date.                                                                                                     venv "S:\NEW1111\stable-diffusion-webui\venv\Scripts\Python.exe"                                                        Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]                                 Version: v1.6.0                                                                                                         Commit hash: 5ef669de080814067961f28357256e8fe27544f4                                                                   Installing torch and torchvision                                                                                        Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118                                     Collecting torch==2.0.1                                                                                                 ERROR: Exception:                                                                                                       Traceback (most recent call last):                                                                                        File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 167, in exc_logging_wrapper                                                                                                               status = run_func(*args)                                                                                              File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\cli\req_command.py", line 247, in wrapper                                                                                                                            return func(self, options, args)                                                                                      File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\commands\install.py", line 369, in run       requirement_set = resolver.resolve(                                                                                   File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve                                                                                                              result = self._result = resolver.resolve(                                                                             File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 481, in resolve                                                                                                                         state = resolution.resolve(requirements, max_rounds=max_rounds)                                                       File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 348, in resolve                                                                                                                         self._add_to_criteria(self.state.criteria, r, parent=None)                                                            File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 172, in _add_to_criteria                                                                                                                if not criterion.candidates:                                                                                          File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\resolvelib\structs.py", line 151, in __bool__                                                                                                                          return bool(self._sequence)                                                                                           File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__                                                                                                    return any(self)                                                                                                      File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexpr>                                                                                                   return (c for c in iterator if id(c) not in self._incompatible_ids)                                                   File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built                                                                                                  candidate = func()                                                                                                    File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link                                                                                            self._link_candidate_cache[link] = LinkCandidate(                                                                     File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 297, in __init__                                                                                                          super().__init__(                                                                                                     File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 162, in __init__                                                                                                          self.dist = self._prepare()                                                                                           File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 231, in _prepare                                                                                                          dist = self._prepare_distribution()                                                                                   File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 308, in _prepare_distribution                                                                                             return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)                                          File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 438, in prepare_linked_requirement                                                                                                      return self._prepare_linked_requirement(req, parallel_builds)                                                         File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 483, in _prepare_linked_requirement                                                                                                     local_file = unpack_url(                                                                                              File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 165, in unpack_url                                                                                                                      file = get_http_url(                                                                                                  File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 106, in get_http_url                                                                                                                    from_path, content_type = download(link, temp_dir.path)                                                               File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\network\download.py", line 134, in __call__                                                                                                                          resp = _http_get_download(self._session, link)                                                                        File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\network\download.py", line 117, in _http_get_download                                                                                                                resp = session.get(target_url, headers=HEADERS, stream=True)                                                          File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\requests\sessions.py", line 600, in get        return self.request("GET", url, **kwargs)                                                                             File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\network\session.py", line 518, in request                                                                                                                            return super().request(method, url, *args, **kwargs)                                                                  File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\requests\sessions.py", line 587, in request                                                                                                                            resp = self.send(prep, **send_kwargs)                                                                                 File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\requests\sessions.py", line 701, in send       r = adapter.send(request, **kwargs)                                                                                   File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 48, in send     cached_response = self.controller.cached_request(request)                                                             File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\cachecontrol\controller.py", line 155, in cached_request                                                                                                               resp = self.serializer.loads(request, cache_data, body_file)                                                          File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\cachecontrol\serialize.py", line 95, in loads                                                                                                                          return getattr(self, "_loads_v{}".format(ver))(request, data, body_file)                                              File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\cachecontrol\serialize.py", line 186, in _loads_v4                                                                                                                     cached = msgpack.loads(data, raw=False)                                                                               File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 125, in unpackb     ret = unpacker._unpack()                                                                                              File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 590, in _unpack     ret[key] = self._unpack(EX_CONSTRUCT)                                                                                 File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 590, in _unpack     ret[key] = self._unpack(EX_CONSTRUCT)                                                                                 File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 544, in _unpack     typ, n, obj = self._read_header()                                                                                     File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 486, in _read_header                                                                                                                        obj = self._read(n)                                                                                                   File "S:\NEW1111\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 403, in _read       ret = self._buffer[i : i + n]                                                                                       MemoryError

can someone help me about this thing. 

### Steps to reproduce the problem

1. Go to your A111 file
2. Press webui-user.bat
3.  wait until phase when installing torch and torch vision 


### What should have happened?

normal and running

### Sysinfo

AMD RYZEN 3200g
AMD RADEON VEGA 3 (2GB)
RAM 12GB

i know my pc is kinda potato. But, before i still can run SD and normal

### What browsers do you use to access the UI ?

Google Chrome

### Console logs

```Shell
above
```


### Additional information

i dont know this Bug for everyone or maybe its only me, but can someone help me to fix it:)