@@ -24,66 +24,3 @@ set(TARGET_PREFIX "torchao_benchmarks_shared_kernels_")
24
24
# benchmark::benchmark
25
25
# torchao_kernels_aarch64
26
26
# )
27
-
28
-
29
-
30
-
31
-
32
-
33
- # add_executable(${TARGET_PREFIX}benchmark_quantization benchmark_quantization.cpp)
34
- # target_link_libraries(
35
- # ${TARGET_PREFIX}benchmark_quantization
36
- # PRIVATE
37
- # benchmark::benchmark
38
- # ${TARGET_PREFIX}dep
39
- # )
40
-
41
- # add_executable(${TARGET_PREFIX}benchmark_bitpacking benchmark_bitpacking.cpp)
42
- # target_link_libraries(
43
- # ${TARGET_PREFIX}benchmark_bitpacking
44
- # PRIVATE
45
- # benchmark::benchmark
46
- # ${TARGET_PREFIX}dep
47
- # )
48
-
49
-
50
-
51
-
52
- # cmake_minimum_required(VERSION 3.19)
53
- # project(benchmarks)
54
-
55
- # set(CMAKE_CXX_STANDARD 17)
56
- # set(CMAKE_BUILD_TYPE Release)
57
- # add_compile_options("-Wall" "-Werror")
58
-
59
- # set(TORCHAO_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../..)
60
- # set(TORCHAO_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../../../..)
61
-
62
- # include(FetchContent)
63
- # FetchContent_Declare(googlebenchmark
64
- # GIT_REPOSITORY https://github.com/google/benchmark.git
65
- # GIT_TAG main) # need main for benchmark::benchmark
66
-
67
- # set(BENCHMARK_ENABLE_TESTING OFF)
68
- # FetchContent_MakeAvailable(
69
- # googlebenchmark)
70
-
71
- # include_directories(${TORCHAO_INCLUDE_DIRS})
72
-
73
- # set(TORCHAO_PARALLEL_BACKEND "openmp")
74
-
75
- # include(${TORCHAO_ROOT}/Utils.cmake)
76
-
77
- # add_subdirectory(${TORCHAO_ROOT}/kernels/cpu/aarch64 ${CMAKE_CURRENT_BINARY_DIR}/torchao_kernels_aarch64)
78
-
79
- # add_executable(benchmark_linear_8bit_act_xbit_weight
80
- # benchmark_linear_8bit_act_xbit_weight.cpp
81
- # ${TORCHAO_ROOT}/ops/linear_8bit_act_xbit_weight/linear_8bit_act_xbit_weight.cpp
82
- # )
83
- # target_link_torchao_parallel_backend(benchmark_linear_8bit_act_xbit_weight "${TORCHAO_PARALLEL_BACKEND}")
84
- # target_link_libraries(
85
- # benchmark_linear_8bit_act_xbit_weight
86
- # PRIVATE
87
- # benchmark::benchmark
88
- # torchao_kernels_aarch64
89
- # )
0 commit comments