Skip to content

[bug]: MacOs Installer 2.2.4: Segmentation fault: 11 using the Browser-based UI #1941

Description

@i3oc9i

Is there an existing issue for this?

  • I have searched the existing issues

OS

macOS

GPU

mps

VRAM

128G

What happened?

I have downloaded the InvokeAI-installer-2.2.4-mac.zip and then installed using the defaults values.

I start invoke.sh using browser-based UI option. The server starts as usual.
Then, as soon as I access the server with the browser, I got the following error:

/invoke.sh: line 24: 11785 Segmentation fault: 11 .venv/bin/python .venv/bin/invoke.py --web $*

The command-line works as expected.

NOTE:
When I install manually the same version 2.2.4 using git clone and Conda, both the browser-based UI and the command-line work as expected.

attached are :

Log at 2022-12-11 11-24-01 PM.txt
problem-report.txt

Screenshots

Do you want to generate images using the

  1. command-line
  2. browser-based UI
  3. open the developer console
    Please enter 1, 2, or 3: 2

Starting the InvokeAI browser-based UI..

patchmatch.patch_match: INFO - Compiling and loading c extensions from "/Users/ivano/invokeai/.venv/lib/python3.10/site-packages/patchmatch".
patchmatch.patch_match: WARNING - patchmatch failed to load or compile.
patchmatch.patch_match: WARNING - Refer to https://github.com/invoke-ai/InvokeAI/blob/main/docs/installation/INSTALL_PATCHMATCH.md for installation instructions.
Patchmatch not loaded (nonfatal)

  • Initializing, be patient...

Initialization file /Users/ivano/invokeai/invokeai.init found. Loading...
InvokeAI runtime directory is "/Users/ivano/invokeai"
GFPGAN Initialized
CodeFormer Initialized
ESRGAN Initialized
Using device_type mps
Initializing safety checker
Current VRAM usage: 0.00G
Scanning Model: stable-diffusion-1.5
Model Scanned. OK!!
Loading stable-diffusion-1.5 from /Users/ivano/invokeai/models/ldm/stable-diffusion-v1/v1-5-pruned-emaonly.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/ivano/invokeai/models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt
Model loaded in 5.49s
Current embedding manager terms: *
Setting Sampler to k_lms

  • --web was specified, starting web server...

Initialization file /Users/ivano/invokeai/invokeai.init found. Loading...
Started Invoke AI Web Server!
Default host address now 127.0.0.1 (localhost). Use --host 0.0.0.0 to bind any address.
Point your browser at http://127.0.0.1:9090
System config requested
./invoke.sh: line 24: 10899 Segmentation fault: 11 .venv/bin/python .venv/bin/invoke.py --web $*

Additional context

Mac Studio M1 Ultra
Memory|: 128GB
macOs: Ventura 13.0.1

Python 3.10.8

pip 22.3.1
protobuf 4.21.11
setuptools 65.4.1
wheel 0.37.1

PyTorch 1.12.1

Contact Details

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions