Skip to content

Linux NPU support blocked by missing proprietary blobs! #335

@0xSecureByte

Description

@0xSecureByte

Many critical shared libraries required for Linux NPU remain as Git LFS pointer files instead of actual binaries after git lfs pull. (Vitis AI EP, xir, vart, etc)

lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/cpu/libonnxruntime.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:d02fbef250cc277d43f6b75aa26ff5eab4c022e2ea891c2f50d7af76ef1e50d1'$'\n''size 19'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libglog.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:21c73185542887de698aa8e053c1ae1dd48c1297e85af208c84c747915a2ec24'$'\n''size 12'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libonnxruntime.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:d02fbef250cc277d43f6b75aa26ff5eab4c022e2ea891c2f50d7af76ef1e50d1'$'\n''size 19'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libonnxruntime_vitisai_ep.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:6ab9542f3f67eec515b9d154811352c2257d47c534bf89bc42a5ab1040956058'$'\n''size 30'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libtarget-factory.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:ffd8c5a519880cb8772108fd273d6c54e53ae5c2f86c328ed96755743c3271db'$'\n''size 22'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libunilog.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:ce35adb2911ada323834f88421e98059487837dc74b177de29a41f80f72ded35'$'\n''size 14'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-cpu-runner.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:0122472a89f637f6ae7868c82b35a4aa7f5ffe932d19da98f25a57bde491596f'$'\n''size 23'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-mem-manager.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:8d8a95558f0951b6f49bf066f9ad5ab0d9b56e2d821ac45b7d0cc354d9a35483'$'\n''size 24'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-runner.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:3644ca2b3326c7880cc883936691c895270937551158551ff2a95d11ee9436e2'$'\n''size 19'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-trace.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:deed64e8727e4dbd00772c4f5992bca5b974fc32e2e1c61c3635de24f8524bc6'$'\n''size 18'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-util.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:d50368101bbbc22222e08e04a3a6d47f4c2a565a9e8a92ab842e2ada0432d648'$'\n''size 17'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libxcompiler-xcompiler-core.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:e5f603d61098bf74aa51dcdecf39ffb4d0df4ba9a6475e4c7591a944ad84b4f5'$'\n''size 32'$'\n'
lrwxrwxrwx. 1 securebyte securebyte 127 Feb  2 11:37 Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libxir.so -> 'version https://git-lfs.github.com/spec/v1'$'\n''oid sha256:71a432a5e757afcc94d81a057d2cb12b0b9c0af0ce87b1ff74341e693cb651ba'$'\n''size 11'$'\n'
(npu-env) securebyte@engineer:~/run_llm_test/RyzenAI-SW$ git lfs logs last
git-lfs/3.7.1 (GitHub; linux amd64; go 1.25.1 X:nodwarf5)
git version 2.52.0

$ git-lfs pull
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libxcompiler-xcompiler-core.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libxcompiler-xcompiler-core.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-trace.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-trace.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libonnxruntime_vitisai_ep.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libonnxruntime_vitisai_ep.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/cpu/libonnxruntime.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/cpu/libonnxruntime.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libonnxruntime.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libonnxruntime.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-runner.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-runner.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-cpu-runner.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-cpu-runner.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-util.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-util.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-mem-manager.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libvart-mem-manager.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libtarget-factory.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libtarget-factory.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libunilog.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libunilog.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libxir.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libxir.so"
Checkout error for "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libglog.so": not a regular file: "Ryzen-AI-CVML-Library/linux/onnx/ryzen14/libglog.so"

If intentionally unreleased: Atleast give us some news about when it is going to be released. Because amd-xdna driver is already merged into latest kernel sources.

According to my research the block feels intentional as we can't create an official AMD account as per the guide here which needs an account to download the files for linux. And so after not possible to access it.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions