Skip to content

Commit d683ba3

Browse files
authored
Update licenses in torchao/experimental
Differential Revision: D61548961 Pull Request resolved: #720
1 parent 227d4bf commit d683ba3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+215
-44
lines changed

torchao/experimental/kernels/cpu/aarch64/benchmarks/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the license found in the
5+
# LICENSE file in the root directory of this source tree.
26

37
cmake_minimum_required(VERSION 3.19)
48
project(benchmarks)

torchao/experimental/kernels/cpu/aarch64/benchmarks/benchmark_bitpacking.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the license found in the
5+
// LICENSE file in the root directory of this source tree.
26

37
#include <arm_neon.h>
48
#include <benchmark/benchmark.h>

torchao/experimental/kernels/cpu/aarch64/benchmarks/benchmark_linear.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the license found in the
5+
// LICENSE file in the root directory of this source tree.
26

37
#include <benchmark/benchmark.h>
48
#include <torchao/experimental/kernels/cpu/aarch64/linear/linear.h>

torchao/experimental/kernels/cpu/aarch64/benchmarks/benchmark_quantization.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the license found in the
5+
// LICENSE file in the root directory of this source tree.
26

37
#include <benchmark/benchmark.h>
48
#include <torchao/experimental/kernels/cpu/aarch64/quantization/quantize.h>

torchao/experimental/kernels/cpu/aarch64/benchmarks/build_and_run_benchmarks.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
28
# Call script with sh build_and_run_benchmarks.sh {BENCHAMRK}
39

410
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)

torchao/experimental/kernels/cpu/aarch64/bitpacking/bitpack.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the license found in the
5+
// LICENSE file in the root directory of this source tree.
26

37
#pragma once
48
#include <arm_neon.h>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the license found in the
5+
// LICENSE file in the root directory of this source tree.
6+
17
#pragma once
28

39
#define TORCHAO_ALWAYS_INLINE __attribute__((always_inline))

torchao/experimental/kernels/cpu/aarch64/bitpacking/uint3.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the license found in the
5+
// LICENSE file in the root directory of this source tree.
26

37
#pragma once
48
#include <arm_neon.h>

torchao/experimental/kernels/cpu/aarch64/bitpacking/uint4.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the license found in the
5+
// LICENSE file in the root directory of this source tree.
26

37
#pragma once
48
#include <arm_neon.h>

torchao/experimental/kernels/cpu/aarch64/linear/channelwise_8bit_activation_groupwise_lowbit_weight_1x1x32_f32_neondot-impl.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
1+
// Copyright (c) Meta Platforms, Inc. and affiliates.
2+
// All rights reserved.
3+
//
4+
// This source code is licensed under the license found in the
5+
// LICENSE file in the root directory of this source tree.
26

37
#pragma once
48
#include <torchao/experimental/kernels/cpu/aarch64/bitpacking/bitpack.h>

0 commit comments

Comments
 (0)