Machine Learning on the Neural Engine (of the M1)?

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • We are testing if and how we can trigger the Neural Engine on the M1 Macbook Air to do Machine Learning.
    00:00 Intro
    02:02 Predicting
    05:40 Training
    07:50 Coremltoools (python)
    09:05 Outro
  • Věda a technologie

Komentáře • 43

  • @ravindranathjha6434
    @ravindranathjha6434 Před 3 lety +21

    Mere 100 subscribers!
    This channel is way better than those "video-editing" benchmarking channels.
    Subbed!

  • @devdutt3435
    @devdutt3435 Před rokem +1

    Finally someone explained how ANE works 😃

  • @jrub3314
    @jrub3314 Před 3 lety +2

    Nice job, bro. I appreciate your work!

  • @RomanPittroff
    @RomanPittroff Před 3 lety +2

    Amazing and best timing, Danke!

  • @cgmiguel
    @cgmiguel Před 3 lety

    Insightful testing!

  • @abderemanesoilihi6061
    @abderemanesoilihi6061 Před 2 lety

    Nice videos, keep it up. I hope to hear more performances on the new M1 Pro

  • @wealthbyGDP
    @wealthbyGDP Před 3 lety +1

    Keep going brother! Need more ML videos for CoreML etc.

  • @utubekullanicisi
    @utubekullanicisi Před 3 lety +9

    I think I did see a couple of people succesfully doing neural training on the Neural Engine. I might put those videos under this comment if I come across them again

    • @cavenotes8378
      @cavenotes8378  Před 3 lety +2

      That would be very interesting to see.

    • @gighavlex
      @gighavlex Před 4 měsíci

      U have the videos yet? Or the name??

  • @jannik3475
    @jannik3475 Před 3 lety

    Tolles Video!

  • @il5083
    @il5083 Před 2 lety

    Hope we'll see more application with the neural engine, maybe eventually tensor flow training.

  • @josephlabs
    @josephlabs Před 3 lety

    Thanks. Would you be able to do a comparison to desktop GPU's because im deciding wether or not to build an ML server

  • @teeI0ck
    @teeI0ck Před 3 lety

    |📹 this video is very well explained, helpful, interesting and insightful. 💡
    Muito obrigado for sharing 🤝

  • @Ded-Ede
    @Ded-Ede Před 3 lety +1

    With ML on the M1 Mac mini, I though the Photos app and the Notes app scanning function would be better at recognizing and identifying faces, places, objects and OCR in images. And faster too. I’m totally naive to all this but that was the impression I got. Why is this not so now or is it something to come?

  • @dr.mikeybee
    @dr.mikeybee Před 2 lety

    Very interesting. Apple's architecture and APIs are a real mystery. This helps push back the veil. One thing to mention is that Apple M1 also has two ML Accelerators. I think they're also referred to as an AGX coprocessor.

    • @SergioWolf843
      @SergioWolf843 Před rokem

      The (ANE) is not individually programmable as the accelerators (AMX) from the A13 Bionic the Chipset has two neural engines with different purposes.

  • @AhsanZafar
    @AhsanZafar Před 2 lety

    is there a way to use ANE in python?

  • @_cw_
    @_cw_ Před 3 lety +5

    Thanks for making this video. Could you also put a link to your evaluation script as well? I'm interested to inspect why doesn't it train on GPU and ANE

    • @gighavlex
      @gighavlex Před 4 měsíci

      U know now?

    • @_cw_
      @_cw_ Před 3 měsíci

      nope@@gighavlex

  • @mehregankbi
    @mehregankbi Před 3 lety

    I'm thinking how using mac minis as servers for ML deployment could be nice. on the other hand, you could use tensor cores that nvidia makes.

  • @gighavlex
    @gighavlex Před 4 měsíci

    Now (2024) we can train ML with neural engine in mac m1?

  • @dr.mikeybee
    @dr.mikeybee Před 2 lety +1

    BTW, the BNNS API only does inference -- no training.

  • @qwertzuiop875
    @qwertzuiop875 Před 2 lety

    Is the NPU analog? Maybe the reason why you can't use it for training is because it's not precise enough. Analog chips are usually not precise, but very efficient and fast.

  • @swipekonme
    @swipekonme Před 3 lety +1

    what a revelation

  • @dr.mikeybee
    @dr.mikeybee Před 2 lety

    Have you posted this code or a notebook on Github?

  • @karuneshpalekar5212
    @karuneshpalekar5212 Před 3 lety

    Would be great if you mention your device specs too

  • @user-ew4jl4oo5r
    @user-ew4jl4oo5r Před 3 lety

    Thank you! Can you compare tensorflow on m1 to gpu

    • @cavenotes8378
      @cavenotes8378  Před 3 lety +1

      I did that in a previous video: czcams.com/video/eRwt_FXTdmg/video.html

  • @winson5159
    @winson5159 Před rokem

    How to program the neural engines with C language

  • @LeicaM11
    @LeicaM11 Před 2 lety

    Ich mag Core ML auch, musste aber den Mac mini M1 zurücksenden. Habe jetzt nur das Ipad pro M1 und warte schon so lange auf den Mac mini M1x oder M2.

  • @ck8708
    @ck8708 Před 2 lety

    Skeptical on the purpose of the neural engine. If child protection can be done using the neural engines on phones, how can one be sure that it doesn't do something else on a mac?

  • @notgabby604
    @notgabby604 Před 3 lety +1

    Maybe in future everyone will use Fast Transform fixed-filterbank neural networks and everyone will have to learn the fast Walsh Hadamard transform.

  • @hzlin6655
    @hzlin6655 Před 2 lety

    it seems it gonna like pain in the a** if you want to build something big....

  • @shisoka7187
    @shisoka7187 Před 3 lety

    I hear some German accent

  • @CompilationError
    @CompilationError Před 2 lety +1

    this isn't training . 😒