Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Handy Enhancements #16

Open
peardox opened this issue Oct 15, 2022 · 6 comments
Open

Some Handy Enhancements #16

peardox opened this issue Oct 15, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@peardox
Copy link
Contributor

peardox commented Oct 15, 2022

Problem...
We have the ability to install the components we've created so far but some recent experimentation has raised the issue of requiring a method to update PIP installed packages.

Cause...
Yesterday I was testing out Simple Diffusion and everything was going wrong. It turned out that a few packages had updated and this was causing the AI model to break (took some hunting down). Basically there was a new version of diffusers (component coming soon) which has a dependancy (transformers - coming soon) which had also been updated.

Solution...
We need a way to version check installed packages and compare them to current packages on pip so we can see if any need updating. Then if required update any packages that need it. Note that this process should be optional (you may purposely want to keep some older packages)

Next...
I'll have a play with it to see what we can do with current components.

GetPIP probably needs the ability to be called with the --upgrade switch

@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

Are you setting the package version in its settings? Do that if you want to target to specific versions avoiding this sort of issue.

@lmbelo lmbelo self-assigned this Oct 15, 2022
@lmbelo lmbelo added enhancement New feature or request question Further information is requested labels Oct 15, 2022
@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

I too think an "AutoUpgrade" property would be great. I will create it as possible.

@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

Can you set a discussion along this feature? It will be good to keep it on track and into users sight.

@peardox
Copy link
Contributor Author

peardox commented Oct 15, 2022

The particular issue was just from manually installing without version info via pip but it raised the likelyhood of this becoming an issue. I'm exploring what happens and what I can do after component wizard....

Basically I need half a dozen or so more components. Decided it'd be a better idea to write a Wizard that just do six components then use the Wizard to make the components. A bigger job at the start but saves massive in long term...

@peardox
Copy link
Contributor Author

peardox commented Oct 15, 2022

Can you set a discussion along this feature? It will be good to keep it on track and into users sight.

Do what?

@peardox
Copy link
Contributor Author

peardox commented Oct 15, 2022

We could also do with an Import only component - you supply a pip / conda package name and it goes and gets it and installs it. This would be really useful for 'supporting' packages like pyqt5 (and lots of others) which extend some other package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants