From eb6fb6dd9f08a4c5442176c641296f67f4bbbec5 Mon Sep 17 00:00:00 2001 From: "Mario Limonciello (AMD)" Date: Sat, 18 Apr 2026 09:47:44 -0500 Subject: [PATCH 1/3] Merge NOTICE.md into LICENSE --- .dockerignore | 1 - LICENSE | 173 +++++++++++++++++++++++++++++++++++++++++++++++++- NOTICE.md | 127 ------------------------------------ README.md | 2 +- 4 files changed, 172 insertions(+), 131 deletions(-) delete mode 100644 NOTICE.md diff --git a/.dockerignore b/.dockerignore index 363338423..ad27400fb 100644 --- a/.dockerignore +++ b/.dockerignore @@ -12,7 +12,6 @@ # Docs mkdocs.yml README.md -NOTICE.md LICENSE # Tests and Examples diff --git a/LICENSE b/LICENSE index 261eeb9e9..78c7877fb 100644 --- a/LICENSE +++ b/LICENSE @@ -186,8 +186,6 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] - Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -199,3 +197,174 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +------------------------------------------------------------------------------- +THIRD-PARTY NOTICES +------------------------------------------------------------------------------- + +PORTIONS LICENSED AS FOLLOWS + +## Lucide Icons + +SVG icon paths copied from Lucide (https://lucide.dev) are used in +`src/app/src/renderer/components/Icons.tsx`. The following icons are included: +ChevronLeft, ChevronRight, BookOpen, ExternalLink, Boxes, Cpu, Store, +Settings, and SlidersHorizontal. These icons are licensed under the ISC +license from https://github.com/lucide-icons/lucide. + +> ISC License +> +> Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as +> part of Feather (MIT). All other copyright (c) for Lucide are held by +> Lucide Contributors 2022. +> +> Permission to use, copy, modify, and/or distribute this software for any +> purpose with or without fee is hereby granted, provided that the above +> copyright notice and this permission notice appear in all copies. +> +> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +## amdxdna_accel.h + +The file `src/cpp/include/lemon/amdxdna_accel.h` is licensed under GPL-2.0 +WITH Linux-syscall-note. + +The Linux-syscall-note exception allows this GPL-licensed kernel UAPI header +to be included in userspace applications without imposing GPL requirements on +the application itself. This exception is standard for Linux kernel headers +that define the userspace API for system calls and ioctl operations. + +## llama.cpp + +Binaries for llama.cpp are downloaded under the MIT license from +https://github.com/ggml-org/llama.cpp, as well as +https://github.com/lemonade-sdk/llamacpp-rocm (which uses +https://github.com/ggml-org/llama.cpp to build them.) + +Lemonade SDK used the [ONNX TurnkeyML](https://github.com/onnx/turnkeyml) +project as a starting point under the Apache 2.0 license. + +> MIT License +> +> Copyright (c) 2023-2024 The ggml authors +> +> 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. + +## Ollama + +Lemonade's Ollama-compatible API is based on the +[Ollama API specification](https://github.com/ollama/ollama/blob/main/docs/api.md), +licensed under the MIT license from https://github.com/ollama/ollama. + +> MIT License +> +> Copyright (c) Ollama +> +> 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. + +## TurnkeyML Attribution + +TurnkeyML used code from other open source projects as a starting point (see +the third-party notices in this file). Thank you Philip Colangelo, Derek +Elkins, Jeremy Fowers, Dan Gard, Victoria Godsoe, Mark Heaps, Daniel Holanda, +Brian Kurtz, Mariah Larwood, Philip Lassen, Andrew Ling, Adrian Macias, Gary +Malik, Sarah Massengill, Ashwin Murthy, Hatice Ozen, Tim Sears, Sean Settle, +Krishna Sivakumar, Aviv Weinstein, Xueli Xao, Bill Xing, and Lev Zlotnik for +your contributions to that work. + +> TurnkeyML used code from the [MLAgility](https://github.com/groq/mlagility) +> and [GroqFlow](https://github.com/groq/groqflow) projects as a starting +> point. Much of that code was refactored, improved, or replaced by the time +> TurnkeyML was published. + +> TurnkeyML uses the [Microsoft lemon emoji](https://github.com/microsoft/fluentui-emoji) +> as an icon for the lemoande tool. + +>The MIT License +> +>Copyright 2023 Groq 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. + +## aixlog + +aixlog is a header-only C++ logging library, licensed under the MIT license +from https://github.com/badaix/aixlog. It has been imported as is with no +modifications in the lemonade tree under the MIT license. It's purpose is a +logging system. + +> MIT License +> +> Copyright (C) 2017-2021 Johannes Pohl +> +> 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. diff --git a/NOTICE.md b/NOTICE.md deleted file mode 100644 index d38068df4..000000000 --- a/NOTICE.md +++ /dev/null @@ -1,127 +0,0 @@ -PORTIONS LICENSED AS FOLLOWS - -## Lucide Icons - -SVG icon paths copied from Lucide (https://lucide.dev) are used in `src/app/src/renderer/components/Icons.tsx`. The following icons are included: ChevronLeft, ChevronRight, BookOpen, ExternalLink, Boxes, Cpu, Store, Settings, and SlidersHorizontal. These icons are licensed under the ISC license from https://github.com/lucide-icons/lucide. - -> ISC License -> -> Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2022. -> -> Permission to use, copy, modify, and/or distribute this software for any -> purpose with or without fee is hereby granted, provided that the above -> copyright notice and this permission notice appear in all copies. -> -> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -## amdxdna_accel.h - -The file `src/cpp/include/lemon/amdxdna_accel.h` is licensed under GPL-2.0 WITH Linux-syscall-note. - -The Linux-syscall-note exception allows this GPL-licensed kernel UAPI header to be included in userspace applications without imposing GPL requirements on the application itself. This exception is standard for Linux kernel headers that define the userspace API for system calls and ioctl operations. - -## llama.cpp - -Binaries for llama.cpp are downloaded under the MIT license from https://github.com/ggml-org/llama.cpp, as well as https://github.com/lemonade-sdk/llamacpp-rocm (which uses https://github.com/ggml-org/llama.cpp to build them.) - -Lemonade SDK used the [ONNX TurnkeyML](https://github.com/onnx/turnkeyml) project as a starting point under the [Apache 2.0 license](./LICENSE). - -> MIT License -> -> Copyright (c) 2023-2024 The ggml authors -> -> 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. - -## Ollama - -Lemonade's Ollama-compatible API is based on the [Ollama API specification](https://github.com/ollama/ollama/blob/main/docs/api.md), licensed under the MIT license from https://github.com/ollama/ollama. - -> MIT License -> -> Copyright (c) Ollama -> -> 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. - -## TurnkeyML Attribution - -TurnkeyML used code from other open source projects as a starting point (see [NOTICE.md](NOTICE.md)). Thank you Philip Colangelo, Derek Elkins, Jeremy Fowers, Dan Gard, Victoria Godsoe, Mark Heaps, Daniel Holanda, Brian Kurtz, Mariah Larwood, Philip Lassen, Andrew Ling, Adrian Macias, Gary Malik, Sarah Massengill, Ashwin Murthy, Hatice Ozen, Tim Sears, Sean Settle, Krishna Sivakumar, Aviv Weinstein, Xueli Xao, Bill Xing, and Lev Zlotnik for your contributions to that work. - -\> TurnkeyML used code from the [MLAgility](https://github.com/groq/mlagility) and [GroqFlow](https://github.com/groq/groqflow) projects as a starting point. Much of that code was refactored, improved, or replaced by the time TurnkeyML was published. - -\> TurnkeyML uses the [Microsoft lemon emoji](https://github.com/microsoft/fluentui-emoji) as an icon for the lemoande tool. - ->The MIT License -> ->Copyright 2023 Groq 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. - -## aixlog - -aixlog is a header-only C++ logging library, licensed under the MIT license from https://github.com/badaix/aixlog. -It has been imported as is with no modifications in the lemonade tree under the MIT -license. It's purpose is a logging system. - -> MIT License -> -> Copyright (C) 2017-2021 Johannes Pohl -> -> 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. diff --git a/README.md b/README.md index f6d4c0bb4..ad04d2236 100644 --- a/README.md +++ b/README.md @@ -340,7 +340,7 @@ This project is: - [IRON/MLIR-AIE](https://github.com/Xilinx/mlir-aie) - and more... - Licensed under the [Apache 2.0 License](https://github.com/lemonade-sdk/lemonade/blob/main/LICENSE). - - Portions of the project are licensed as described in [NOTICE.md](./NOTICE.md). + - Portions of the project are licensed as described in [LICENSE](./LICENSE). From 5de5bc75d12cad13c52c668b820a161c21117756 Mon Sep 17 00:00:00 2001 From: "Mario Limonciello (AMD)" Date: Sat, 18 Apr 2026 09:49:24 -0500 Subject: [PATCH 2/3] Correct the package.json license to be consistent with project --- src/app/package.json | 2 +- src/web-app/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/package.json b/src/app/package.json index 230713c77..cdfab958f 100644 --- a/src/app/package.json +++ b/src/app/package.json @@ -20,7 +20,7 @@ "typescript" ], "author": "", - "license": "MIT", + "license": "Apache-2.0", "devDependencies": { "@tauri-apps/cli": "^2.0.0", "@types/katex": "^0.16.7", diff --git a/src/web-app/package.json b/src/web-app/package.json index 89e71a6bb..b48a9c8f8 100644 --- a/src/web-app/package.json +++ b/src/web-app/package.json @@ -12,7 +12,7 @@ "react" ], "author": "", - "license": "MIT", + "license": "Apache-2.0", "devDependencies": { "@types/katex": "^0.16.7", "@types/markdown-it": "^14.1.2", From e13bd26684282085ef4362e349afd36ba64e76f7 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Mon, 20 Apr 2026 10:43:50 -0500 Subject: [PATCH 3/3] Update LICENSE Co-authored-by: Jeremy Fowers <80718789+jeremyfowers@users.noreply.github.com> --- LICENSE | 1 + 1 file changed, 1 insertion(+) diff --git a/LICENSE b/LICENSE index 78c7877fb..ff2b457b3 100644 --- a/LICENSE +++ b/LICENSE @@ -185,6 +185,7 @@ file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. +Copyright 2026 Lemonade Community Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.