diff --git a/LICENSE_SOM.txt b/LICENSE_SOM.txt deleted file mode 100644 index eb912c0fd9..0000000000 --- a/LICENSE_SOM.txt +++ /dev/null @@ -1,30 +0,0 @@ -Software for Open Models License (SOM) -Version 1.0 dated August 30th, 2023 - -This license governs use of the accompanying Software. If you use the Software, you accept this license. If you do not accept the license, do not use the Software. - -This license is intended to encourage open release of models created, modified, processed, or otherwise used via the Software under open licensing terms, and should be interpreted in light of that intent. - -1. Definitions -The “Licensor” is the person or entity who is making the Software available under this license. “Software” is the software made available by Licensor under this license. -A “Model” is the output of a machine learning algorithm, and excludes the Software. -“Model Source Materials” must include the Model and model weights, and may include any input data, input data descriptions, documentation or training descriptions for the Model. -“Open Licensing Terms” means: (a) any open source license approved by the Open Source Initiative, or (b) any other terms that make the Model Source Materials publicly available free of charge, and allow recipients to use, modify and distribute the Model Source Materials. Terms described in (b) may include reasonable restrictions such as non-commercial or non-production limitations, or require use in compliance with law. - -2. Grant of Rights. Subject to the conditions and limitations in section 3: -(A) Copyright Grant. Licensor grants you a non-exclusive, worldwide, royalty-free copyright license to copy, modify, and distribute the Software and any modifications of the Software you create under this license. The foregoing license includes without limitation the right to create, modify, and use Models using this Software. - -(B) Patent Grant. Licensor grants you a non-exclusive, worldwide, royalty-free license, under any patents owned or controlled by Licensor, to make, have made, use, sell, offer for sale, import, or otherwise exploit the Software. No license is granted to patent rights that are not embodied in the operation of the Software in the form provided by Licensor. - -3. Conditions and Limitations -(A) Model Licensing and Access. If you use the Software to create, modify, process, or otherwise use any Model, including usage to create inferences with a Model, whether or not you make the Model available to others, you must make that Model Source Materials publicly available under Open Licensing Terms. - -(B) No Re-Licensing. If you redistribute the Software, or modifications to the Software made under the license granted above, you must make it available only under the terms of this license. You may offer additional terms such as warranties, maintenance and support, but You, and not Licensor, are responsible for performing such terms. - -(C) No Trademark License. This license does not grant you rights to use the Licensor’s name, logo, or trademarks. - -(D) If you assert in writing a claim against any person or entity alleging that the use of the Software infringes any patent, all of your licenses to the Software under Section 2 end automatically as of the date you asserted the claim. - -(E) If you distribute any portion of the Software, you must retain all copyright, patent, trademark, and attribution notices that are present in the Software, and you must include a copy of this license. - -(F) The Software is licensed “as-is.” You bear the entire risk of using it. Licensor gives You no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws that this license cannot change. To the extent permitted under your local laws, the Licensor disclaims and excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement. To the extent this disclaimer is unlawful, you, and not Licensor, are responsible for any liability. diff --git a/ggml-vulkan.cpp b/ggml-vulkan.cpp index a3308191c5..1abf1e6997 100644 --- a/ggml-vulkan.cpp +++ b/ggml-vulkan.cpp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "ggml-vulkan.h" #include "ggml.h" diff --git a/ggml-vulkan.h b/ggml-vulkan.h index 7989cfc1fa..ac8a4d4a0b 100644 --- a/ggml-vulkan.h +++ b/ggml-vulkan.h @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #pragma once #include diff --git a/kompute/common.comp b/kompute/common.comp index fe0bc5d15b..0df6db7d04 100644 --- a/kompute/common.comp +++ b/kompute/common.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #extension GL_EXT_shader_16bit_storage: require #extension GL_EXT_shader_8bit_storage: require #extension GL_EXT_shader_explicit_arithmetic_types_float16: require diff --git a/kompute/op_add.comp b/kompute/op_add.comp index df3fdc59cd..c866734523 100644 --- a/kompute/op_add.comp +++ b/kompute/op_add.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_addrow.comp b/kompute/op_addrow.comp index bf674f8296..2376a6b8f0 100644 --- a/kompute/op_addrow.comp +++ b/kompute/op_addrow.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_cpy_f16_f16.comp b/kompute/op_cpy_f16_f16.comp index 652db03136..d57247d2dc 100644 --- a/kompute/op_cpy_f16_f16.comp +++ b/kompute/op_cpy_f16_f16.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_cpy_f16_f32.comp b/kompute/op_cpy_f16_f32.comp index aa204248c1..b568bcd7b2 100644 --- a/kompute/op_cpy_f16_f32.comp +++ b/kompute/op_cpy_f16_f32.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_cpy_f32_f16.comp b/kompute/op_cpy_f32_f16.comp index 4fdab48310..99b2283430 100644 --- a/kompute/op_cpy_f32_f16.comp +++ b/kompute/op_cpy_f32_f16.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_diagmask.comp b/kompute/op_diagmask.comp index 8dc2cc60a7..291c3fc189 100644 --- a/kompute/op_diagmask.comp +++ b/kompute/op_diagmask.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_gelu.comp b/kompute/op_gelu.comp index 1412ee1abe..5b547f414a 100644 --- a/kompute/op_gelu.comp +++ b/kompute/op_gelu.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_getrows.comp b/kompute/op_getrows.comp index a4d8bb9a0a..1a5581b23a 100644 --- a/kompute/op_getrows.comp +++ b/kompute/op_getrows.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - void main() { const uint i = gl_WorkGroupID.x; const int r = inB[i + pcs.inBOff]; diff --git a/kompute/op_getrows_f16.comp b/kompute/op_getrows_f16.comp index 3f2b167243..34acbcd700 100644 --- a/kompute/op_getrows_f16.comp +++ b/kompute/op_getrows_f16.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_getrows_q4_0.comp b/kompute/op_getrows_q4_0.comp index 0449b19877..32b2e891e8 100644 --- a/kompute/op_getrows_q4_0.comp +++ b/kompute/op_getrows_q4_0.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_getrows_q4_1.comp b/kompute/op_getrows_q4_1.comp index 64586cdc9c..87f2fbe17b 100644 --- a/kompute/op_getrows_q4_1.comp +++ b/kompute/op_getrows_q4_1.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_getrows_q6_k.comp b/kompute/op_getrows_q6_k.comp index 95817b4871..9ce3545d1e 100644 --- a/kompute/op_getrows_q6_k.comp +++ b/kompute/op_getrows_q6_k.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_mul.comp b/kompute/op_mul.comp index 662ea8177f..d599460c3e 100644 --- a/kompute/op_mul.comp +++ b/kompute/op_mul.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_mul_mat_f16.comp b/kompute/op_mul_mat_f16.comp index b56d14f770..dd1e139794 100644 --- a/kompute/op_mul_mat_f16.comp +++ b/kompute/op_mul_mat_f16.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_mul_mat_mat_f32.comp b/kompute/op_mul_mat_mat_f32.comp index a2dba05608..6cc5558b27 100644 --- a/kompute/op_mul_mat_mat_f32.comp +++ b/kompute/op_mul_mat_mat_f32.comp @@ -1,12 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models - * License (SOM), version 1.0, as detailed in the LICENSE_SOM.txt file. A copy - * of this license should accompany this software. Except as expressly granted - * in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_mul_mat_q4_0.comp b/kompute/op_mul_mat_q4_0.comp index 165df3c376..03788c9209 100644 --- a/kompute/op_mul_mat_q4_0.comp +++ b/kompute/op_mul_mat_q4_0.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_mul_mat_q4_1.comp b/kompute/op_mul_mat_q4_1.comp index 683b695caf..0ae8f8c7d5 100644 --- a/kompute/op_mul_mat_q4_1.comp +++ b/kompute/op_mul_mat_q4_1.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_mul_mat_q6_k.comp b/kompute/op_mul_mat_q6_k.comp index 6148053b27..c9baebdf4b 100644 --- a/kompute/op_mul_mat_q6_k.comp +++ b/kompute/op_mul_mat_q6_k.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_mul_mat_q8_0.comp b/kompute/op_mul_mat_q8_0.comp index 2ba48127b7..1c4ddbb083 100644 --- a/kompute/op_mul_mat_q8_0.comp +++ b/kompute/op_mul_mat_q8_0.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_mul_mv_q_n.comp b/kompute/op_mul_mv_q_n.comp index a9b64fe167..8b6e6a2e2a 100644 --- a/kompute/op_mul_mv_q_n.comp +++ b/kompute/op_mul_mv_q_n.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - void main() { if (gl_SubgroupInvocationID > 31) return; diff --git a/kompute/op_mulrow.comp b/kompute/op_mulrow.comp index 955fe26bf0..ae71063208 100644 --- a/kompute/op_mulrow.comp +++ b/kompute/op_mulrow.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_norm.comp b/kompute/op_norm.comp index 1d685cf362..ad0c3c01b9 100644 --- a/kompute/op_norm.comp +++ b/kompute/op_norm.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_relu.comp b/kompute/op_relu.comp index c6ed044a38..52a601fe6d 100644 --- a/kompute/op_relu.comp +++ b/kompute/op_relu.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_rmsnorm.comp b/kompute/op_rmsnorm.comp index 5ebaf22691..da658c1601 100644 --- a/kompute/op_rmsnorm.comp +++ b/kompute/op_rmsnorm.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_rope_f16.comp b/kompute/op_rope_f16.comp index e4b5ccca36..3abe3ed33f 100644 --- a/kompute/op_rope_f16.comp +++ b/kompute/op_rope_f16.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "rope_common.comp" diff --git a/kompute/op_rope_f32.comp b/kompute/op_rope_f32.comp index 0a882879d9..104ae0ba48 100644 --- a/kompute/op_rope_f32.comp +++ b/kompute/op_rope_f32.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "rope_common.comp" diff --git a/kompute/op_scale.comp b/kompute/op_scale.comp index be68060912..bdae267382 100644 --- a/kompute/op_scale.comp +++ b/kompute/op_scale.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_scale_8.comp b/kompute/op_scale_8.comp index 29fa9b35a5..ada69754b2 100644 --- a/kompute/op_scale_8.comp +++ b/kompute/op_scale_8.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_silu.comp b/kompute/op_silu.comp index 9233fd5a1f..0fb8e4b740 100644 --- a/kompute/op_silu.comp +++ b/kompute/op_silu.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #version 450 #include "common.comp" diff --git a/kompute/op_softmax.comp b/kompute/op_softmax.comp index a8c2682dce..89de1b7018 100644 --- a/kompute/op_softmax.comp +++ b/kompute/op_softmax.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - // TODO: implement multi-simd softmax (llama.cpp commit e16b9fa4) #version 450 diff --git a/kompute/rope_common.comp b/kompute/rope_common.comp index 45682dc28b..57ba6597a7 100644 --- a/kompute/rope_common.comp +++ b/kompute/rope_common.comp @@ -1,11 +1,3 @@ -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "common.comp" // TODO: use a local size of 32 or more (Metal uses 1024) diff --git a/kompute/src/Algorithm.cpp b/kompute/src/Algorithm.cpp index 0378591bd5..c2d8554e1f 100644 --- a/kompute/src/Algorithm.cpp +++ b/kompute/src/Algorithm.cpp @@ -1,13 +1,4 @@ // SPDX-License-Identifier: Apache-2.0 - -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include #include "kompute/Algorithm.hpp" diff --git a/kompute/src/Core.cpp b/kompute/src/Core.cpp index 9b0483232c..020f441604 100644 --- a/kompute/src/Core.cpp +++ b/kompute/src/Core.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/Core.hpp" #ifndef KOMPUTE_VK_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE diff --git a/kompute/src/Manager.cpp b/kompute/src/Manager.cpp index c5060b1ead..0c588e19be 100644 --- a/kompute/src/Manager.cpp +++ b/kompute/src/Manager.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/Manager.hpp" #include "fmt/format.h" #include "kompute/logger/Logger.hpp" diff --git a/kompute/src/OpAlgoDispatch.cpp b/kompute/src/OpAlgoDispatch.cpp index dc39cdc3fd..edc0f6eb63 100644 --- a/kompute/src/OpAlgoDispatch.cpp +++ b/kompute/src/OpAlgoDispatch.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/operations/OpAlgoDispatch.hpp" namespace kp { diff --git a/kompute/src/OpBufferSyncDevice.cpp b/kompute/src/OpBufferSyncDevice.cpp index baaafda0fa..1812d04b24 100644 --- a/kompute/src/OpBufferSyncDevice.cpp +++ b/kompute/src/OpBufferSyncDevice.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/operations/OpBufferSyncDevice.hpp" namespace kp { diff --git a/kompute/src/OpBufferSyncLocal.cpp b/kompute/src/OpBufferSyncLocal.cpp index 63739a351e..a829819fa6 100644 --- a/kompute/src/OpBufferSyncLocal.cpp +++ b/kompute/src/OpBufferSyncLocal.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/operations/OpBufferSyncLocal.hpp" namespace kp { diff --git a/kompute/src/OpMemoryBarrier.cpp b/kompute/src/OpMemoryBarrier.cpp index 89d44d85e6..1f075a3c43 100644 --- a/kompute/src/OpMemoryBarrier.cpp +++ b/kompute/src/OpMemoryBarrier.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/operations/OpMemoryBarrier.hpp" namespace kp { diff --git a/kompute/src/OpTensorCopy.cpp b/kompute/src/OpTensorCopy.cpp index e732cc4137..1eaf428b85 100644 --- a/kompute/src/OpTensorCopy.cpp +++ b/kompute/src/OpTensorCopy.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/operations/OpTensorCopy.hpp" #include "kompute/Tensor.hpp" diff --git a/kompute/src/OpTensorFill.cpp b/kompute/src/OpTensorFill.cpp index da477dcc7f..bda7d6040e 100644 --- a/kompute/src/OpTensorFill.cpp +++ b/kompute/src/OpTensorFill.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/operations/OpTensorFill.hpp" #include "kompute/Tensor.hpp" diff --git a/kompute/src/OpTensorSyncDevice.cpp b/kompute/src/OpTensorSyncDevice.cpp index 4cc6abf71d..b563529ea7 100644 --- a/kompute/src/OpTensorSyncDevice.cpp +++ b/kompute/src/OpTensorSyncDevice.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/operations/OpTensorSyncDevice.hpp" namespace kp { diff --git a/kompute/src/OpTensorSyncLocal.cpp b/kompute/src/OpTensorSyncLocal.cpp index 1aa091b733..7818db565a 100644 --- a/kompute/src/OpTensorSyncLocal.cpp +++ b/kompute/src/OpTensorSyncLocal.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/Tensor.hpp" #include "kompute/operations/OpTensorSyncLocal.hpp" diff --git a/kompute/src/Sequence.cpp b/kompute/src/Sequence.cpp index 3b5fb5fb59..da3b379a31 100644 --- a/kompute/src/Sequence.cpp +++ b/kompute/src/Sequence.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/Sequence.hpp" namespace kp { diff --git a/kompute/src/Tensor.cpp b/kompute/src/Tensor.cpp index 65279206d0..84dce08e02 100644 --- a/kompute/src/Tensor.cpp +++ b/kompute/src/Tensor.cpp @@ -1,13 +1,5 @@ // SPDX-License-Identifier: Apache-2.0 -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #include "kompute/Tensor.hpp" namespace kp { diff --git a/kompute/src/include/kompute/Algorithm.hpp b/kompute/src/include/kompute/Algorithm.hpp index ef11234eeb..e5fef1f56d 100644 --- a/kompute/src/include/kompute/Algorithm.hpp +++ b/kompute/src/include/kompute/Algorithm.hpp @@ -1,13 +1,4 @@ // SPDX-License-Identifier: Apache-2.0 - -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #pragma once #include "kompute/Core.hpp" diff --git a/kompute/src/include/kompute/Core.hpp b/kompute/src/include/kompute/Core.hpp index 99222cbde9..406e6b5d48 100644 --- a/kompute/src/include/kompute/Core.hpp +++ b/kompute/src/include/kompute/Core.hpp @@ -1,13 +1,4 @@ // SPDX-License-Identifier: Apache-2.0 - -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #pragma once #include diff --git a/kompute/src/include/kompute/Manager.hpp b/kompute/src/include/kompute/Manager.hpp index e910b2b818..780c352ebc 100644 --- a/kompute/src/include/kompute/Manager.hpp +++ b/kompute/src/include/kompute/Manager.hpp @@ -1,13 +1,4 @@ // SPDX-License-Identifier: Apache-2.0 - -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #pragma once #include diff --git a/kompute/src/include/kompute/Sequence.hpp b/kompute/src/include/kompute/Sequence.hpp index e282242f1d..3b29a6e2e6 100644 --- a/kompute/src/include/kompute/Sequence.hpp +++ b/kompute/src/include/kompute/Sequence.hpp @@ -1,13 +1,4 @@ // SPDX-License-Identifier: Apache-2.0 - -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ - #pragma once #include "kompute/Core.hpp" diff --git a/kompute/src/include/kompute/Tensor.hpp b/kompute/src/include/kompute/Tensor.hpp index 2ab88eb308..20939093da 100644 --- a/kompute/src/include/kompute/Tensor.hpp +++ b/kompute/src/include/kompute/Tensor.hpp @@ -1,12 +1,4 @@ // SPDX-License-Identifier: Apache-2.0 - -/** - * Copyright (c) 2023 Nomic, Inc. All rights reserved. - * - * This software is licensed under the terms of the Software for Open Models License (SOM), - * version 1.0, as detailed in the LICENSE_SOM.txt file. A copy of this license should accompany - * this software. Except as expressly granted in the SOM license, all rights are reserved by Nomic, Inc. - */ #pragma once #include "kompute/Core.hpp"