Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed assertion #20

Open
GeorgeBellTMH opened this issue Oct 20, 2022 · 3 comments
Open

failed assertion #20

GeorgeBellTMH opened this issue Oct 20, 2022 · 3 comments

Comments

@GeorgeBellTMH
Copy link

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

@GeorgeBellTMH
Copy link
Author

https://stackoverflow.com/questions/60645401/xcode-logging-metal-api-validation-enabled disabling metal api validation resolved the issue...

@GeorgeBellTMH
Copy link
Author

However the end result was a black image...

@madebyollin
Copy link
Owner

madebyollin commented Oct 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants