mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(installer): *always* force-reinstall
This has repeatedly shown itself useful in fixing install issues, especially regarding pytorch CPU/GPU version, so there is little downside to making this the default. Performance impact of this should be negligible. Packages will be reinstalled from pip cache if possible, and downloaded only if necessary. Impact may be felt on slower disks.
This commit is contained in:
parent
5b7b1122cb
commit
60eea09629
@ -220,10 +220,11 @@ class InvokeAiInstance:
|
||||
|
||||
pip = local[self.pip]
|
||||
|
||||
(
|
||||
_ = (
|
||||
pip[
|
||||
"install",
|
||||
"--require-virtualenv",
|
||||
"--force-reinstall",
|
||||
"--use-pep517",
|
||||
str(src) + (optional_modules if optional_modules else ""),
|
||||
"--find-links" if find_links is not None else None,
|
||||
|
Loading…
Reference in New Issue
Block a user