[AINode] Add third-party attributions to binary package - #18620
Merged
HTHou merged 2 commits intoSep 11, 2026
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Several adapted uni2ts source files still omit the upstream attribution restored only in norm.py.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds third-party attribution metadata to AINode source and binary distributions.
Changes:
- Adds GLIDE and MOMENT license files and an AINode-specific NOTICE.
- Updates both AINode assembly paths to package attribution files.
- Restores upstream attribution headers for adapted model code.
File summaries
| File | Description |
|---|---|
pom.xml |
Excludes packaged attribution files from RAT checks. |
NOTICE |
Adds Chronos attribution. |
LICENSE |
Adds GLIDE license and upstream copyrights. |
iotdb-core/ainode/src/assembly/resources/NOTICE-binary |
Defines AINode-specific notices. |
iotdb-core/ainode/src/assembly/resources/licenses/LICENSE-MOMENT |
Adds MOMENT MIT license. |
iotdb-core/ainode/src/assembly/resources/licenses/LICENSE-GLIDE |
Adds GLIDE MIT license. |
iotdb-core/ainode/iotdb/ainode/core/model/sundial/flow_loss.py |
Adds GLIDE attribution. |
iotdb-core/ainode/iotdb/ainode/core/model/moment/pipeline_moment.py |
Adds MOMENT copyright. |
iotdb-core/ainode/iotdb/ainode/core/model/moment/modeling_moment.py |
Adds MOMENT copyright. |
iotdb-core/ainode/iotdb/ainode/core/model/moment/configuration_moment.py |
Adds MOMENT copyright. |
iotdb-core/ainode/iotdb/ainode/core/model/moirai2/module/norm.py |
Adds uni2ts attribution. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/utils.py |
Restores Chronos header. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/pipeline_chronos2.py |
Restores Chronos header. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/model.py |
Restores Chronos header. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/layers.py |
Restores Chronos header. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/dataset.py |
Restores Chronos header. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/config.py |
Restores Chronos header. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/chronos_bolt.py |
Restores Chronos header. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/base.py |
Restores Chronos header. |
iotdb-core/ainode/iotdb/ainode/core/model/chronos2/__init__.py |
Restores Chronos header. |
iotdb-core/ainode/ainode.xml |
Packages AINode notices and licenses. |
distribution/src/assembly/ainode.xml |
Selects AINode-specific common files. |
distribution/src/assembly/ainode-common-files.xml |
Defines final AINode attribution payload. |
Review details
- Files reviewed: 23/23 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is a follow-up to #18611. That PR adds the full MOMENT MIT text to the source release root
LICENSE; this PR covers the AINode binary packaging path and the related pre-existing attribution gaps found during review.NOTICEin both the module and distribution assembliesLICENSEThe AINode-specific assembly metadata keeps these attributions out of unrelated IoTDB binary artifacts. The separate DiT/
FinalLayerprovenance work is intentionally not included here.Verification
black --check .andisort --check-only --profile black .iniotdb-core/ainodemvn apache-rat:check -DskipTestsmvn -P with-ainode -pl iotdb-core/ainode apache-rat:check -DskipTestsxmllintcompileallainode-binZIP contained the AINode-specificNOTICE,licenses/LICENSE-GLIDE, andlicenses/LICENSE-MOMENT, with byte-identical packaged contents