sd-forge-layerdiffuse
sd-forge-layerdiffuse copied to clipboard
Running on M1 crashes the UI
I run the sanity check but it crashes when loading the UNet1024. Does it not yet work with Apple?
Total progress: 100%|████████████████████████████████████████| 20/20 [01:00<00:00, 3.01s/it] [Layer Diffusion] LayerMethod.FG_ONLY_ATTN███████████████████| 20/20 [01:00<00:00, 2.41s/it] To load target model SDXL Begin to load 1 model Moving model(s) has taken 31.84 seconds 100%|████████████████████████████████████████████████████████| 20/20 [00:58<00:00, 2.92s/it] To load target model AutoencoderKL███████████████████████████| 20/20 [00:53<00:00, 2.71s/it] Begin to load 1 model Reuse 1 loaded models Moving model(s) has taken 10.24 seconds To load target model UNet1024 Begin to load 1 model Moving model(s) has taken 0.54 seconds 0%| | 0/8 [00:00<?, ?it/s]/AppleInternal/Library/BuildRoots/9941690d-bcf7-11ed-a645-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:706: failed assertion `[MPSTemporaryNDArray initWithDevice:descriptor:] Error: NDArray dimension length > INT_MAX' webui.sh: line 292: 9330 Abort trap: 6 "${python_cmd}" -u "${LAUNCH_SCRIPT}" "$@" Benjamins-MBP:stable-diffusion-webui-forge benjaminbertram$ /opt/homebrew/Cellar/[email protected]/3.10.13/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
I have the exact same issue, M1 Max 64G
same here M1 Max 32GB
Same here M1 Max 64G
Same here on Apple Silicon, M3 Max. This looks so promising!
I am having the same problem on M1 Ultra 64G but get a different error message:
Begin to load 1 model Moving model(s) has taken 0.09 seconds To load target model UNet1024 Begin to load 1 model Moving model(s) has taken 0.24 seconds 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:01<00:00, 4.01it/s] /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSNDArray/Kernels/MPSNDArraySort.mm:287: failed assertion `(null)" Axis = 4. This class only supports axis = 0, 1, 2, 3 ' /opt/homebrew/Cellar/[email protected]/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' ./webui.sh: line 292: 51091 Abort trap: 6 "${python_cmd}" -u "${LAUNCH_SCRIPT}" "$@"
I see some discussions here and here, I tried ./webui.sh --no-half
, no luck, and I don't think it's do to with OOM, so I guess some packages might need to be downgraded, like tqdm
, but haven't tried it yet.
same issue M1 Max 64G
I see some discussions here and here, I tried
./webui.sh --no-half
, no luck, and I don't think it's do to with OOM, so I guess some packages might need to be downgraded, liketqdm
, but haven't tried it yet.
Seems not to work. I uninstalled tqdm, ran it without --no-half and got the same error. With the flag, however, I got @dmanning23 s error
The same with mac studio with M1 Max 32Gb
Issue with crashing on 2021 Macbook Pro 64Gb RAM , Apple M1 Max:
/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSNDArray/Kernels/MPSNDArraySort.mm:287: failed assertion `(null)" Axis = 4. This class only supports axis = 0, 1, 2, 3 '
Happen in SD Farge and with Stability Matrix's inference UI.
I can try with an M3 Max, but I doubt that will be better.
I even experienced two pink screens and restarts. And got a popup warning: Python quit unexpectedly.Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple. mini M1 16g
/AppleInternal/Library/BuildRoots/495c257e-668e-11ee-93ce-926038f30c31/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSNDArray/Kernels/MPSNDArraySort.mm:287: failed assertion `(null)" Axis = 4. This class only supports axis = 0, 1, 2, 3 ' ./webui.sh: line 292: 1167 Abort trap: 6 "${python_cmd}" -u "${LAUNCH_SCRIPT}" "$@" (SD1111) test@bogon stable-diffusion-webui-forge % /opt/homebrew/Cellar/[email protected]/3.10.14/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
+1
I am having the same problem on M1 Ultra 64G but get a different error message:
got prompt model_type EPS Using split attention in VAE Using split attention in VAE clip missing: ['clip_l.logit_scale', 'clip_l.transformer.text_projection.weight'] Requested to load SD1ClipModel Loading 1 new model Requested to load BaseModel Loading 1 new model 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:14<00:00, 1.36it/s] Requested to load AutoencoderKL Loading 1 new model /opt/anaconda3/lib/python3.11/site-packages/diffusers/models/unet_2d_blocks.py:76: FutureWarning:
get_down_blockis deprecated and will be removed in version 0.29. Importing
get_down_blockfrom
diffusers.models.unet_2d_blocksis deprecated and this will be removed in a future version. Please use
from diffusers.models.unets.unet_2d_blocks import get_down_block, instead. deprecate("get_down_block", "0.29", deprecation_message) /opt/anaconda3/lib/python3.11/site-packages/diffusers/models/unet_2d_blocks.py:213: FutureWarning:
get_up_blockis deprecated and will be removed in version 0.29. Importing
get_up_blockfrom
diffusers.models.unet_2d_blocksis deprecated and this will be removed in a future version. Please use
from diffusers.models.unets.unet_2d_blocks import get_up_block, instead. deprecate("get_up_block", "0.29", deprecation_message) 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:02<00:00, 3.34it/s] /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSNDArray/Kernels/MPSNDArraySort.mm:287: failed assertion
(null)" Axis = 4. This class only supports axis = 0, 1, 2, 3`