From bc7445e4b1bfef80824acf21093e2c882a6ce551 Mon Sep 17 00:00:00 2001 From: deepspark-bot Date: Wed, 11 Dec 2024 17:10:14 +0800 Subject: [PATCH] auto add license --- .../v0.9.2/patch/csrc/includes/conversion_utils.h | 15 +++++++++++++++ .../v0.9.2/patch/csrc/lamb/fused_lamb_cuda.cpp | 15 +++++++++++++++ .../patch/csrc/lamb/fused_lamb_cuda_kernel.cu | 15 +++++++++++++++ .../csrc/transformer/inference/csrc/transform.cu | 15 +++++++++++++++ .../includes/inference_cublas_wrappers.h | 15 +++++++++++++++ .../v0.9.2/patch/op_builder/transformer.py | 15 +++++++++++++++ 6 files changed, 90 insertions(+) diff --git a/toolbox/DeepSpeed/v0.9.2/patch/csrc/includes/conversion_utils.h b/toolbox/DeepSpeed/v0.9.2/patch/csrc/includes/conversion_utils.h index 9c87668ad..58298b92f 100644 --- a/toolbox/DeepSpeed/v0.9.2/patch/csrc/includes/conversion_utils.h +++ b/toolbox/DeepSpeed/v0.9.2/patch/csrc/includes/conversion_utils.h @@ -1,3 +1,18 @@ +# Copyright (c) 2024, Shanghai Iluvatar CoreX Semiconductor Co., Ltd. +# All Rights Reserved. +# +# 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 +# +# 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. + // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 diff --git a/toolbox/DeepSpeed/v0.9.2/patch/csrc/lamb/fused_lamb_cuda.cpp b/toolbox/DeepSpeed/v0.9.2/patch/csrc/lamb/fused_lamb_cuda.cpp index fbacd225e..52e758bae 100644 --- a/toolbox/DeepSpeed/v0.9.2/patch/csrc/lamb/fused_lamb_cuda.cpp +++ b/toolbox/DeepSpeed/v0.9.2/patch/csrc/lamb/fused_lamb_cuda.cpp @@ -1,3 +1,18 @@ +# Copyright (c) 2024, Shanghai Iluvatar CoreX Semiconductor Co., Ltd. +# All Rights Reserved. +# +# 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 +# +# 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. + // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 diff --git a/toolbox/DeepSpeed/v0.9.2/patch/csrc/lamb/fused_lamb_cuda_kernel.cu b/toolbox/DeepSpeed/v0.9.2/patch/csrc/lamb/fused_lamb_cuda_kernel.cu index b9d4dd274..fdac02761 100644 --- a/toolbox/DeepSpeed/v0.9.2/patch/csrc/lamb/fused_lamb_cuda_kernel.cu +++ b/toolbox/DeepSpeed/v0.9.2/patch/csrc/lamb/fused_lamb_cuda_kernel.cu @@ -1,3 +1,18 @@ +# Copyright (c) 2024, Shanghai Iluvatar CoreX Semiconductor Co., Ltd. +# All Rights Reserved. +# +# 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 +# +# 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. + // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 diff --git a/toolbox/DeepSpeed/v0.9.2/patch/csrc/transformer/inference/csrc/transform.cu b/toolbox/DeepSpeed/v0.9.2/patch/csrc/transformer/inference/csrc/transform.cu index ac25969ec..446165cd3 100644 --- a/toolbox/DeepSpeed/v0.9.2/patch/csrc/transformer/inference/csrc/transform.cu +++ b/toolbox/DeepSpeed/v0.9.2/patch/csrc/transformer/inference/csrc/transform.cu @@ -1,3 +1,18 @@ +# Copyright (c) 2024, Shanghai Iluvatar CoreX Semiconductor Co., Ltd. +# All Rights Reserved. +# +# 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 +# +# 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. + // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 diff --git a/toolbox/DeepSpeed/v0.9.2/patch/csrc/transformer/inference/includes/inference_cublas_wrappers.h b/toolbox/DeepSpeed/v0.9.2/patch/csrc/transformer/inference/includes/inference_cublas_wrappers.h index 7428630ad..c0aad16f7 100644 --- a/toolbox/DeepSpeed/v0.9.2/patch/csrc/transformer/inference/includes/inference_cublas_wrappers.h +++ b/toolbox/DeepSpeed/v0.9.2/patch/csrc/transformer/inference/includes/inference_cublas_wrappers.h @@ -1,3 +1,18 @@ +# Copyright (c) 2024, Shanghai Iluvatar CoreX Semiconductor Co., Ltd. +# All Rights Reserved. +# +# 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 +# +# 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. + // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 diff --git a/toolbox/DeepSpeed/v0.9.2/patch/op_builder/transformer.py b/toolbox/DeepSpeed/v0.9.2/patch/op_builder/transformer.py index 2afc5519c..ec6eb0955 100644 --- a/toolbox/DeepSpeed/v0.9.2/patch/op_builder/transformer.py +++ b/toolbox/DeepSpeed/v0.9.2/patch/op_builder/transformer.py @@ -1,3 +1,18 @@ +# Copyright (c) 2024, Shanghai Iluvatar CoreX Semiconductor Co., Ltd. +# All Rights Reserved. +# +# 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 +# +# 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. + # Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: Apache-2.0 -- Gitee