InvokeAI/ldm/invoke
Lincoln Stein 29b348ece1 fix corrupted outputs/.next_prefix file
- Since 2.3.2 invokeai stores the next PNG file's numeric prefix in a
  file named `.next_prefix` in the outputs directory. This avoids the
  overhead of doing a directory listing to find out what file number
  comes next.

- The code uses advisory locking to prevent corruption of this file in
  the event that multiple invokeai's try to access it simultaneously,
  but some users have experienced corruption of the file nevertheless.

- This PR addresses the problem by detecting a potentially corrupted
  `.next_prefix` file and falling back to the directory listing method.
  A fixed version of the file is then written out.

- Closes #3001
2023-03-23 22:07:05 -04:00
..
ckpt_generator further improvements to ability to find location of data files 2023-01-31 12:24:55 -05:00
config add --upgrade to update script 2023-03-13 10:15:33 -04:00
generator fix generate backend to generate "accurate" intermediate images 2023-02-23 22:03:28 -05:00
restoration Change denoise_str to an arg instead of a class variable 2023-02-09 20:16:23 +13:00
training use diffusers 0.14 cache layout 2023-03-09 22:35:43 -05:00
__init__.py fix(xformers): shush about not having Triton available. 2023-02-17 17:41:27 -08:00
_version.py bump version to post1 2023-03-13 09:35:25 -04:00
args.py Merge branch 'v2.3' into enhance/simple-param-scanner-script 2023-03-09 12:02:40 -05:00
ckpt_to_diffuser.py Merge branch 'v2.3' into bugfix/support-both-v2-variants 2023-03-11 10:01:32 -05:00
CLI.py remove outdated comment 2023-03-13 12:51:27 -04:00
concepts_lib.py improve embed trigger token not found error 2023-01-19 15:46:58 -05:00
conditioning.py fix newlines causing negative prompt to be parsed incorrectly 2023-02-28 17:32:17 -05:00
devices.py fix(diffusers_pipeline): ensure cuda.get_mem_info always gets a specific device index. 2023-02-17 16:56:15 -08:00
dynamic_prompts.py add logging, support for prompts with shell metachars 2023-03-09 11:57:44 -05:00
globals.py use diffusers 0.14 cache layout 2023-03-09 22:35:43 -05:00
image_util.py Global replace [ \t]+$, add "GB" (#1751) 2022-12-19 16:36:39 +00:00
log.py rename all modules from ldm.dream to ldm.invoke 2022-10-08 11:37:23 -04:00
merge_diffusers.py use diffusers 0.14 cache layout 2023-03-09 22:35:43 -05:00
model_manager.py improve support for V2 variant legacy checkpoints 2023-03-11 19:34:10 -05:00
offloading.py new OffloadingDevice loads one model at a time, on demand (#2596) 2023-02-16 23:48:27 +00:00
patchmatch.py defer patchmatch loading (#2039) 2022-12-20 15:32:35 -08:00
pngwriter.py fix corrupted outputs/.next_prefix file 2023-03-23 22:07:05 -04:00
readline.py Add symmetry to generation (#2675) 2023-02-20 07:33:19 -05:00
seamless.py use 🧨diffusers model (#1583) 2023-01-15 09:22:46 -05:00
server_legacy.py Global replace [ \t]+$, add "GB" (#1751) 2022-12-19 16:36:39 +00:00
server.py Global replace [ \t]+$, add "GB" (#1751) 2022-12-19 16:36:39 +00:00
txt2mask.py remove dead code 2023-02-03 17:35:35 -05:00