LykosAI / StabilityMatrix

Multi-Platform Package Manager for Stable Diffusion
https://lykos.ai
GNU Affero General Public License v3.0
4.33k stars 278 forks source link

About the same huge copies of VENV folders... #216

Closed gendheruwo closed 1 week ago

gendheruwo commented 10 months ago

Previously I had several custom versions of WebUI (including the tools like kohyass etc) with their own installed extensions at once. But they were still able shared the same VENV, Loras and Checkpoints from the same directories without any crashes or bugs, maybe because the my VENV downloaded on the same device with the same settings to launch each WebUI and the tools.

My problem is the commandline args to set VENV_DIR doesn't works in Stability Matrix, I suggest the VENV folder can be placed in the Assets directory, maybe on the next version I hope, so my storage doesn't swell with same VENV folders. I'm not an expert in Python coding, just changing what I can from several sources that I have downloaded for my own use.

Thank you for developing the Stability Matrix, hopefully improvement on the next version.

ionite34 commented 10 months ago

Mainly the reason for individual venvs is that the different packages / versions of packages usually require different / conflicting dependencies. It's possible we can use the inherit site packages feature of virtualenv to install some primary packages like PyTorch into the root embedded Python rather than venvs, but that will prevent you from testing, say, PyTorch v2.1.0 in a new package while keeping your current one running v2.0.1

Not really sure how we can do this cleanly

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

github-actions[bot] commented 1 week ago

This issue was closed because it has been stale for 5 days with no activity.