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

[Feature request] Uninstall PIP packages #929

Open
Maslino opened this issue Aug 5, 2024 · 4 comments
Open

[Feature request] Uninstall PIP packages #929

Maslino opened this issue Aug 5, 2024 · 4 comments

Comments

@Maslino
Copy link

Maslino commented Aug 5, 2024

Currently there is an experiment feature naming "Install PIP packages". "Uninstall PIP packages" feature is needed too. Possible usage case is:

ComfyUI is deployed in the cloud and user has no access to execute command. If there is some python package confilict such as opencv, user has no way to fix the confilict. So "Uninstall PIP packages" feature allows user to uninstall conflicted packages and reinstall the right one.

@arc1024
Copy link

arc1024 commented Aug 7, 2024

Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed.

@hben35096
Copy link

Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed.

Especially for xformers, if the version is not chosen appropriately, it will alter the entire PyTorch environment.

@hben35096
Copy link

PixPin_2024-08-07_21-10-26
I am working on this series of functions, and the advantage of having them as nodes is that you can save them as a workflow, which allows for automatic installation next time.

@ltdrdata
Copy link
Owner

ltdrdata commented Aug 7, 2024

Lock PIP packages Which Avoids important package like pytorch being upgraded automatically is also needed.

While downgrades are already blocked for the basic dependencies of ComfyUI core, it seems it would be good to block not only downgrades but also upgrades for packages like torch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants