swift-coreml-diffusers icon indicating copy to clipboard operation
swift-coreml-diffusers copied to clipboard

Not available for iPad

Open smileBeda opened this issue 2 years ago • 4 comments

macOS Ventura 13.1, iOS/iPadOS 16.2, Xcode 14.2. > macOS Ventura 13.1, iOS/iPadOS 16.2, Xcode 14.2.

However, on iPad App Store, says the only compatible hardware is "only on Mac"

smileBeda avatar Jun 23 '23 04:06 smileBeda

Hi @smileBeda! We haven't submitted an iPhone/iPadOS version yet, so you'd need to compile it yourself for now.

The reason was that it's harder to test on a variety of phones, as everyone can download it only to find it doesn't work on devices with a moderate amount of RAM. We'll try to sort it out!

Fortunately, iOS 17 will allow for lower memory consumption when it's released in September, so it'll be compatible with more devices.

pcuenca avatar Jun 23 '23 11:06 pcuenca

Hi @smileBeda! We haven't submitted an iPhone/iPadOS version yet, so you'd need to compile it yourself for now.

The reason was that it's harder to test on a variety of phones, as everyone can download it only to find it doesn't work on devices with a moderate amount of RAM. We'll try to sort it out!

Fortunately, iOS 17 will allow for lower memory consumption when it's released in September, so it'll be compatible with more devices.

But i had build for ios with a ipad pro simulator,it failed in line 12 & line 190(build and run for macos is ok) what can i do for this error? thanks !

截屏2023-08-08 00 33 29 截屏2023-08-08 00 35 31

AndreaChiChengdu avatar Aug 07 '23 16:08 AndreaChiChengdu

This is the proposed code update in https://github.com/huggingface/swift-coreml-diffusers/pull/77/commits/0b42e77e382d951147bfdcf6b29dddc14ba3bf4c

Option 1 - stay on your current version of Xcode and in DiffusionApp.swift change the deviceSupportsQuantization definition to this and build again: let deviceSupportsQuantization: Bool = { if #available(iOS 17, *) { true return true } else { false return false }

Option 2 - install Xcode 15 beta.

ghost avatar Aug 07 '23 16:08 ghost

Can anyone share the app after the build?

yasirroni avatar Dec 04 '23 12:12 yasirroni