AMDXDNA Driver For Ryzen AI Now Ready To Appear In The Linux Kernel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67082

    AMDXDNA Driver For Ryzen AI Now Ready To Appear In The Linux Kernel

    Phoronix: AMDXDNA Driver For Ryzen AI Now Ready To Appear In The Linux kernel

    The AMDXDNA kernel driver for Linux systems that was made open-source in January for supporting the Ryzen AI NPU on laptop SoCs going back to the Ryzen 7040 "Phoenix" series is now one step away from appearing in the mainline Linux kernel in the near future...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • Adarion
    Senior Member
    • Mar 2009
    • 2059

    #2
    A bit peculiar to put this under DRM, but anyway, nice to have. Not that I have one of these CPUs, yet. And yes, it would have been nice at launch day, but hopefully people will now have a nicely reviewed driver. Now it would of course be fine if we had means to see what calculations could be offloaded to this ASIC and software that would be using it once available.
    Stop TCPA, stupid software patents and corrupt politicians!

    Comment

    • Michael
      Phoronix
      • Jun 2006
      • 14290

      #3
      Originally posted by Adarion View Post
      A bit peculiar to put this under DRM, but anyway, nice to have. Not that I have one of these CPUs, yet. And yes, it would have been nice at launch day, but hopefully people will now have a nicely reviewed driver. Now it would of course be fine if we had means to see what calculations could be offloaded to this ASIC and software that would be using it once available.
      It's under DRM because the accelerator "accel" subsystem is under the DRM umbrella due to commonality with GPUs/drivers.
      Michael Larabel
      https://www.michaellarabel.com/

      Comment

      • euduvda
        Junior Member
        • Jun 2020
        • 27

        #4
        Originally posted by Adarion View Post
        And yes, it would have been nice at launch day, but hopefully people will now have a nicely reviewed driver. Now it would of course be fine if we had means to see what calculations could be offloaded to this ASIC and software that would be using it once available.
        I have one of these and I'm curious for what uses it will really have!

        Comment

        • oleid
          Senior Member
          • Sep 2007
          • 2466

          #5
          Sadly, llama.cpp doesn't support NPUs, yet, AFAIK.

          Comment

          • Errinwright
            Senior Member
            • Aug 2023
            • 177

            #6
            Will video upscaling be supported for media use-cases?

            Comment

            • loganj
              Senior Member
              • Nov 2017
              • 604

              #7
              is there even an app that use this (or any AI) on linux? something similar to windows at least.

              Comment

              • David Huang
                Junior Member
                • Sep 2024
                • 7

                #8
                Originally posted by oleid View Post
                Sadly, llama.cpp doesn't support NPUs, yet, AFAIK.
                There's a Xilinx fork of llama.cpp in the RyzenAI-SW repo that supports running on NPU. Unfortunately its rather PoC-style rather than a mature implementation, and its device kernel was not open source, so it's hard to contribute to the project and improve the quality.

                Comment

                • Ferrum Master
                  Phoronix Member
                  • Feb 2024
                  • 94

                  #9
                  Originally posted by loganj View Post
                  is there even an app that use this (or any AI) on linux? something similar to windows at least.
                  You can use tensorflow libs for PhotoPrism as pretty basic thing, if you manage it get them working. I kinda avoid some piece of software that haven't managed to put delete all buttons where they should be, basically everywhere.

                  Comment

                  • nuetzel
                    Senior Member
                    • May 2016
                    • 750

                    #10
                    Maybe Zen 6 comes with NPU.
                    It's time.

                    Comment

                    Working...
                    X