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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

in real device crashed #25

Open
jiangdi0924 opened this issue Nov 16, 2022 · 2 comments
Open

in real device crashed #25

jiangdi0924 opened this issue Nov 16, 2022 · 2 comments

Comments

@jiangdi0924
Copy link

maple-diffusion is terrific repo,thanks to the author 馃憤.Now i can run it on simulator,but in real device I have encountered some issue.

Version & Device number

  • Xcode Version: 14.1 (14B47b)
  • iPhone 13: iOS16.1.1

Sign & Capabilities

  • Increased Memory Limit open

Cmmond Error
2022-11-16 22:59:47.788875+0800 maple-diffusion[2120:173361] Metal GPU Frame Capture Enabled
2022-11-16 22:59:47.790188+0800 maple-diffusion[2120:173361] Metal API Validation Enabled
2022-11-16 22:59:52.181475+0800 maple-diffusion[2120:173550] [ServicesDaemonManager] interruptionHandler is called. -[FontServicesDaemonManager connection]_block_invoke
libc++abi: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
(lldb)

image

@jiangdi0924 jiangdi0924 changed the title real device crashed in real device crashed Nov 16, 2022
@madebyollin
Copy link
Owner

Ah, thanks for testing! I think the iPhone 13 only has 4GB of RAM, so I guess we have found the lower limit (MD uses around 3.5GB iirc, but I guess the OS doesn't let us use that much when the phone only has 4). I've updated the README to reflect this result.

For iPhone 13, you are definitely better off with liuliu's app, which gets down to 2GB RAM by splitting up the graph even more and replacing some memory-heavy parts with lower-level MPS operations.

@jiangdi0924
Copy link
Author

鉂わ笍Thanks for the reply , I would like to integrate it with other features. For now I can consider developing the macOS version first.

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