AUTOMATIC1111/stable-diffusion-webui

resume_download deprecation

158zd opened this issue · 0 comments

158zd commented

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?

resume_download deprecation

Steps to reproduce the problem

resume_download deprecation

What should have happened?

resume_download deprecation

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

Platform: "Windows-10-10.0.19045-SP0",
Python: "3.10.6",
Version: "v1.10.1",

Console logs

(.venv) PS D:\AI\stable-diffusion-webui> .\webui-user.bat
venv "D:\AI\stable-diffusion-webui\.venv\Scripts\Python.exe"
Python 3.10.6 | packaged by conda-forge | (main, Oct 24 2022, 16:02:16) [MSC v.1916 64 bit (AMD64)]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing requirements
Launching Web UI with arguments: --xformers
Loading weights [6ce0161689] from D:\AI\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
Creating model from config: D:\AI\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:\AI\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: 41.4s (prepare environment: 23.2s, import torch: 8.0s, import gradio: 1.8s, setup paths: 1.9s, initialize shared: 0.8s, other imports: 1.0s, load scripts: 2.5s, create ui: 0.8s, gradio launch: 1.1s).
Applying attention optimization: xformers... done.
Model loaded in 8.9s (load weights from disk: 0.9s, create model: 0.9s, apply weights to model: 6.4s, apply half(): 0.1s, apply dtype to VAE: 0.2s, calculate empty prompt: 0.2s).

Additional information

No response