mazzzystar / Queryable

Run OpenAI's CLIP model on iOS to search photos.

Home Page:https://queryable.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS 17 beta issue: abnormal search results.

flipped0119 opened this issue · comments

In iOS 17 beta 3, regardless of the keyword used, the search results are always the same.

It appears to be a bug introduced in the iOS 17 beta, where input text is being embedded into the same vector. Currently, I am unable to determine the exact cause of this issue.

I can confirm the results are the same, not always, but most of the time.

@RupGautam
I've debugged the issue. I found that all text inputs were embedded into the same value in iOS 17 beta. However, it works correctly on iOS 16. I suspect it was the issue related with model loading, didn't figured out the problem yet.

@mazzzystar
"Deep green/blue water with mountains around"

"Deep green/blue water without mountains around"

Gives me the same results. ⁉️

@RupGautam Right, you're using iOS 17 beta. As I've mentioned before, every input query in iOS 17 got the same text embedding vector output, which may be cause by model loading failure.

@RupGautam @flipped0119
did you use Xcode 15 beta to compile? I've just tried iOS 17.0 simulator on my Xcode 14.3.1 and it works correctly. I do got abnormal result on my Xcode 15, it seems to be a Xcode issue.

@mazzzystar So has the bug been fixed with Xcode beta?

@mazzzystar So has the bug been fixed with Xcode beta?

No, I'm saying that when using Xcode 14 + iOS 17 beta simulator to run the app, everything seems to be normal. While in Xcode 15 + iOS 17 the issue occurs.

But I only have one phone, and when your phone is upgraded to iOS 17 beta, you can't submit new app to App Store. So I couldn't test this issue on my my real phone.

Confirmed, when upgraded to iOS 17 public beta, everything back to normal.