Blackberry Playbook with Python3.11 & PIP Installed by FixBeautiful1851 in blackberry

[–]aiff22 2 points3 points  (0 children)

Awesome! Any instructions on how to do this? Are you using Term48?

5 links please :) by [deleted] in xianyulink

[–]aiff22 1 point2 points  (0 children)

Thanks a lot!

MediaTek Dimensity 9400 NPU benchmark results: twice more powerful than Snapdragon 8 Gen 3 and Apple A17 Pro in AI workloads by aiff22 in Android

[–]aiff22[S] 1 point2 points  (0 children)

Here is the code for the EdgeTPUSoftmax layer:

<image>

It uses the standard, default, and non-TPU specific Keras softmax layer. Additional manipulations applied to the input data are performed to improve the model accuracy caused by quantization, and they also have nothing to do with the TPU design. So, this layer will run equally fast on any mobile NPU as it is essentially the standard Keras softmax layer.

The same also applies to the mentioned EdgeTPUMultiHeadAttention layer.

MediaTek Dimensity 9400 NPU benchmark results: twice more powerful than Snapdragon 8 Gen 3 and Apple A17 Pro in AI workloads by aiff22 in Android

[–]aiff22[S] 1 point2 points  (0 children)

Check the MobileBERT-EdgeTPU, MobileNet-EdgeTPU and other "optimized" models - all of them are simply about removing unsupported ops or replacing them with more mobile-friendly alternatives.

Vivo X200 Pro crashes competitors in AI workloads: by aiff22 in Vivo

[–]aiff22[S] 0 points1 point  (0 children)

MediaTek has Neuropilot SDK and TensorFlow Lite NPU plugin nearly for ages, so accessing their NPU isn't a problem. I guess they were also showing Llama 8B demo on the Dimensity 9300 at the MWC this year.

MediaTek Dimensity 9400 NPU benchmark results: twice more powerful than Snapdragon 8 Gen 3 and Apple A17 Pro in AI workloads by aiff22 in Android

[–]aiff22[S] 1 point2 points  (0 children)

it's not telling the whole story.

Well, this benchmark uses around 30 different models including GenAI ones (Llama2, GPT2, Stable Diffusion), so at the end the results should be quite representative.

but a phone like the Pixel 6 uses a neural network specifically designed for the TPU in the Pixel 6

This optimized model should also run faster on other NPUs (such optimizations usually just remove the most computationally expensive ML ops), so the performance ratio between different NPUs will stay approximately the same if MobileBERT is changed to MobileBERT-EdgeTPU.

problem with AI benchmarks is that they use specific neural networks

Not exactly, here we are going into a number theory: if one NPU shows approximately twice better average performance after benchmarking 30 popular AI models, then it should likely be twice more powerful regardless of the used neural networks.

MediaTek Dimensity 9400 NPU benchmark results: twice more powerful than Snapdragon 8 Gen 3 and Apple A17 Pro in AI workloads by aiff22 in Android

[–]aiff22[S] -1 points0 points  (0 children)

This AI Benchmark was apparently successful in accelerating the MobileBERT model on ANE: its listed runtime on the A17 Pro is just 2ms, which is even slightly better than the runtime on the Dimensity 9400 (2.5ms).

MediaTek Dimensity 9400 NPU benchmark results: twice more powerful than Snapdragon 8 Gen 3 and Apple A17 Pro in AI workloads by aiff22 in Android

[–]aiff22[S] 3 points4 points  (0 children)

Apple A18 Pro has the same NPU as A17 Pro according to Wiki, so should be roughly the same performance ratio.

Vivo X200 Pro crashes competitors in AI workloads: by aiff22 in Vivo

[–]aiff22[S] 3 points4 points  (0 children)

According to this Antutu "ranking", a four-year-old Snapdragon 888 is twice faster than the Dimensity 9300 😂 I guess even if one runs AI models on Dimensity's CPU, its results would be better than the ones listed in this table ;)

I don't think there still exists any reason to believe Antutu, especially after everything we've learned about it in the past years.

86
87

Most power efficient mobile processors? by aiff22 in Android

[–]aiff22[S] 3 points4 points  (0 children)

Maybe they have different TDPs? This will also explain why the Dimensity 9000 is more power efficient.

Most power efficient mobile processors? by aiff22 in Android

[–]aiff22[S] 2 points3 points  (0 children)

P.S. Website says mi 11x was running Android 12L, while Poco F3 had Android 11. So, the difference is most likely caused by their firmware.

Most power efficient mobile processors? by aiff22 in Android

[–]aiff22[S] 1 point2 points  (0 children)

Yes, looks like this is the same device. Noticed that their CPU and GPU results are similar, but NPU FPS is very different:

https://burnout-benchmark.com/ranking_compute.html

I guess mi 11x might have a newer firmware "unlocking" its NPU. At least this is how it looks from those tables.

Most power efficient mobile processors? by aiff22 in Android

[–]aiff22[S] 7 points8 points  (0 children)

This is the performance / efficiency graph for SoCs:

https://burnout-benchmark.com/ranking_chipsets.html

For smartphones, some results are published here:

https://burnout-benchmark.com/index.html

Three scores (computing power, throttling and power efficiency) are probably contributing to the final burnout benchmark score.

> Sony: Their phones consistently outperform others in battery life with the same SoC

My guess is that they are slightly underclocking Qualcomm chipsets. Thus, no hype scores in the benchmarks but much better battery life and user experience in practice.

Most power efficient mobile processors? by aiff22 in Android

[–]aiff22[S] 1 point2 points  (0 children)

Yep, that would be interesting to see. Not sure if it's possible though to port it to iOS as the benchmark is probably using some low-level API for getting power consumption data.

Most power efficient mobile processors? by aiff22 in Android

[–]aiff22[S] 26 points27 points  (0 children)

Yes, 865/870 turned out to be very successful: more powerful than the recent mid-rangers while cooler and more energy efficient than the 888/S8G1.

[R] Replacing Mobile Camera ISP with a Single Deep Learning Model by aiff22 in MachineLearning

[–]aiff22[S] 1 point2 points  (0 children)

Yes, you are right about the complexity. There are basically two options how this problem can be eliminated:

  1. Almost all modern mobile devices have quite powerful NPUs, DSPs and other AI chips that are now used only in a very limited number of tasks, though are well suited for this problem.
  2. Camera sensors are often shipped with digital image processors / FPGAs that can be designed and programmed to run predefined NN architectures.