#134·ESRGAN

fail on MacOS(VENTURA) with NDArray > 2**32

Author: gugaucbCreated Feb 25, 2023Updated Feb 20, 2025
  • GPU: mps
  • VRAM: unified 128G
  • CPU arch: arm
  • OS: macOS VENTURA
  • Python: Anaconda / Python 3.9.13
  • Branch: main / development

python test.py Model path models/RRDB_ESRGAN_x4.pth. Testing... 1 baboon 2 comic 3 macaco1 /AppleInternal/Library/BuildRoots/c651a45f-806e-11ed-a221-7ef33c48bc85/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:724: failed assertion [MPSNDArray initWithDevice:descriptor:] Error: total bytes of NDArray > 2**32' ` Similar situation about this issue https://github.com/invoke-ai/InvokeAI/issues/1244.

Someone know to resolve this error?