invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.34k stars 2.4k forks source link

[bug]: Flag --no-patchmatch can not work #1964

Closed FreeBlues closed 1 year ago

FreeBlues commented 1 year ago

Is there an existing issue for this?

OS

macOS

GPU

mps

VRAM

No response

What happened?

When I try to close patchmatch with the flag --no-patchmatch, it can not take effect, the patchmatch still loaded.

Screenshots

No response

Additional context

(invokeai) ppt@pptdeMacBook-Pro invokeAI % python scripts/invoke.py --no-patchmatch --web --host 0.0.0.0
objc[3036]: Class CaptureDelegate is implemented in both /Users/ppt/miniconda/envs/invokeai/lib/python3.10/site-packages/cv2/cv2.abi3.so (0x154b9ca88) and /usr/local/Cellar/opencv/4.6.0/lib/libopencv_videoio.4.6.0.dylib (0x15edaf878). One of the two will be used. Which one is undefined.
objc[3036]: Class CVWindow is implemented in both /Users/ppt/miniconda/envs/invokeai/lib/python3.10/site-packages/cv2/cv2.abi3.so (0x154b9cad8) and /usr/local/Cellar/opencv/4.6.0/lib/libopencv_highgui.4.6.0.dylib (0x15e9b6b38). One of the two will be used. Which one is undefined.
objc[3036]: Class CVView is implemented in both /Users/ppt/miniconda/envs/invokeai/lib/python3.10/site-packages/cv2/cv2.abi3.so (0x154b9cb00) and /usr/local/Cellar/opencv/4.6.0/lib/libopencv_highgui.4.6.0.dylib (0x15e9b6b60). One of the two will be used. Which one is undefined.
objc[3036]: Class CVSlider is implemented in both /Users/ppt/miniconda/envs/invokeai/lib/python3.10/site-packages/cv2/cv2.abi3.so (0x154b9cb28) and /usr/local/Cellar/opencv/4.6.0/lib/libopencv_highgui.4.6.0.dylib (0x15e9b6b88). One of the two will be used. Which one is undefined.
>> Patchmatch initialized
* Initializing, be patient...
>> WARNING: Old initialization file found at /Users/ppt/.invokeai. This location is deprecated. Please move it to /Users/ppt/invokeai/invokeai.init.
>> InvokeAI runtime directory is "/Users/ppt/invokeai"
>> GFPGAN Initialized
>> CodeFormer Initialized
>> ESRGAN Initialized
>> Using device_type mps
>> Current VRAM usage:  0.00G
>> Scanning Model: HassansBlend1.4
>> Model Scanned. OK!!
>> Loading HassansBlend1.4 from /Users/ppt/invokeai/models/ldm/stable-diffusion-v1/HassanBlend1.4.ckpt
   | LatentDiffusion: Running in eps-prediction mode
   | DiffusionWrapper has 859.52 M params.
   | Making attention of type 'vanilla' with 512 in_channels
   | Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
   | Making attention of type 'vanilla' with 512 in_channels
   | Using more accurate float32 precision
   | Loading VAE weights from: /Users/ppt/invokeai/models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt
>> Model loaded in 18.95s
>> Current embedding manager terms: *
>> Setting Sampler to ddim

* --web was specified, starting web server...
>> WARNING: Old initialization file found at /Users/ppt/.invokeai. This location is deprecated. Please move it to /Users/ppt/invokeai/invokeai.init.
>> Started Invoke AI Web Server!
Point your browser at http://localhost:9090 or use the host's DNS name or IP address.
>> System config requested

Contact Details

No response

Lolagatorade commented 1 year ago

Same issue on linux, from what i know you dont really need patchmatch but if your going to use infill feature it makes a pretty big difference. hopefully they are working on it as patchmatch page gives a 404 error, last time that happened they were adding arch linux instructions as prior was only debian. use the program as is without patchmatch for now

github-actions[bot] commented 1 year ago

There has been no activity in this issue for 14 days. If this issue is still being experienced, please reply with an updated confirmation that the issue is still being experienced with the latest release.