This is an automated email from the ASF dual-hosted git repository.

HTHou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new ab6f8a214e1 [AINode] Add third-party attributions to binary package 
(#18620)
ab6f8a214e1 is described below

commit ab6f8a214e159825e8e34d4cb24332b0fe7f84f5
Author: Yongzao <[email protected]>
AuthorDate: Fri Sep 11 09:25:58 2026 +0800

    [AINode] Add third-party attributions to binary package (#18620)
    
    * [AINode] Add third-party attributions to binary package
    
    * [AINode] Restore uni2ts source attribution headers
---
 LICENSE                                            | 34 +++++++++++
 NOTICE                                             | 10 +++-
 distribution/src/assembly/ainode-common-files.xml  | 52 +++++++++++++++++
 distribution/src/assembly/ainode.xml               |  2 +-
 iotdb-core/ainode/ainode.xml                       |  6 +-
 .../iotdb/ainode/core/model/chronos2/__init__.py   |  2 +
 .../iotdb/ainode/core/model/chronos2/base.py       |  3 +
 .../ainode/core/model/chronos2/chronos_bolt.py     |  3 +
 .../iotdb/ainode/core/model/chronos2/config.py     |  3 +
 .../iotdb/ainode/core/model/chronos2/dataset.py    |  3 +
 .../iotdb/ainode/core/model/chronos2/layers.py     |  3 +
 .../iotdb/ainode/core/model/chronos2/model.py      |  3 +
 .../core/model/chronos2/pipeline_chronos2.py       |  3 +
 .../iotdb/ainode/core/model/chronos2/utils.py      |  3 +
 .../iotdb/ainode/core/model/moirai2/__init__.py    |  6 +-
 .../ainode/core/model/moirai2/common/torch_util.py |  5 ++
 .../ainode/core/model/moirai2/modeling_moirai2.py  |  5 ++
 .../ainode/core/model/moirai2/module/attention.py  |  5 ++
 .../iotdb/ainode/core/model/moirai2/module/ffn.py  |  5 ++
 .../iotdb/ainode/core/model/moirai2/module/norm.py |  5 ++
 .../core/model/moirai2/module/packed_scaler.py     |  5 ++
 .../core/model/moirai2/module/position/__init__.py |  5 ++
 .../core/model/moirai2/module/position/additive.py |  5 ++
 .../model/moirai2/module/position/attn_bias.py     |  5 ++
 .../moirai2/module/position/attn_projection.py     |  5 ++
 .../core/model/moirai2/module/transformer.py       |  5 ++
 .../ainode/core/model/moirai2/module/ts_embed.py   |  5 ++
 .../ainode/core/model/moirai2/transform/_base.py   |  5 ++
 .../ainode/core/model/moirai2/transform/_mixin.py  |  5 ++
 .../core/model/moirai2/transform/imputation.py     |  5 ++
 .../core/model/moment/configuration_moment.py      |  1 +
 .../ainode/core/model/moment/modeling_moment.py    |  1 +
 .../ainode/core/model/moment/pipeline_moment.py    |  1 +
 .../iotdb/ainode/core/model/sundial/flow_loss.py   |  2 +
 .../ainode/src/assembly/resources/NOTICE-binary    | 65 ++++++++++++++++++++++
 .../src/assembly/resources/licenses/LICENSE-GLIDE  | 21 +++++++
 .../src/assembly/resources/licenses/LICENSE-MOMENT | 21 +++++++
 pom.xml                                            |  3 +
 38 files changed, 321 insertions(+), 5 deletions(-)

diff --git a/LICENSE b/LICENSE
index c3c34824c4b..222444ed3fb 100644
--- a/LICENSE
+++ b/LICENSE
@@ -341,6 +341,38 @@ License: 
https://github.com/LMAX-Exchange/disruptor/blob/master/LICENCE.txt
 
 
--------------------------------------------------------------------------------
 
+The following file includes code modified from GLIDE project.
+
+./iotdb-core/ainode/iotdb/ainode/core/model/sundial/flow_loss.py
+
+The GLIDE project is open source software licensed under the MIT License.
+Project page: https://github.com/openai/glide-text2im
+License: https://github.com/openai/glide-text2im/blob/main/LICENSE
+
+MIT License
+
+Copyright (c) 2021 OpenAI
+
+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.
+
+--------------------------------------------------------------------------------
+
 The following files include code modified from chronos-forecasting project.
 
 ./iotdb-core/ainode/iotdb/ainode/core/model/chronos2/*
@@ -348,6 +380,7 @@ The following files include code modified from 
chronos-forecasting project.
 The chronos-forecasting is open source software licensed under the Apache 
License 2.0
 Project page: https://github.com/amazon-science/chronos-forecasting
 License: 
https://github.com/amazon-science/chronos-forecasting/blob/main/LICENSE
+Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 
 
--------------------------------------------------------------------------------
 
@@ -358,6 +391,7 @@ The following files include code modified from uni2ts 
project.
 The uni2ts is open source software licensed under the Apache License 2.0
 Project page: https://github.com/SalesforceAIResearch/uni2ts
 License: https://github.com/SalesforceAIResearch/uni2ts/blob/main/LICENSE.txt
+Copyright (c) 2024, Salesforce, Inc.
 
 
--------------------------------------------------------------------------------
 
diff --git a/NOTICE b/NOTICE
index 79e9122a3d1..b457766a81b 100644
--- a/NOTICE
+++ b/NOTICE
@@ -26,8 +26,16 @@ This product includes source code derived from the 
DataDog/toto project:
 
 ============================================================================
 
+This product includes source code derived from the chronos-forecasting project:
+
+  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+  Licensed under the Apache License, Version 2.0
+  https://github.com/amazon-science/chronos-forecasting
+
+============================================================================
+
 Apache Commons Collections
 Copyright 2001-2019 The Apache Software Foundation
 
 This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
\ No newline at end of file
+The Apache Software Foundation (http://www.apache.org/).
diff --git a/distribution/src/assembly/ainode-common-files.xml 
b/distribution/src/assembly/ainode-common-files.xml
new file mode 100644
index 00000000000..1728964a95e
--- /dev/null
+++ b/distribution/src/assembly/ainode-common-files.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, 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.
+
+-->
+<component xmlns="http://maven.apache.org/ASSEMBLY-COMPONENT/2.1.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY-COMPONENT/2.1.0 
http://maven.apache.org/xsd/assembly-component-2.1.0.xsd";>
+    <fileSets>
+        <fileSet>
+            <directory>${project.basedir}/../licenses</directory>
+            <outputDirectory>licenses</outputDirectory>
+        </fileSet>
+        <fileSet>
+            
<directory>${project.basedir}/../iotdb-core/ainode/src/assembly/resources/licenses</directory>
+            <outputDirectory>licenses</outputDirectory>
+        </fileSet>
+    </fileSets>
+    <files>
+        <file>
+            <source>${project.basedir}/../README.md</source>
+        </file>
+        <file>
+            <source>${project.basedir}/../README_ZH.md</source>
+        </file>
+        <file>
+            <source>${project.basedir}/../LICENSE-binary</source>
+            <destName>LICENSE</destName>
+        </file>
+        <file>
+            
<source>${project.basedir}/../iotdb-core/ainode/src/assembly/resources/NOTICE-binary</source>
+            <destName>NOTICE</destName>
+        </file>
+        <file>
+            <source>${project.basedir}/../RELEASE_NOTES.md</source>
+        </file>
+    </files>
+</component>
diff --git a/distribution/src/assembly/ainode.xml 
b/distribution/src/assembly/ainode.xml
index 46bf51930b7..bfdbca984bd 100644
--- a/distribution/src/assembly/ainode.xml
+++ b/distribution/src/assembly/ainode.xml
@@ -47,6 +47,6 @@
         </fileSet>
     </fileSets>
     <componentDescriptors>
-        <componentDescriptor>common-files.xml</componentDescriptor>
+        <componentDescriptor>ainode-common-files.xml</componentDescriptor>
     </componentDescriptors>
 </assembly>
diff --git a/iotdb-core/ainode/ainode.xml b/iotdb-core/ainode/ainode.xml
index b47cbeb4a79..bd762a9786a 100644
--- a/iotdb-core/ainode/ainode.xml
+++ b/iotdb-core/ainode/ainode.xml
@@ -37,7 +37,7 @@
             <destName>LICENSE</destName>
         </file>
         <file>
-            <source>${maven.multiModuleProjectDirectory}/NOTICE-binary</source>
+            <source>src/assembly/resources/NOTICE-binary</source>
             <destName>NOTICE</destName>
         </file>
     </files>
@@ -60,6 +60,10 @@
             <outputDirectory>lib</outputDirectory>
             <fileMode>0755</fileMode>
         </fileSet>
+        <fileSet>
+            <directory>src/assembly/resources/licenses</directory>
+            <outputDirectory>licenses</outputDirectory>
+        </fileSet>
         <fileSet>
             <directory>${project.basedir}/../../scripts/sbin</directory>
             <outputDirectory>sbin</outputDirectory>
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/__init__.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/__init__.py
index 2a1e720805f..de6dab65c42 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/__init__.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/__init__.py
@@ -15,3 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/base.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/base.py
index 17052145857..03c3cdad3ae 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/base.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/base.py
@@ -15,6 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
+
 
 from enum import Enum
 from pathlib import Path
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/chronos_bolt.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/chronos_bolt.py
index 68880e63edb..ab8fa132e91 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/chronos_bolt.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/chronos_bolt.py
@@ -15,6 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
+
 
 import copy
 from dataclasses import dataclass
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/config.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/config.py
index 226e1ccfdf8..f56beb0b2e6 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/config.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/config.py
@@ -15,6 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
+
 
 from dataclasses import dataclass
 from typing import List, Literal
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/dataset.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/dataset.py
index cf3b5edbff3..5d81c741eb8 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/dataset.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/dataset.py
@@ -15,6 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
+
 
 import math
 from enum import Enum
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/layers.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/layers.py
index 818e3fc30cf..5de7226b1ea 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/layers.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/layers.py
@@ -15,6 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
+
 
 from dataclasses import dataclass
 
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/model.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/model.py
index ae33015c136..b2714765b1a 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/model.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/model.py
@@ -15,6 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
+
 
 import copy
 from dataclasses import dataclass
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/pipeline_chronos2.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/pipeline_chronos2.py
index 083125e4b99..2d9cdf4fb2f 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/pipeline_chronos2.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/pipeline_chronos2.py
@@ -15,6 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
+
 import math
 
 import torch
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/utils.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/utils.py
index 279652abba9..18ae1836868 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/utils.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/chronos2/utils.py
@@ -15,6 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# SPDX-License-Identifier: Apache-2.0
+
 
 from typing import List
 
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/__init__.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/__init__.py
index f1ad0c458d3..584f7748478 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/__init__.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/__init__.py
@@ -17,6 +17,8 @@
 #
 # This file is part of the Apache IoTDB project.
 #
-# This file includes code modified from the uni2ts project 
(https://github.com/salesforce/uni2ts).
-# The original code is licensed under the Apache License 2.0.
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
 #
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/common/torch_util.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/common/torch_util.py
index 469e8044b99..382b7d05eb1 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/common/torch_util.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/common/torch_util.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 from typing import Optional
 
 import numpy as np
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/modeling_moirai2.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/modeling_moirai2.py
index c9b7afc98a3..b64f623af89 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/modeling_moirai2.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/modeling_moirai2.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 import math
 import warnings
 from contextlib import contextmanager
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/attention.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/attention.py
index 407b4f4abd9..885d14361a7 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/attention.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/attention.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 import math
 from collections.abc import Callable
 from functools import partial
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/ffn.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/ffn.py
index 2c737ecc00c..629fe09e26a 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/ffn.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/ffn.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 from collections.abc import Callable
 from typing import Optional
 
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/norm.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/norm.py
index e7ef8eb6932..a6809de29f3 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/norm.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/norm.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 from typing import Optional
 
 import torch
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/packed_scaler.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/packed_scaler.py
index 832145acef3..4754a3b1e20 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/packed_scaler.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/packed_scaler.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 from typing import Optional
 
 import torch
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/__init__.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/__init__.py
index 4d23d3fd41b..884d8de0192 100644
--- 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/__init__.py
+++ 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/__init__.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 from .additive import LearnedEmbedding, SinusoidalPositionEncoding
 from .attn_bias import (
     AttentionBias,
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/additive.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/additive.py
index 8bf1ba723af..b872a3cbcef 100644
--- 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/additive.py
+++ 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/additive.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 import math
 
 import torch
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/attn_bias.py
 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/attn_bias.py
index 49b8139b7c5..5219a6bf320 100644
--- 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/attn_bias.py
+++ 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/attn_bias.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 import abc
 
 import torch
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/attn_projection.py
 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/attn_projection.py
index e5bfb63c652..5ddc542cd1c 100644
--- 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/attn_projection.py
+++ 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/position/attn_projection.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 import abc
 import math
 from functools import cached_property
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/transformer.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/transformer.py
index 3f12468128c..3089fdcf64a 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/transformer.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/transformer.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 from collections.abc import Callable
 from functools import partial
 from typing import Optional
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/ts_embed.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/ts_embed.py
index 5cddbaa1dae..7959e0e9aba 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/ts_embed.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/ts_embed.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 import math
 from typing import Optional
 
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/_base.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/_base.py
index b4aa490ed29..dd70d9a3d27 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/_base.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/_base.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 import abc
 from dataclasses import dataclass
 from typing import Any
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/_mixin.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/_mixin.py
index e5c38a1bf31..95064ea90e3 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/_mixin.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/_mixin.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 from collections.abc import Callable
 from typing import Any
 
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/imputation.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/imputation.py
index 1f9269a966a..21f15a704e2 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/imputation.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moirai2/transform/imputation.py
@@ -16,6 +16,11 @@
 # under the License.
 #
 
+# This file includes code modified from the uni2ts project:
+# https://github.com/SalesforceAIResearch/uni2ts
+# Copyright (c) 2024, Salesforce, Inc.
+# SPDX-License-Identifier: Apache-2
+
 from dataclasses import dataclass
 from typing import Any
 
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moment/configuration_moment.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moment/configuration_moment.py
index e249d620ff8..58fcbd9504c 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moment/configuration_moment.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moment/configuration_moment.py
@@ -19,6 +19,7 @@
 # This file contains code adapted from the MOMENT project
 # (https://github.com/moment-timeseries-foundation-model/moment),
 # originally licensed under the MIT License.
+# Copyright (c) 2024 Auton Lab, Carnegie Mellon University
 
 from typing import Optional
 
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moment/modeling_moment.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moment/modeling_moment.py
index a3b358a21e3..b998a5fda42 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moment/modeling_moment.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moment/modeling_moment.py
@@ -19,6 +19,7 @@
 # This file contains code adapted from the MOMENT project
 # (https://github.com/moment-timeseries-foundation-model/moment),
 # originally licensed under the MIT License.
+# Copyright (c) 2024 Auton Lab, Carnegie Mellon University
 
 import json
 import os
diff --git 
a/iotdb-core/ainode/iotdb/ainode/core/model/moment/pipeline_moment.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/moment/pipeline_moment.py
index 67108d736de..f9b3d3bd83a 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/moment/pipeline_moment.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/moment/pipeline_moment.py
@@ -19,6 +19,7 @@
 # This file contains code adapted from the MOMENT project
 # (https://github.com/moment-timeseries-foundation-model/moment),
 # originally licensed under the MIT License.
+# Copyright (c) 2024 Auton Lab, Carnegie Mellon University
 
 import torch
 
diff --git a/iotdb-core/ainode/iotdb/ainode/core/model/sundial/flow_loss.py 
b/iotdb-core/ainode/iotdb/ainode/core/model/sundial/flow_loss.py
index 76a49431edf..e3ffdb1c926 100644
--- a/iotdb-core/ainode/iotdb/ainode/core/model/sundial/flow_loss.py
+++ b/iotdb-core/ainode/iotdb/ainode/core/model/sundial/flow_loss.py
@@ -94,7 +94,9 @@ class TimestepEmbedder(nn.Module):
         :param max_period: controls the minimum frequency of the embeddings.
         :return: an (N, D) Tensor of positional embeddings.
         """
+        # Adapted from GLIDE:
         # https://github.com/openai/glide-text2im/blob/main/glide_text2im/nn.py
+        # Copyright (c) 2021 OpenAI
         half = dim // 2
         freqs = torch.exp(
             -math.log(max_period)
diff --git a/iotdb-core/ainode/src/assembly/resources/NOTICE-binary 
b/iotdb-core/ainode/src/assembly/resources/NOTICE-binary
new file mode 100644
index 00000000000..e30b3ffd5b3
--- /dev/null
+++ b/iotdb-core/ainode/src/assembly/resources/NOTICE-binary
@@ -0,0 +1,65 @@
+Apache IoTDB AINode
+Copyright 2018-2026 The Apache Software Foundation.
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+============================================================================
+
+IoTDB project uses 4 Chinese Patents:
+* 201711384490X
+* 201810111712.9
+* 201711322631.5
+* 201711319331.1
+
+According to the Apache 2.0 License. The owner of the patents, Tsinghua 
University,
+grant the users the right to the use of patent under the requirement of Apache 
2.0 License.
+
+============================================================================
+
+This product includes source code derived from the DataDog/toto project:
+
+  Toto - Timeseries-Optimized Transformer for Observability
+  Copyright 2025 Datadog, Inc.
+  Licensed under the Apache License, Version 2.0
+  https://github.com/DataDog/toto
+
+============================================================================
+
+This product includes source code modified from the GLIDE project:
+
+  Copyright (c) 2021 OpenAI
+  Licensed under the MIT License (see licenses/LICENSE-GLIDE)
+  https://github.com/openai/glide-text2im
+
+============================================================================
+
+This product includes source code modified from the MOMENT project:
+
+  Copyright (c) 2024 Auton Lab, Carnegie Mellon University
+  Licensed under the MIT License (see licenses/LICENSE-MOMENT)
+  https://github.com/moment-timeseries-foundation-model/moment
+
+============================================================================
+
+This product includes source code modified from the uni2ts project:
+
+  Copyright (c) 2024, Salesforce, Inc.
+  Licensed under the Apache License, Version 2.0
+  https://github.com/SalesforceAIResearch/uni2ts
+
+============================================================================
+
+This product includes source code derived from the chronos-forecasting project:
+
+  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+  Licensed under the Apache License, Version 2.0
+  https://github.com/amazon-science/chronos-forecasting
+
+============================================================================
+
+Apache Commons Collections
+Copyright 2001-2019 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
diff --git a/iotdb-core/ainode/src/assembly/resources/licenses/LICENSE-GLIDE 
b/iotdb-core/ainode/src/assembly/resources/licenses/LICENSE-GLIDE
new file mode 100644
index 00000000000..c123b693347
--- /dev/null
+++ b/iotdb-core/ainode/src/assembly/resources/licenses/LICENSE-GLIDE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2021 OpenAI
+
+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/iotdb-core/ainode/src/assembly/resources/licenses/LICENSE-MOMENT 
b/iotdb-core/ainode/src/assembly/resources/licenses/LICENSE-MOMENT
new file mode 100644
index 00000000000..c4844b20ecd
--- /dev/null
+++ b/iotdb-core/ainode/src/assembly/resources/licenses/LICENSE-MOMENT
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2024 Auton Lab, Carnegie Mellon University
+
+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/pom.xml b/pom.xml
index 7d4b3d74a42..8b6b73ab4b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -766,6 +766,9 @@
                             <!-- bundled third-party NOTICE / license texts 
for the C++ client package -->
                             
<exclude>**/package-metadata/third_party/NOTICE</exclude>
                             
<exclude>**/package-metadata/third_party/licenses/**</exclude>
+                            <!-- bundled third-party NOTICE / license texts 
for the AINode package -->
+                            
<exclude>**/ainode/src/assembly/resources/NOTICE-binary</exclude>
+                            
<exclude>**/ainode/src/assembly/resources/licenses/**</exclude>
                             <!-- only for Travis CI with WinOS-->
                             <exclude>hadoopbin</exclude>
                             <exclude>windowssystem32</exclude>

Reply via email to