Closed foxen closed 6 years ago
This looks like a dupe of #146, which appears to be a framework bug that shipped with macOS 10.13 and iOS 11. From that issue, the workaround seems to be to disable Metal API validation (essentially disabling some runtime assertions). (https://github.com/apple/turicreate/issues/146#issuecomment-370189366) Does that work for you?
This is a dupe of #146. Closing.
@nickjong Yes, It does work. Thank you!
Hello! It's looks like related to #307 If I try use GPU for classification request like:
request.usesCPUOnly = false
and just declare SCNScene and even not init it, app on iPhone SE with IOS 11.4.1 fails with:validateComputeFunctionArguments:852: failed assertion `Compute Function(TARR_elementwise_mul_f16_pack4): The pixel format (MTLPixelFormatRGBA32Float) of the texture (name:) bound at index 2 is incompatible with the data type (MTLDataTypeHalf) of the texture parameter (src_b [[texture(0)]]). MTLPixelFormatRGBA32Float is compatible with the data type(s) (
float
).'