candle icon indicating copy to clipboard operation
candle copied to clipboard

iOS app store validation issues

Open sinkingsugar opened this issue 10 months ago • 6 comments

FYI with current master I am getting:

ITMS-90755: Invalid Binary - The following binaries in your app contains prohibited instructions: (my binary with candle in it). Remove the instructions from the binaries, rebuild and resubmit.

We are reverting to 0.8.1 for now, will update if I find out more.

sinkingsugar avatar Jan 28 '25 04:01 sinkingsugar

May I ask what's the model uses here? Does it faster than llama.cpp on CPU?

lucasjinreal avatar Jan 29 '25 09:01 lucasjinreal

May I ask what's the model uses here? Does it faster than llama.cpp on CPU?

Sure, we mainly use the library for tensor operations (https://github.com/fragcolor-xyz/shards/tree/devel/shards/modules/candle), as we indeed switched to use llama.cpp on GPU for most of the workloads we have. The issue is mainly for consistence and to signal lack of love for those platforms.

sinkingsugar avatar Jan 31 '25 11:01 sinkingsugar

Oh, these way is strange. Does candle slower too much than llama.cpp on GPU?

lucasjinreal avatar Feb 01 '25 02:02 lucasjinreal

Oh, these way is strange. Does candle slower too much than llama.cpp on GPU?

on iOS candle gpu does not even work.. currently there are some invalid metal calls that fail on iOS.

sinkingsugar avatar Feb 01 '25 08:02 sinkingsugar

In that case candle team need to take a look

lucasjinreal avatar Feb 01 '25 10:02 lucasjinreal

Downgrading ug to 0.0.2 fixed the issue. I suspect it's gemm that ug @ 0.1.0 uses at 0.18

sinkingsugar avatar Mar 23 '25 13:03 sinkingsugar

@sinkingsugar should be fixed now :)

ivarflakstad avatar Sep 04 '25 16:09 ivarflakstad