bark.cpp icon indicating copy to clipboard operation
bark.cpp copied to clipboard

Support iOS and Android?

Open hussain-mustafa990 opened this issue 2 years ago • 7 comments

Hi, Is it possible to support iOS and Android? General guidelines on how you'd approach that.

Thanks, Hussain

hussain-mustafa990 avatar Nov 12 '23 17:11 hussain-mustafa990

Hi @hussain-mustafa990 !

This should be possible, but I doubt the model would be very fast even with quantized weights.

PABannier avatar Apr 10 '24 13:04 PABannier

@PABannier did you know sono later published a small model variant too?

Green-Sky avatar Apr 11 '24 09:04 Green-Sky

Oh no, I did not know that. Well, there are many things to do, lol. Bark Small, Audiocraft, AudioLDM2, Piper/Vits, etc. I'll try to have a look this week-end

PABannier avatar Apr 11 '24 12:04 PABannier

FYI, I just merged instructions to run bark-small with bark.cpp. This model should be more suited for mobile platforms, provided we support CoreML.

PABannier avatar Apr 20 '24 13:04 PABannier

Very nice, will test it later!

Green-Sky avatar Apr 20 '24 13:04 Green-Sky

Very nice, will test it later!

@Green-Sky Have you tried it yet? I'm very curious. I am considering to try leveraging bark.cpp in an open source project of mine. If anyone could confirm that this small model is running, with okay'ish speed, on your average mid-range (or otherwise high-end) phone 🤔 🤠 - that'd be awesome. Thanks

BrutalCoding avatar May 21 '24 09:05 BrutalCoding

Hello @BrutalCoding ! There is a demo of Bark.cpp running on the iPhone.

PABannier avatar May 22 '24 09:05 PABannier