Skip to content

Problems with text embedding when changed model #391

@pweglik

Description

@pweglik

I loaded text model from clip with its tokenizers. It's supposed to return vector of length 512 of type float 32. Everythin gworks fine at Android, but it doesn't on iOS - I receive this error:

libc++abi: terminating due to uncaught exception of type std::invalid_argument: Unsupported ScalarType passed to arrayToNSArray!

terminating due to uncaught exception of type std::invalid_argument: Unsupported ScalarType passed to arrayToNSArray!
CoreSimulator 1010.10 - Device: iPhone 16 Pro (5128C732-810E-4A24-A04D-F2CBDA0F101D) - Runtime: iOS 18.3 (22D8075) - DeviceType: iPhone 16 Pro

Related to #353 currently it only works on Android

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions