Repository: stable-diffusion-webui
Issue: [Bug]: requirements.txt and requirements_versions.txt different versions of pytorch_lightning specified!
Labels: bug-report

### Is there an existing issue for this?

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

### What happened?

On start im updating webui and then check updates in requirements.txt

But i found that some packages uninstall and install every start. Then I found that requirements.txt and requiremets_versions.txt have different versions specified for pytorch_lightning  and timm

### Steps to reproduce the problem

1. Go to .... 
2. Press ....
3. ...


### What should have happened?

No reinstall everytime

### Commit where the problem happens

On start

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

Windows

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

Mozilla Firefox

### Command Line Arguments

```Shell
--xformers --reinstall-xformers
```


### List of extensions

too much

### Console logs

```Shell
t (line 15)) (0.4.6)
Requirement already satisfied: click>=7.0 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from uvicorn>=0.14.0->gradio==3.29.0->-r requirements.txt (line 8)) (8.1.3)
Requirement already satisfied: h11>=0.8 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from uvicorn>=0.14.0->gradio==3.29.0->-r requirements.txt (line 8)) (0.12.0)
Requirement already satisfied: starlette<0.27.0,>=0.26.0 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from fastapi->gradio==3.29.0->-r requirements.txt (line 8)) (0.26.1)
Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from httpx->gradio==3.29.0->-r requirements.txt (line 8)) (0.15.0)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from httpx->gradio==3.29.0->-r requirements.txt (line 8)) (1.5.0)
Requirement already satisfied: sniffio in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from httpx->gradio==3.29.0->-r requirements.txt (line 8)) (1.3.0)
Requirement already satisfied: contourpy>=1.0.1 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->gradio==3.29.0->-r requirements.txt (line 8)) (1.0.7)
Requirement already satisfied: cycler>=0.10 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->gradio==3.29.0->-r requirements.txt (line 8)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->gradio==3.29.0->-r requirements.txt (line 8)) (4.38.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->gradio==3.29.0->-r requirements.txt (line 8)) (1.4.4)
Requirement already satisfied: pyparsing>=2.2.1 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->gradio==3.29.0->-r requirements.txt (line 8)) (3.0.9)
Requirement already satisfied: mpmath>=0.19 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch->-r requirements.txt (line 20)) (1.3.0)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (5.2.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.2.8)
Requirement already satisfied: rsa<5,>=3.1.4 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (4.9)
Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (1.3.1)
Requirement already satisfied: anyio==3.* in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from httpcore<0.17.0,>=0.15.0->httpx->gradio==3.29.0->-r requirements.txt (line 8)) (3.6.2)
Requirement already satisfied: uc-micro-py in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from linkify-it-py~=1.0->markdown-it-py[linkify]>=2.0.0->gradio==3.29.0->-r requirements.txt (line 8)) (1.0.1)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from numba->facexlib>=0.2.5->gfpgan->-r requirements.txt (line 7)) (0.39.1)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in c:\software\stable_diffusion\stable-diffusion-webui\venv\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard>=2.9.1->pytorch_lightning==1.7.7->-r requirements.txt (line 15)) (3.2.2)
Installing collected packages: timm, pytorch_lightning
  Attempting uninstall: timm
    Found existing installation: timm 0.6.7
    Uninstalling timm-0.6.7:
      Successfully uninstalled timm-0.6.7
  Attempting uninstall: pytorch_lightning
    Found existing installation: pytorch-lightning 1.9.4
    Uninstalling pytorch-lightning-1.9.4:
      Successfully uninstalled pytorch-lightning-1.9.4
Successfully installed pytorch_lightning-1.7.7 timm-0.4.12
venv "C:\Software\Stable_Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.2.1
Commit hash: 89f9faa63388756314e8a1d96cf86bf5e0663045
```


### Additional information

_No response_