Add one-click install, update, upgrade, migrate and run script/bat/sh files #1489
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With the Python 3.11 update here, I thought I would make it easy for people to migrate, as well as automate the setup routine in general.
I've used a json config for easy updating into the future. All the heavy lifting is done in setup.py, so it's much easier to maintain than compiling obscure shell commands for linux/windows.
Supports uv, venv, conda and rawdogging global python.
Automatically detects user's card and autorecommends the right combinations of torch, triton, sage etc.
Also sets up wgp_config.json profile defaults based on their system ram/vram specs if they don't have a wgp_config.json yet (first install).