InvokeAI/ldm/invoke
Lincoln Stein 0439b51a26
Simple Installer for Unified Directory Structure, Initial Implementation (#1819)
* partially working simple installer

* works on linux

* fix linux requirements files

* read root environment variable in right place

* fix cat invokeai.init in test workflows

* fix classical cp error in test-invoke-pip.yml

* respect --root argument now

* untested bat installers added

* windows install.bat now working

fix logic to find frontend files

* rename simple_install to "installer"

1. simple_install => 'installer'
2. source and binary install directories are removed

* enable update scripts to update requirements

- Also pin requirements to known working commits.
- This may be a breaking change; exercise with caution
- No functional testing performed yet!

* update docs and installation requirements

NOTE: This may be a breaking commit! Due to the way the installer
works, I have to push to a public branch in order to do full end-to-end
testing.

- Updated installation docs, removing binary and source installers and
  substituting the "simple" unified installer.
- Pin requirements for the "http:" downloads to known working commits.
- Removed as much as possible the invoke-ai forks of others' repos.

* fix directory path for installer

* correct requirement/environment errors

* exclude zip files in .gitignore

* possible fix for dockerbuild

* ready for torture testing

- final Windows bat file tweaks
- copy environments-and-requirements to the runtime directory so that
  the `update.sh` script can run.

  This is not ideal, since we lose control over the
  requirements. Better for the update script to pull the proper
  updated requirements script from the repository.

* allow update.sh/update.bat to install arbitrary InvokeAI versions

- Can pass the zip file path to any InvokeAI release, branch, commit or tag,
  and the installer will try to install it.
- Updated documentation
- Added Linux Python install hints.

* use binary installer's :err_exit function

* user diffusers 0.10.0

* added logic for CPPFLAGS on mac

* improve windows install documentation

- added information on a couple of gotchas I experienced during
  windows installation, including DLL loading errors experienced
  when Visual Studio C++ Redistributable was not present.

* tagged to pull from 2.2.4-rc1

- also fix error of shell window closing immediately if suitable
  python not found

Co-authored-by: mauwii <Mauwii@outlook.de>
2022-12-11 00:37:08 -05:00
..
generator avoid further crash under low-memory conditions 2022-12-10 15:32:11 -05:00
restoration Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
__init__.py Simple Installer for Unified Directory Structure, Initial Implementation (#1819) 2022-12-11 00:37:08 -05:00
args.py Simple Installer for Unified Directory Structure, Initial Implementation (#1819) 2022-12-11 00:37:08 -05:00
CLI.py Simple Installer for Unified Directory Structure, Initial Implementation (#1819) 2022-12-11 00:37:08 -05:00
concepts_lib.py fix startup messages and a startup crash 2022-12-01 07:42:31 -05:00
conditioning.py Save and display per-token attention maps (#1866) 2022-12-10 15:57:41 +01:00
devices.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
globals.py Simple Installer for Unified Directory Structure, Initial Implementation (#1819) 2022-12-11 00:37:08 -05:00
image_util.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
log.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
model_cache.py Account for flat models 2022-12-07 12:11:37 -05:00
pngwriter.py fix a few more metadata bugs 2022-10-25 00:31:43 -04:00
prompt_parser.py Save and display per-token attention maps (#1866) 2022-12-10 15:57:41 +01:00
readline.py Save and display per-token attention maps (#1866) 2022-12-10 15:57:41 +01:00
seamless.py Split seamless config into separate file 2022-10-17 19:31:20 -04:00
server_legacy.py Add back old dream.py as legacy_api.py 2022-10-12 20:35:56 -04:00
server.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
txt2mask.py Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00