Open zd391 opened 3 weeks ago
the same as
Facing same problem as well. Also Stable diffusion doesnt even generate anything whilst it gets my gpu to 100% usage
timm==1.0.11 display Warning timm<=1.0.10 works fine
Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
Importing from timm.models.layers is deprecated,
resume_download
is deprecated,Steps to reproduce the problem
D:\stable-diffusion-webui\venv\lib\site-packages\timm\models\layersinit.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {name} is deprecated, please import via timm.layers", FutureWarning) D:\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:797: FutureWarning:
resume_download
is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, useforce_download=True
.What should have happened?
How should I import (resume_download/timm.models.layers) or ignore the warning?
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
"Platform": "Windows-10-10.0.19045-SP0", "Python": "3.10.11", "Version": "v1.10.1",
Console logs
(venv) PS D:\stable-diffusion-webui> .\webui-user.bat venv "D:\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.11 | packaged by Anaconda, Inc. | (main, Apr 20 2023, 18:56:50) [MSC v.1916 64 bit (AMD64)] Version: v1.10.1 Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 Launching Web UI with arguments: --xformers D:\stable-diffusion-webui\venv\lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning) Loading weights [6ce0161689] from D:\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors Creating model from config: D:\stable-diffusion-webui\configs\v1-inference.yaml Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. D:\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:797: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( Startup time: 22.9s (prepare environment: 5.0s, import torch: 7.9s, import gradio: 2.0s, setup paths: 1.9s, initialize shared: 0.9s, other imports: 1.0s, load scripts: 2.4s, create ui: 0.8s, gradio launch: 1.1s). Applying attention optimization: xformers... done. Model loaded in 6.7s (load weights from disk: 1.0s, create model: 0.9s, apply weights to model: 3.8s, calculate empty prompt: 0.7s).
Additional information
No response
i guess this is not a big problem that can effect the program, i also am getting this error whenever i open it. i did tested with some generated public images and it very much generated the same image when i'm generating.
i am having this same issue when i try to generate anything it just sits there :\
Same warning here. I went to the directory of the warning, in my case it's
F:\SD-webui\SD-webui-F\venv\lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
indicating line 48 of the init__.py file, which I opened in Notepad++
Line 48 is the last line in the init.py file. It appears that this is exactly what it says 'a future warning'. It's a placeholder for `{name__}` which would in future be populated with the name of whichever timm. is problematic.
Can be ignored if the {__name__}
name is unpopulated; address the warning in future if that changes to a problematic timm.
Checklist
What happened?
Importing from timm.models.layers is deprecated,
resume_download
is deprecated,Steps to reproduce the problem
D:\stable-diffusion-webui\venv\lib\site-packages\timm\models\layers__init.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {name__} is deprecated, please import via timm.layers", FutureWarning) D:\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:797: FutureWarning:
resume_download
is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, useforce_download=True
.What should have happened?
How should I import (resume_download/timm.models.layers) or ignore the warning?
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
"Platform": "Windows-10-10.0.19045-SP0", "Python": "3.10.11", "Version": "v1.10.1",
Console logs
Additional information
No response