Open GeorgeBellTMH opened 2 years ago
https://stackoverflow.com/questions/60645401/xcode-logging-metal-api-validation-enabled disabling metal api validation resolved the issue...
However the end result was a black image...
Hmm, are you able to directly run Maple Diffusion on Intel (macOS)? The simulator's Metal device seems unusual and may not be well-supported by the MPSGraph framework.
2022-10-20 16:29:53.297676-0400 maple-diffusion[4294:89875] Metal GPU Frame Capture Enabled 2022-10-20 16:29:53.297919-0400 maple-diffusion[4294:89875] Metal API Validation Enabled -[MTLDebugComputeCommandEncoder setThreadgroupMemoryLength:atIndex:]:543: failed assertion
length(16640) must be <= 16384.' -[MTLDebugComputeCommandEncoder setThreadgroupMemoryLength:atIndex:]:543: failed assertion
length(16640) must be <= 16384.' CoreSimulator 857.7 - Device: iPhone 13 Pro (9DA5A0FF-129A-426D-922B-5AFFEB611685) - Runtime: iOS 16.0 (20A360) - DeviceType: iPhone 13 Pro (lldb)Running in simulator on intel