Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,46 @@ 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/*

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.

--------------------------------------------------------------------------------

Expand All @@ -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.

--------------------------------------------------------------------------------

Expand Down
10 changes: 9 additions & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
The Apache Software Foundation (http://www.apache.org/).
52 changes: 52 additions & 0 deletions distribution/src/assembly/ainode-common-files.xml
Original file line number Diff line number Diff line change
@@ -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>
2 changes: 1 addition & 1 deletion distribution/src/assembly/ainode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
</fileSet>
</fileSets>
<componentDescriptors>
<componentDescriptor>common-files.xml</componentDescriptor>
<componentDescriptor>ainode-common-files.xml</componentDescriptor>
</componentDescriptors>
</assembly>
6 changes: 5 additions & 1 deletion iotdb-core/ainode/ainode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions iotdb-core/ainode/iotdb/ainode/core/model/chronos2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions iotdb-core/ainode/iotdb/ainode/core/model/chronos2/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions iotdb-core/ainode/iotdb/ainode/core/model/chronos2/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions iotdb-core/ainode/iotdb/ainode/core/model/chronos2/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions iotdb-core/ainode/iotdb/ainode/core/model/chronos2/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions iotdb-core/ainode/iotdb/ainode/core/model/chronos2/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 4 additions & 2 deletions iotdb-core/ainode/iotdb/ainode/core/model/moirai2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Comment thread
CRZbulabula marked this conversation as resolved.
# SPDX-License-Identifier: Apache-2

from typing import Optional

import torch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading
Loading