#
#asahi-dev · 2023-01-14 10:39
dsharshakovRe arm detection: already has an MR. Likely will be pending till Monday. Let's find out who will be the commiter #10000r
#asahi-dev · 2023-01-14 10:38
chadmedbecause the cone just doesnt move enough to smack against the chassis
#asahi-dev · 2023-01-14 10:38
chadmedapple cut out most of the "real" low end and turn it over to funky biquad harmonics, which means they dont need the same ridiculous multiband compression setup i have right now to tame down the low end at high input volumes
#asahi-dev · 2023-01-14 10:38
chadmedso the problem right now is that we dont have a psychoacoustic bass plugin to cut down on how much we need to move the cone
#asahi-dev · 2023-01-14 10:37
dsharshakovHow much more efficient is the pipeline on macOS? Maybe the task cannot be more efficient
#asahi-dev · 2023-01-14 10:37
chadmedi had to revert one of wim's commits to test it, he broke spa arm cpu detection with some bad pointer logic
#asahi-dev · 2023-01-14 10:36
dsharshakovchadmed: glad to be helpful ;)
#asahi-dev · 2023-01-14 10:27
chadmedthe compressor is still an enormous cpu hog but i dont think we really have a way around that if we would like to preserve our speaker cones :/
#asahi-dev · 2023-01-14 10:26
chadmedanother huge dub for audio quality and efficiency: pipewire has been fixed to accept multiple IRs at multiple sample rates to cut down on resampling, which introduced some really gnarly artefacts (and cost way too much cpu time)
#asahi-dev · 2023-01-14 09:40
Cyrinuxmarcan suspend on m2 air ok now, thx !
#asahi-dev · 2023-01-14 09:16
dottedmagchadmed: To use these examples: blessing is not in glossary, and boot policy is mentioned in SEP article, but not on its own. More important, glossary says "what thing is", not "where do I find it when I look at the system, and what does it contain"
#asahi-dev · 2023-01-14 09:07
chadmeddottedmag: the glossary should have some of that stuff, if theres stuff missing ill add it
#asahi-dev · 2023-01-14 08:56
dottedmagchadmed: Very nice writeup. Is there another place that grounds the terms used in it to the actual bits? I'm looking for something like "per-container boot polices are files this and that on partition foo" and "blessing means creating a signature using this key over hashes of these files and storing it in here"
#asahi-dev · 2023-01-14 07:03
eilndoes make me think there could be perf gains w/ dedicated kernels for common routines
#asahi-dev · 2023-01-14 07:02
eilne.g. Hardswish function in MobileNetV3 isn't implemented, so it goes NPU --deswizzle--> CPU Hardswish --reswizzle--> NPU, quadrupling the time from MobileNetV2 which is fully NPU
#asahi-dev · 2023-01-14 07:02
eilnCPU layers are fallback for passes their compiler hasn't implemented yet lol not because it's more efficient or whatever
#asahi-dev · 2023-01-14 07:02
chadmedmakes sense to me, its like how they had crap raw perf gains going from Firestorm to Avalanche so for the first time literally ever went "uhh yeah we're faster than qualcomm actually"
#asahi-dev · 2023-01-14 07:01
eilnrelated, the coreml "device distribution algorithm" 100% favors NPU
#asahi-dev · 2023-01-14 07:00
eilnthey repetitively emphasize power consumption though, "executing on a device that is orders of magnitude more energy-constrained"
#asahi-dev · 2023-01-14 06:59
eilnthe speed numbers are pretty mediocre, considering they do a repo's worth of surgery on top of their closed-source framework
#asahi-dev · 2023-01-14 06:59
eilnif you look at https://github.com/apple/ml-ane-transformers
#asahi-dev · 2023-01-14 06:20
chadmedid rather the phone not get hot when its tagging images for "monkey dancing on a bouncy ball"
#asahi-dev · 2023-01-14 06:19
chadmedmakes sense re efficiency of the ANE. it's mostly used in the iphone for background image processing for things like text search indexing and post processing, neither of which need to be blisteringly fast
#asahi-dev · 2023-01-14 06:19
eilnmarcan: actually DCT/DST transforms seem very doable, let me see if i can some up with a temporary jpeg/scaler block for the meantime ;)
#asahi-dev · 2023-01-14 06:15
chadmedeiln: thanks :) as soon as we get that second PCM exposed for V/I readings we can start enabling devices!
#asahi-dev · 2023-01-14 06:12
eilnfrom what ive seen the selling point is power-efficiency over raw speed
#asahi-dev · 2023-01-14 06:12
eilnchadmed: thank you :)) nice work on audio too
#asahi-dev · 2023-01-14 06:09
chadmedelin: congrats! very impressive getting this far in what feels like no time at all really
#asahi-dev · 2023-01-14 05:42
marcanyeah, makes sense (though we already have a fancy scaler block for that, once someone figures *that* out)
#asahi-dev · 2023-01-14 05:39
eilncolor space conversion seems very feasible too imo
#asahi-dev · 2023-01-14 05:37
eilnhehe
#asahi-dev · 2023-01-14 05:37
eilnthey designed it with cnn's in mind, so it's rlly well fitted for image processing
#asahi-dev · 2023-01-14 05:37
lina(also I got pinged by "linalg" www)
#asahi-dev · 2023-01-14 05:37
lina^^
#asahi-dev · 2023-01-14 05:35
eilnhavent got to benchmark anything yet but i do see it being useful for general linalg passes
#asahi-dev · 2023-01-14 05:33
marcan(meanwhile I hear lina is doing GPU compute today, so maybe that'll cover the training side? :p)
#asahi-dev · 2023-01-14 05:32
marcaneiln: also you should toot that :-)
#asahi-dev · 2023-01-14 05:32
marcando you think it's worth using for non-ML tasks, like image processing?
#asahi-dev · 2023-01-14 05:31
marcanvery nice work
#asahi-dev · 2023-01-14 05:31
marcandammit and here I thought ANE was going to be on my back burner forever, it's what i've been telling people :p
#asahi-dev · 2023-01-14 05:31
eilnnow trying to port chaining for fatter ones like detection & segmentation..
#asahi-dev · 2023-01-14 05:31
eilnthank you :))
#asahi-dev · 2023-01-14 05:31
marcanvery nice!
#asahi-dev · 2023-01-14 05:31
eilnlinux! loaded kernel module on reference distro
#asahi-dev · 2023-01-14 05:30
marcanis that on m1n1, or actually on Linux?
#asahi-dev · 2023-01-14 05:30
marcaneiln: niiiiice
#asahi-dev · 2023-01-14 05:29
eilnANE fully
#asahi-dev · 2023-01-14 05:29
nicolas17GPU, ANE?
#asahi-dev · 2023-01-14 05:29
nicolas17yeah but
#asahi-dev · 2023-01-14 05:29
eilnasahi :)

plus ›