AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.69k stars 27.03k forks source link

[Feature Request]: Release with embedded Python #15513

Open kubinka0505 opened 7 months ago

kubinka0505 commented 7 months ago

Is there an existing issue for this?

What would your feature do ?

Some projects releases on Windows that I use have embedded Python, such as RVC-GUI or ComfyUI. Can this be implemented for this project as well?

Proposed workflow

Embed required packages and put them in the Releases tab (or create a different branch for such)

Additional information

No response

w-e-w commented 7 months ago

https://github.com/AUTOMATIC1111/stable-diffusion-webui?tab=readme-ov-file#installation-on-windows-1011-with-nvidia-gpus-using-release-package

kubinka0505 commented 7 months ago

https://github.com/AUTOMATIC1111/stable-diffusion-webui?tab=readme-ov-file#installation-on-windows-1011-with-nvidia-gpus-using-release-package

How can I add --lowvram into the .bat file?

BrickMissle commented 7 months ago

https://github.com/AUTOMATIC1111/stable-diffusion-webui?tab=readme-ov-file#installation-on-windows-1011-with-nvidia-gpus-using-release-package

How can I add --lowvram into the .bat file?

edit webui-user.bat using notepad and all you have to do is change set COMMANDLINE_ARGS= into set COMMANDLINE_ARGS=--lowvram

kubinka0505 commented 7 months ago

https://github.com/AUTOMATIC1111/stable-diffusion-webui?tab=readme-ov-file#installation-on-windows-1011-with-nvidia-gpus-using-release-package

How can I add --lowvram into the .bat file?

edit webui-user.bat using notepad and all you have to do is change set COMMANDLINE_ARGS= into set COMMANDLINE_ARGS=--lowvram

Image is generated but it returns error:

  File "C:\Users\Admin\Downloads\sd.webui\webui\modules\sd_models.py", line 662, in send_model_to_cpu
    if m.lowvram:
AttributeError: 'NoneType' object has no attribute 'lowvram'