# halogen: notices for the NPU (HALOGEN_NPU_MODELS) This covers two things: the NPU engine binary in this image (`/usr/local/bin/halogen-npu`), and the NPU files it loads at run time. Those files are each model's `devices/` directory and weight file, and they are fetched like model weights, not carried in the image. A copy of this file travels with every published set of NPU files, as `devices/NOTICE.md`. ## In the binary: XRT's public headers (Apache-2.0) `halogen-npu` is compiled against the public C++ headers of AMD's XRT, commit `0026185de81a179dc7d886197d3e35f9a179b4e8` (release 2.25.37). Code from those headers, such as inline functions and templates, is part of the binary. XRT's license and notice are reproduced in full beside this file: | file | what | | --- | --- | | `XRT-LICENSE` | XRT's LICENSE at that commit: its userspace code under the Apache License, Version 2.0 | | `XRT-NOTICE` | XRT's NOTICE at that commit | Every header the binary includes names Apache-2.0. Four of them (`xclbin.h`, `ert.h`, `xrt_mem.h`, `xclerr.h`) are shared with XRT's kernel drivers and also name GPL-2.0. XRT's LICENSE places all of its userspace code under Apache-2.0. The XRT libraries themselves are **not** in this image. The binary uses the host's XRT, mounted read-only at `/opt/xilinx/xrt`. ## In the NPU files: the AIE API headers (MIT) The NPU programs in each model's `devices/*.elf` are compiled with AMD's AIE API headers (`aie_api`), whose templates become part of the programs. ``` MIT License Copyright (C) 2022 Xilinx, Inc. Copyright (C) 2022-2026 Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` Also in the NPU files, and listed here although their license does not require a notice in object form: - The NPU programs' startup code (`crt0`, `crt1`) from AMD's llvm-aie. License: Apache License 2.0 WITH LLVM-exception. - The device configuration generated by AMD's mlir-aie. License: Apache License 2.0 WITH LLVM-exception. ## Not included - **XRT's libraries, the NPU driver and the NPU firmware** are the host's. None of them is in this image or in the NPU files. - **The models' weights** are licensed by their authors. Each published model carries its own license and card beside its files.