Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> Starting build()...
- -- The C compiler identification is GNU 13.3.0
- -- The CXX compiler identification is GNU 13.3.0
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working C compiler: /usr/bin/gcc-13 - skipped
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/g++-13 - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
- -- Found Threads: TRUE
- -- Build spdlog: 1.10.0
- -- Build type: Release
- -- Looking for dlfcn.h
- -- Looking for dlfcn.h - found
- -- Looking for getauxval
- -- Looking for getauxval - found
- -- Compiling for multiple CPU ISA and enabling runtime dispatch
- -- Found OpenMP_C: -fopenmp (found version "4.5")
- -- Found OpenMP_CXX: -fopenmp (found version "4.5")
- -- Found OpenMP: TRUE (found version "4.5")
- -- Using OpenMP: /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/libgomp.so;/usr/lib/libpthread.a
- -- Found OpenBLAS include directory: /usr/include/openblas
- -- Found OpenBLAS library: /usr/lib/libopenblas.so
- -- Found CUDA: /opt/cuda (found suitable version "12.6", minimum required is "11.0")
- -- NVCC host compiler: /usr/bin/g++-13
- -- NVCC compilation flags: -std=c++17;-Xcompiler=-fopenmp;-gencode;arch=compute_53,code=sm_53;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_86,code=compute_86
- CMake Warning at CMakeLists.txt:546 (message):
- cuDNN library is not enabled: convolution layers will not be supported on
- GPU
- -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
- -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
- -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
- -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
- -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
- -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
- -- Configuring done (1.6s)
- -- Generating done (0.1s)
- -- Build files have been written to: /tmp/makepkg/ctranslate2/src/build
- [ 2%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_denormal.dir/denormal.cc.o
- [ 2%] Building C object third_party/cpu_features/CMakeFiles/utils.dir/src/filesystem.c.o
- [ 3%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_apply_multiplier.dir/apply_multiplier.cc.o
- [ 3%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_have_built_path_for_avx.dir/have_built_path_for_avx.cc.o
- [ 3%] Building C object third_party/cpu_features/CMakeFiles/utils.dir/src/stack_line_reader.c.o
- [ 4%] Building CXX object third_party/ruy/ruy/profiler/CMakeFiles/ruy_profiler_instrumentation.dir/instrumentation.cc.o
- [ 4%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_have_built_path_for_avx512.dir/have_built_path_for_avx512.cc.o
- [ 4%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_wait.dir/wait.cc.o
- [ 4%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_system_aligned_alloc.dir/system_aligned_alloc.cc.o
- [ 5%] Building C object third_party/ruy/third_party/cpuinfo/deps/clog/CMakeFiles/clog.dir/src/clog.c.o
- [ 6%] Building C object third_party/cpu_features/CMakeFiles/utils.dir/src/string_view.c.o
- [ 8%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_have_built_path_for_avx2_fma.dir/have_built_path_for_avx2_fma.cc.o
- [ 9%] Linking CXX static library libruy_have_built_path_for_avx512.a
- [ 9%] Linking CXX static library libruy_profiler_instrumentation.a
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c: In function ‘clog_vlog_fatal’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:112:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 112 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c: In function ‘clog_vlog_error’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:188:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 188 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c: In function ‘clog_vlog_warning’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:264:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 264 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c: In function ‘clog_vlog_info’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:340:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 340 | write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c: In function ‘clog_vlog_debug’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:416:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
- 416 | write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [ 9%] Linking CXX static library libruy_have_built_path_for_avx.a
- [ 9%] Linking CXX static library libruy_have_built_path_for_avx2_fma.a
- [ 10%] Linking CXX static library libruy_system_aligned_alloc.a
- [ 10%] Linking CXX static library libruy_denormal.a
- [ 10%] Built target ruy_have_built_path_for_avx512
- [ 10%] Built target ruy_profiler_instrumentation
- [ 10%] Built target ruy_have_built_path_for_avx
- [ 10%] Built target ruy_have_built_path_for_avx2_fma
- [ 10%] Built target ruy_system_aligned_alloc
- [ 10%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_block_map.dir/block_map.cc.o
- [ 10%] Built target utils
- [ 11%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_allocator.dir/allocator.cc.o
- [ 11%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_prepacked_cache.dir/prepacked_cache.cc.o
- [ 11%] Building C object third_party/cpu_features/CMakeFiles/cpu_features.dir/src/impl_aarch64_linux_or_android.c.o
- [ 11%] Building C object third_party/cpu_features/CMakeFiles/cpu_features.dir/src/impl_arm_linux_or_android.c.o
- [ 12%] Building C object third_party/cpu_features/CMakeFiles/cpu_features.dir/src/impl_mips_linux_or_android.c.o
- [ 12%] Linking C static library libclog.a
- [ 12%] Building C object third_party/cpu_features/CMakeFiles/cpu_features.dir/src/impl_ppc_linux.c.o
- [ 12%] Built target ruy_denormal
- [ 12%] Building C object third_party/cpu_features/CMakeFiles/cpu_features.dir/src/impl_x86_freebsd.c.o
- [ 13%] Building C object third_party/cpu_features/CMakeFiles/cpu_features.dir/src/impl_x86_linux_or_android.c.o
- [ 13%] Building C object third_party/cpu_features/CMakeFiles/cpu_features.dir/src/impl_x86_macos.c.o
- [ 13%] Building C object third_party/cpu_features/CMakeFiles/cpu_features.dir/src/impl_x86_windows.c.o
- [ 13%] Linking CXX static library libruy_apply_multiplier.a
- [ 13%] Built target clog
- [ 14%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/cache.c.o
- [ 14%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/init.c.o
- [ 14%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/api.c.o
- [ 14%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/init.c.o
- [ 16%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/vendor.c.o
- [ 16%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/info.c.o
- [ 16%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/uarch.c.o
- [ 16%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/isa.c.o
- [ 17%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/topology.c.o
- [ 17%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/name.c.o
- [ 17%] Built target ruy_apply_multiplier
- [ 17%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/init.c.o
- [ 18%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/descriptor.c.o
- [ 18%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/cache/deterministic.c.o
- [ 19%] Linking CXX static library libruy_wait.a
- [ 20%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/init.c.o
- [ 20%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/smallfile.c.o
- [ 20%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/x86/linux/cpuinfo.c.o
- [ 21%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/multiline.c.o
- [ 21%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/cpulist.c.o
- [ 21%] Building C object third_party/ruy/third_party/cpuinfo/CMakeFiles/cpuinfo.dir/src/linux/processors.c.o
- [ 21%] Built target ruy_wait
- [ 22%] Linking CXX static library libruy_block_map.a
- [ 22%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_blocking_counter.dir/blocking_counter.cc.o
- [ 22%] Linking CXX static library libruy_allocator.a
- [ 22%] Built target ruy_block_map
- [ 24%] Linking C static library libcpu_features.a
- [ 24%] Linking CXX static library libruy_prepacked_cache.a
- [ 24%] Built target ruy_allocator
- [ 24%] Built target cpu_features
- [ 24%] Built target ruy_prepacked_cache
- [ 25%] Linking C static library libcpuinfo.a
- [ 25%] Built target cpuinfo
- [ 25%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_cpuinfo.dir/cpuinfo.cc.o
- [ 25%] Linking CXX static library libruy_blocking_counter.a
- [ 25%] Built target ruy_blocking_counter
- [ 25%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_thread_pool.dir/thread_pool.cc.o
- [ 25%] Linking CXX static library libruy_cpuinfo.a
- [ 25%] Built target ruy_cpuinfo
- [ 25%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_tune.dir/tune.cc.o
- [ 26%] Linking CXX static library libruy_tune.a
- [ 26%] Built target ruy_tune
- [ 26%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_kernel_arm.dir/kernel_arm32.cc.o
- [ 26%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_pack_arm.dir/pack_arm.cc.o
- [ 26%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_kernel_arm.dir/kernel_arm64.cc.o
- [ 27%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_kernel_avx512.dir/kernel_avx512.cc.o
- [ 27%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_pack_avx512.dir/pack_avx512.cc.o
- [ 27%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_kernel_avx.dir/kernel_avx.cc.o
- [ 28%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_kernel_avx2_fma.dir/kernel_avx2_fma.cc.o
- [ 28%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_pack_avx.dir/pack_avx.cc.o
- [ 29%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_pack_avx2_fma.dir/pack_avx2_fma.cc.o
- In file included from /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/pack_arm.cc:16:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/pack_arm.h:492:9: warning: multi-line comment [-Wcomment]
- 492 | #endif // (RUY_PLATFORM_NEON_64 || RUY_PLATFORM_NEON_32) && \
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx512.cc:908: warning: ignoring ‘#pragma unroll ’ [-Wunknown-pragmas]
- 908 | #pragma unroll(1)
- |
- [ 29%] Linking CXX static library libruy_thread_pool.a
- [ 29%] Built target ruy_thread_pool
- [ 31%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_ctx.dir/ctx.cc.o
- [ 32%] Linking CXX static library libruy_pack_arm.a
- [ 33%] Linking CXX static library libruy_kernel_arm.a
- [ 33%] Built target ruy_pack_arm
- [ 33%] Built target ruy_kernel_arm
- [ 33%] Linking CXX static library libruy_ctx.a
- [ 33%] Built target ruy_ctx
- [ 34%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_context.dir/context.cc.o
- [ 35%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_prepare_packed_matrices.dir/prepare_packed_matrices.cc.o
- [ 36%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_trmul.dir/trmul.cc.o
- [ 36%] Linking CXX static library libruy_pack_avx2_fma.a
- [ 36%] Built target ruy_pack_avx2_fma
- [ 36%] Linking CXX static library libruy_prepare_packed_matrices.a
- [ 36%] Built target ruy_prepare_packed_matrices
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/immintrin.h:51,
- from /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:240,
- from /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx2_fma.cc:22:
- In function ‘__m128i _mm256_extracti128_si256(__m256i, int)’,
- inlined from ‘__m128i ruy::{anonymous}::intrin_utils::mm256_extracti128_si256(const __m256i&, int) [with ruy::Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx2_fma.cc:84:38,
- inlined from ‘void ruy::{anonymous}::intrin_utils::mm256_n_storeu_cvtepi32_epi16(int16_t*, int, __m256i) [with ruy::Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:484:22,
- inlined from ‘void ruy::Kernel8bitAvx2SingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx2_fma.cc:996:56:
- /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/avx2intrin.h:1098:10: warning: ‘shuffled_v’ may be used uninitialized [-Wmaybe-uninitialized]
- 1098 | return (__m128i) __builtin_ia32_extract128i256 ((__v4di)__X, __M);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h: In function ‘void ruy::Kernel8bitAvx2SingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx2Fma]’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:441:11: note: ‘shuffled_v’ was declared here
- 441 | __m256i shuffled_v;
- | ^~~~~~~~~~
- In function ‘__m128i _mm256_extracti128_si256(__m256i, int)’,
- inlined from ‘__m128i ruy::{anonymous}::intrin_utils::mm256_extracti128_si256(const __m256i&, int) [with ruy::Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx2_fma.cc:84:38,
- inlined from ‘void ruy::{anonymous}::intrin_utils::mm256_n_storeu_cvtepi32_epi8(uint8_t*, int, __m256i) [with ruy::Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:401:27,
- inlined from ‘void ruy::Kernel8bitAvx2SingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx2_fma.cc:987:55:
- /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/avx2intrin.h:1098:10: warning: ‘shuffled_v’ may be used uninitialized [-Wmaybe-uninitialized]
- 1098 | return (__m128i) __builtin_ia32_extract128i256 ((__v4di)__X, __M);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h: In function ‘void ruy::Kernel8bitAvx2SingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx2Fma]’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:359:11: note: ‘shuffled_v’ was declared here
- 359 | __m256i shuffled_v;
- | ^~~~~~~~~~
- In function ‘__m128i _mm256_extracti128_si256(__m256i, int)’,
- inlined from ‘__m128i ruy::{anonymous}::intrin_utils::mm256_extracti128_si256(const __m256i&, int) [with ruy::Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx2_fma.cc:84:38,
- inlined from ‘void ruy::{anonymous}::intrin_utils::mm256_n_storeu_cvtepi32_epi8(uint8_t*, int, __m256i) [with ruy::Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:401:27,
- inlined from ‘void ruy::{anonymous}::intrin_utils::mm256_n_storeu_cvtepi32_epi8(int8_t*, int, __m256i) [with ruy::Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:422:51,
- inlined from ‘void ruy::Kernel8bitAvx2SingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx2Fma]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx2_fma.cc:978:55:
- /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/avx2intrin.h:1098:10: warning: ‘shuffled_v’ may be used uninitialized [-Wmaybe-uninitialized]
- 1098 | return (__m128i) __builtin_ia32_extract128i256 ((__v4di)__X, __M);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h: In function ‘void ruy::Kernel8bitAvx2SingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx2Fma]’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:359:11: note: ‘shuffled_v’ was declared here
- 359 | __m256i shuffled_v;
- | ^~~~~~~~~~
- [ 36%] Linking CXX static library libruy_trmul.a
- [ 37%] Linking CXX static library libruy_pack_avx512.a
- [ 37%] Linking CXX static library libruy_context.a
- [ 37%] Built target ruy_trmul
- [ 37%] Built target ruy_pack_avx512
- [ 37%] Built target ruy_context
- [ 37%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_context_get_ctx.dir/context_get_ctx.cc.o
- [ 37%] Linking CXX static library libruy_kernel_avx2_fma.a
- [ 37%] Built target ruy_kernel_avx2_fma
- [ 37%] Linking CXX static library libruy_pack_avx.a
- [ 37%] Built target ruy_pack_avx
- [ 39%] Linking CXX static library libruy_context_get_ctx.a
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/immintrin.h:43,
- from /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:240,
- from /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx.cc:22:
- In function ‘__m128i _mm256_extractf128_si256(__m256i, int)’,
- inlined from ‘__m128i ruy::{anonymous}::intrin_utils::mm256_extracti128_si256(const __m256i&, int) [with ruy::Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx.cc:80:38,
- inlined from ‘void ruy::{anonymous}::intrin_utils::mm256_n_storeu_cvtepi32_epi16(int16_t*, int, __m256i) [with ruy::Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:483:22,
- inlined from ‘void ruy::Kernel8bitAvxSingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx.cc:1440:56:
- /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/avxintrin.h:532:54: warning: ‘shuffled_v’ may be used uninitialized [-Wmaybe-uninitialized]
- 532 | return (__m128i) __builtin_ia32_vextractf128_si256 ((__v8si)__X, __N);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h: In function ‘void ruy::Kernel8bitAvxSingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx]’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:441:11: note: ‘shuffled_v’ was declared here
- 441 | __m256i shuffled_v;
- | ^~~~~~~~~~
- In function ‘__m128i _mm256_extractf128_si256(__m256i, int)’,
- inlined from ‘__m128i ruy::{anonymous}::intrin_utils::mm256_extracti128_si256(const __m256i&, int) [with ruy::Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx.cc:80:38,
- inlined from ‘void ruy::{anonymous}::intrin_utils::mm256_n_storeu_cvtepi32_epi8(uint8_t*, int, __m256i) [with ruy::Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:400:27,
- inlined from ‘void ruy::Kernel8bitAvxSingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx.cc:1431:55:
- /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/avxintrin.h:532:54: warning: ‘shuffled_v’ may be used uninitialized [-Wmaybe-uninitialized]
- 532 | return (__m128i) __builtin_ia32_vextractf128_si256 ((__v8si)__X, __N);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h: In function ‘void ruy::Kernel8bitAvxSingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx]’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:359:11: note: ‘shuffled_v’ was declared here
- 359 | __m256i shuffled_v;
- | ^~~~~~~~~~
- In function ‘__m128i _mm256_extractf128_si256(__m256i, int)’,
- inlined from ‘__m128i ruy::{anonymous}::intrin_utils::mm256_extracti128_si256(const __m256i&, int) [with ruy::Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx.cc:80:38,
- inlined from ‘void ruy::{anonymous}::intrin_utils::mm256_n_storeu_cvtepi32_epi8(uint8_t*, int, __m256i) [with ruy::Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:400:27,
- inlined from ‘void ruy::{anonymous}::intrin_utils::mm256_n_storeu_cvtepi32_epi8(int8_t*, int, __m256i) [with ruy::Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:422:51,
- inlined from ‘void ruy::Kernel8bitAvxSingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx]’ at /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_avx.cc:1422:55:
- /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0/include/avxintrin.h:532:54: warning: ‘shuffled_v’ may be used uninitialized [-Wmaybe-uninitialized]
- 532 | return (__m128i) __builtin_ia32_vextractf128_si256 ((__v8si)__X, __N);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h: In function ‘void ruy::Kernel8bitAvxSingleColImpl(const KernelParams8bit<8, 8>&) [with Path path = ruy::Path::kAvx]’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/third_party/ruy/ruy/kernel_x86.h:359:11: note: ‘shuffled_v’ was declared here
- 359 | __m256i shuffled_v;
- | ^~~~~~~~~~
- [ 39%] Built target ruy_context_get_ctx
- [ 39%] Linking CXX static library libruy_kernel_avx512.a
- [ 39%] Built target ruy_kernel_avx512
- [ 39%] Linking CXX static library libruy_kernel_avx.a
- [ 39%] Built target ruy_kernel_avx
- [ 39%] Building CXX object third_party/ruy/ruy/CMakeFiles/ruy_frontend.dir/frontend.cc.o
- [ 40%] Linking CXX static library libruy_frontend.a
- [ 40%] Built target ruy_frontend
- [ 40%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_bias_add_gpu.cu.o
- [ 42%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_concat_split_slide_gpu.cu.o
- [ 41%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/awq/ctranslate2_generated_gemm_gpu.cu.o
- [ 42%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/awq/ctranslate2_generated_gemv_gpu.cu.o
- [ 43%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_topp_mask_gpu.cu.o
- [ 44%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_alibi_add_gpu.cu.o
- [ 44%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/cuda/ctranslate2_generated_random.cu.o
- [ 44%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_conv1d_gpu.cu.o
- [ 44%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_dequantize_gpu.cu.o
- [ 45%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_flash_attention_gpu.cu.o
- [ 45%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/cuda/ctranslate2_generated_primitives.cu.o
- [ 45%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/awq/ctranslate2_generated_dequantize_gpu.cu.o
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/dequantize.cuh(12): warning #940-D: missing return statement at end of non-void function "ctranslate2::ops::make_divisible"
- }
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemv_gpu.cu(16): warning #177-D: variable "ZERO" was declared but never referenced
- static constexpr uint32_t ZERO = 0x0;
- ^
- detected during instantiation of "void ctranslate2::ops::GemvAwq::compute_gemv2<D,In,Out>(const ctranslate2::StorageView &, const ctranslate2::StorageView &, const ctranslate2::StorageView &, const ctranslate2::StorageView &, ctranslate2::StorageView &) const [with D=ctranslate2::Device::CUDA, In=ctranslate2::float16_t, Out=int]" at line 546
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(19): warning #177-D: variable "blockIdx_x" was declared but never referenced
- int blockIdx_x = 0;
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(33): warning #177-D: variable "ld_zero_flag" was declared but never referenced
- bool ld_zero_flag = (threadIdx.y * 32 + threadIdx.x) * 8 < 128;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(246): warning #177-D: variable "scaling_factors_shared" was declared but never referenced
- __attribute__((shared)) half scaling_factors_shared[64];
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(247): warning #177-D: variable "zeros_shared" was declared but never referenced
- __attribute__((shared)) half zeros_shared[64];
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(251): warning #177-D: variable "blockIdx_x" was declared but never referenced
- int blockIdx_x = 0;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(265): warning #177-D: variable "ld_zero_flag" was declared but never referenced
- bool ld_zero_flag = (threadIdx.y * 32 + threadIdx.x) * 8 < 64;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemv_gpu.cu(16): warning #177-D: variable "ZERO" was declared but never referenced
- static constexpr uint32_t ZERO = 0x0;
- ^
- detected during instantiation of "void ctranslate2::ops::GemvAwq::compute_gemv2<D,In,Out>(const ctranslate2::StorageView &, const ctranslate2::StorageView &, const ctranslate2::StorageView &, const ctranslate2::StorageView &, ctranslate2::StorageView &) const [with D=ctranslate2::Device::CUDA, In=ctranslate2::float16_t, Out=int]" at line 546
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(19): warning #177-D: variable "blockIdx_x" was declared but never referenced
- int blockIdx_x = 0;
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(33): warning #177-D: variable "ld_zero_flag" was declared but never referenced
- bool ld_zero_flag = (threadIdx.y * 32 + threadIdx.x) * 8 < 128;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(246): warning #177-D: variable "scaling_factors_shared" was declared but never referenced
- __attribute__((shared)) half scaling_factors_shared[64];
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(247): warning #177-D: variable "zeros_shared" was declared but never referenced
- __attribute__((shared)) half zeros_shared[64];
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(251): warning #177-D: variable "blockIdx_x" was declared but never referenced
- int blockIdx_x = 0;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(265): warning #177-D: variable "ld_zero_flag" was declared but never referenced
- bool ld_zero_flag = (threadIdx.y * 32 + threadIdx.x) * 8 < 64;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(19): warning #177-D: variable "blockIdx_x" was declared but never referenced
- int blockIdx_x = 0;
- ^
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(33): warning #177-D: variable "ld_zero_flag" was declared but never referenced
- bool ld_zero_flag = (threadIdx.y * 32 + threadIdx.x) * 8 < 128;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(246): warning #177-D: variable "scaling_factors_shared" was declared but never referenced
- __attribute__((shared)) half scaling_factors_shared[64];
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(247): warning #177-D: variable "zeros_shared" was declared but never referenced
- __attribute__((shared)) half zeros_shared[64];
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(251): warning #177-D: variable "blockIdx_x" was declared but never referenced
- int blockIdx_x = 0;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemm_gpu.cu(265): warning #177-D: variable "ld_zero_flag" was declared but never referenced
- bool ld_zero_flag = (threadIdx.y * 32 + threadIdx.x) * 8 < 64;
- ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/awq/gemv_gpu.cu(16): warning #177-D: variable "ZERO" was declared but never referenced
- static constexpr uint32_t ZERO = 0x0;
- ^
- detected during instantiation of "void ctranslate2::ops::GemvAwq::compute_gemv2<D,In,Out>(const ctranslate2::StorageView &, const ctranslate2::StorageView &, const ctranslate2::StorageView &, const ctranslate2::StorageView &, ctranslate2::StorageView &) const [with D=ctranslate2::Device::CUDA, In=ctranslate2::float16_t, Out=int]" at line 546
- Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu: In member function ‘void ctranslate2::ops::FlashAttention::compute(ctranslate2::StorageView&, ctranslate2::StorageView&, ctranslate2::StorageView&, ctranslate2::StorageView&, ctranslate2::StorageView*, ctranslate2::StorageView*, ctranslate2::StorageView*, bool, ctranslate2::StorageView*, ctranslate2::StorageView*, bool, ctranslate2::StorageView*, ctranslate2::dim_t) const [with ctranslate2::Device D = ctranslate2::Device::CUDA; ctranslate2::dim_t = long int]’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:195:70: warning: unused parameter ‘queries’ [-Wunused-parameter]
- 195 | void FlashAttention::compute<Device::CUDA>(StorageView& queries,
- | ~~~~~~~~~~~~ ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:196:1: warning: unused parameter ‘keys’ [-Wunused-parameter]
- 195 | void FlashAttention::compute<Device::CUDA>(StorageView& queries,
- |
- 196 | StorageView& keys,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:197:1: warning: unused parameter ‘values’ [-Wunused-parameter]
- 196 | StorageView& keys,
- | ~~~~~~~~~~~~~~~~~~
- 197 | StorageView& values,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:198:1: warning: unused parameter ‘output’ [-Wunused-parameter]
- 197 | StorageView& values,
- | ~~~~~~~~~~~~~~~~~~~~
- 198 | StorageView& output,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:199:1: warning: unused parameter ‘cached_keys’ [-Wunused-parameter]
- 198 | StorageView& output,
- | ~~~~~~~~~~~~~~~~~~~~
- 199 | StorageView* cached_keys,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:200:1: warning: unused parameter ‘cached_values’ [-Wunused-parameter]
- 199 | StorageView* cached_keys,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~
- 200 | StorageView* cached_values,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:201:1: warning: unused parameter ‘attention’ [-Wunused-parameter]
- 200 | StorageView* cached_values,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 201 | StorageView* attention,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:202:1: warning: unused parameter ‘return_normalized_attention’ [-Wunused-parameter]
- 201 | StorageView* attention,
- | ~~~~~~~~~~~~~~~~~~~~~~~
- 202 | bool return_normalized_attention,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:203:1: warning: unused parameter ‘rotary_cos’ [-Wunused-parameter]
- 202 | bool return_normalized_attention,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 203 | StorageView* rotary_cos,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:204:1: warning: unused parameter ‘rotary_sin’ [-Wunused-parameter]
- 203 | StorageView* rotary_cos,
- | ~~~~~~~~~~~~~~~~~~~~~~~~
- 204 | StorageView* rotary_sin,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:205:1: warning: unused parameter ‘rotary_interleave’ [-Wunused-parameter]
- 204 | StorageView* rotary_sin,
- | ~~~~~~~~~~~~~~~~~~~~~~~~
- 205 | const bool rotary_interleave,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:206:1: warning: unused parameter ‘alibi’ [-Wunused-parameter]
- 205 | const bool rotary_interleave,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 206 | StorageView* alibi,
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/flash_attention_gpu.cu:207:1: warning: unused parameter ‘offset’ [-Wunused-parameter]
- 206 | StorageView* alibi,
- | ~~~~~~~~~~~~~~~~~~~
- 207 | dim_t offset) const {
- | ^
- [ 45%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_gather_gpu.cu.o
- [ 45%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_gumbel_max_gpu.cu.o
- [ 47%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_layer_norm_gpu.cu.o
- [ 47%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_mean_gpu.cu.o
- [ 47%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_multinomial_gpu.cu.o
- [ 47%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_nccl_ops_gpu.cu.o
- [ 47%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_quantize_gpu.cu.o
- [ 48%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_rms_norm_gpu.cu.o
- [ 48%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_rotary_gpu.cu.o
- [ 48%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_softmax_gpu.cu.o
- [ 49%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_tile_gpu.cu.o
- [ 49%] Building NVCC (Device) object CMakeFiles/ctranslate2.dir/src/ops/ctranslate2_generated_topk_gpu.cu.o
- [ 49%] Building CXX object CMakeFiles/ctranslate2.dir/src/buffered_translation_wrapper.cc.o
- [ 49%] Building CXX object CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o
- [ 49%] Building CXX object CMakeFiles/ctranslate2.dir/src/cpu/cpu_info.cc.o
- [ 49%] Building CXX object CMakeFiles/ctranslate2.dir/src/cpu/backend.cc.o
- [ 50%] Building CXX object CMakeFiles/ctranslate2.dir/src/cpu/cpu_isa.cc.o
- [ 51%] Building CXX object CMakeFiles/ctranslate2.dir/src/cpu/allocator.cc.o
- [ 52%] Building CXX object CMakeFiles/ctranslate2.dir/src/allocator.cc.o
- [ 54%] Building CXX object CMakeFiles/ctranslate2.dir/src/cpu/parallel.cc.o
- [ 54%] Building CXX object CMakeFiles/ctranslate2.dir/src/batch_reader.cc.o
- [ 54%] Building CXX object CMakeFiles/ctranslate2.dir/src/decoding.cc.o
- [ 54%] Building CXX object CMakeFiles/ctranslate2.dir/src/cpu/primitives.cc.o
- [ 55%] Building CXX object CMakeFiles/ctranslate2.dir/src/decoding_utils.cc.o
- [ 55%] Building CXX object CMakeFiles/ctranslate2.dir/src/devices.cc.o
- [ 55%] Building CXX object CMakeFiles/ctranslate2.dir/src/dtw.cc.o
- [ 56%] Building CXX object CMakeFiles/ctranslate2.dir/src/encoder.cc.o
- [ 56%] Building CXX object CMakeFiles/ctranslate2.dir/src/env.cc.o
- [ 56%] Building CXX object CMakeFiles/ctranslate2.dir/src/filesystem.cc.o
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/cpu/primitives.cc: In static member function ‘static void ctranslate2::primitives<D>::gemm(bool, bool, bool, bool, ctranslate2::dim_t, ctranslate2::dim_t, ctranslate2::dim_t, float, const In*, ctranslate2::dim_t, const In*, ctranslate2::dim_t, float, Out*, ctranslate2::dim_t, const Out*) [with In = signed char; Out = int; ctranslate2::Device D = ctranslate2::Device::CPU; ctranslate2::dim_t = long int]’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/cpu/primitives.cc:897:53: warning: unused parameter ‘a_shift_compensation’ [-Wunused-parameter]
- 897 | const int32_t* a_shift_compensation) {
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
- [ 57%] Building CXX object CMakeFiles/ctranslate2.dir/src/generator.cc.o
- [ 57%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/attention_layer.cc.o
- [ 57%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/attention.cc.o
- [ 58%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/flash_attention.cc.o
- [ 58%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/common.cc.o
- [ 59%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/decoder.cc.o
- [ 59%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/transformer.cc.o
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/attention.cc: In function ‘ctranslate2::StorageView ctranslate2::layers::make_asymmetric_relative_positions(ctranslate2::dim_t, ctranslate2::dim_t, ctranslate2::dim_t, ctranslate2::dim_t)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/attention.cc:41:19: warning: unused variable ‘offset’ [-Wunused-variable]
- 41 | const dim_t offset = keys_length - queries_length;
- | ^~~~~~
- [ 59%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/wav2vec2.cc.o
- [ 60%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/wav2vec2bert.cc.o
- [ 60%] Building CXX object CMakeFiles/ctranslate2.dir/src/logging.cc.o
- [ 60%] Building CXX object CMakeFiles/ctranslate2.dir/src/layers/whisper.cc.o
- [ 62%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/language_model.cc.o
- [ 62%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/model.cc.o
- [ 62%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/model_factory.cc.o
- [ 63%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/model_reader.cc.o
- In file included from /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2bert.cc:1:
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2bert.h: In constructor ‘ctranslate2::layers::EncoderLayer::EncoderLayer(const ctranslate2::models::Model&, const std::string&, bool, ctranslate2::ops::ActivationType, bool)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2bert.h:38:23: warning: ‘ctranslate2::layers::EncoderLayer::_self_attn_layer_norm’ will be initialized after [-Wreorder]
- 38 | const LayerNorm _self_attn_layer_norm;
- | ^~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2bert.h:35:19: warning: ‘const ctranslate2::dim_t ctranslate2::layers::EncoderLayer::_num_heads’ [-Wreorder]
- 35 | const dim_t _num_heads;
- | ^~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2bert.cc:6:5: warning: when initialized here [-Wreorder]
- 6 | EncoderLayer::EncoderLayer(const models::Model& model,
- | ^~~~~~~~~~~~
- In file included from /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2.cc:1:
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2.h: In constructor ‘ctranslate2::layers::Wav2Vec2LayerNormConvLayer::Wav2Vec2LayerNormConvLayer(const ctranslate2::models::Model&, const std::string&, ctranslate2::dim_t, ctranslate2::dim_t)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2.h:30:28: warning: ‘ctranslate2::layers::Wav2Vec2LayerNormConvLayer::_transpose’ will be initialized after [-Wreorder]
- 30 | const ops::Transpose _transpose;
- | ^~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2.h:29:23: warning: ‘const ctranslate2::layers::LayerNorm ctranslate2::layers::Wav2Vec2LayerNormConvLayer::_output_norm’ [-Wreorder]
- 29 | const LayerNorm _output_norm;
- | ^~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2.cc:7:5: warning: when initialized here [-Wreorder]
- 7 | Wav2Vec2LayerNormConvLayer::Wav2Vec2LayerNormConvLayer(const models::Model& model,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2.h: In constructor ‘ctranslate2::layers::Wav2Vec2Encoder::Wav2Vec2Encoder(const ctranslate2::models::Model&, const std::string&)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2.h:91:19: warning: ‘ctranslate2::layers::Wav2Vec2Encoder::_num_heads’ will be initialized after [-Wreorder]
- 91 | const dim_t _num_heads;
- | ^~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2.h:89:28: warning: ‘const ctranslate2::ops::Transpose ctranslate2::layers::Wav2Vec2Encoder::_transpose’ [-Wreorder]
- 89 | const ops::Transpose _transpose;
- | ^~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2.cc:48:5: warning: when initialized here [-Wreorder]
- 48 | Wav2Vec2Encoder::Wav2Vec2Encoder(const models::Model& model, const std::string& scope)
- | ^~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2.cc: In member function ‘void ctranslate2::layers::Wav2Vec2Encoder::operator()(const ctranslate2::StorageView&, ctranslate2::StorageView&)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2.cc:84:27: warning: comparison of integer expressions of different signedness: ‘ctranslate2::dim_t’ {aka ‘long int’} and ‘std::vector<std::unique_ptr<const ctranslate2::layers::Wav2Vec2LayerNormConvLayer> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 84 | for (dim_t l = 0; l < _feat_layers.size(); l++) {
- | ~~^~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2.cc:86:15: warning: comparison of integer expressions of different signedness: ‘ctranslate2::dim_t’ {aka ‘long int’} and ‘std::vector<std::unique_ptr<const ctranslate2::layers::Wav2Vec2LayerNormConvLayer> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
- 86 | if (l < _feat_layers.size() - 1 ) {
- | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2bert.h: In constructor ‘ctranslate2::layers::AdapterLayer::AdapterLayer(const ctranslate2::models::Model&, const std::string&, bool, ctranslate2::ops::ActivationType, bool)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2bert.h:82:20: warning: ‘ctranslate2::layers::AdapterLayer::_attn_conv’ will be initialized after [-Wreorder]
- 82 | const Conv1D _attn_conv;
- | ^~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/layers/wav2vec2bert.h:76:19: warning: ‘const ctranslate2::dim_t ctranslate2::layers::AdapterLayer::_num_heads’ [-Wreorder]
- 76 | const dim_t _num_heads;
- | ^~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/layers/wav2vec2bert.cc:98:5: warning: when initialized here [-Wreorder]
- 98 | AdapterLayer::AdapterLayer(const models::Model& model,
- | ^~~~~~~~~~~~
- [ 63%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/sequence_to_sequence.cc.o
- [ 63%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/transformer.cc.o
- [ 63%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/wav2vec2bert.cc.o
- [ 64%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/wav2vec2.cc.o
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc: In function ‘void ctranslate2::models::split_variables(ctranslate2::StorageView, int, std::vector<long int>&, std::vector<ctranslate2::StorageView>&)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:449:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 449 | for (int i = 0; i < num; ++i) {
- | ~~^~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc: In static member function ‘static std::shared_ptr<const ctranslate2::models::Model> ctranslate2::models::Model::load(ctranslate2::models::ModelReader&, ctranslate2::Device, int, ctranslate2::ComputeType, bool, bool)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:744:32: warning: comparison of integer expressions of different signedness: ‘std::vector<ctranslate2::StorageView>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 744 | if (outputs.size() > current_index && !outputs[current_index].empty())
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:641:25: warning: unused variable ‘quantization_type’ [-Wunused-variable]
- 641 | QUANTIZATION_TYPE quantization_type = QUANTIZATION_TYPE::CT2;
- | ^~~~~~~~~~~~~~~~~
- [ 64%] Building CXX object CMakeFiles/ctranslate2.dir/src/models/whisper.cc.o
- [ 65%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/activation.cc.o
- [ 65%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/add.cc.o
- [ 66%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/alibi_add.cc.o
- [ 66%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/alibi_add_cpu.cc.o
- [ 66%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/bias_add.cc.o
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc: In function ‘ctranslate2::models::VARIABLE_TYPE ctranslate2::models::classify_variable(const std::string&)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:497:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 497 | if (parameterName == "weight")
- | ^~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:499:11: note: here
- 499 | default:
- | ^~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:521:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 521 | if (parameterName == "weight")
- | ^~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:523:11: note: here
- 523 | default:
- | ^~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:546:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 546 | if (parameterName == "weight")
- | ^~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:548:11: note: here
- 548 | default:
- | ^~~~~~~
- [ 67%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/bias_add_cpu.cc.o
- [ 67%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/concat.cc.o
- [ 67%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/concat_split_slide_cpu.cc.o
- [ 68%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/conv1d.cc.o
- [ 68%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/conv1d_cpu.cc.o
- [ 68%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/cos.cc.o
- [ 70%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/dequantize.cc.o
- [ 70%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/dequantize_cpu.cc.o
- [ 70%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/flash_attention.cc.o
- [ 71%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/flash_attention_cpu.cc.o
- [ 71%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/gather.cc.o
- [ 72%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/gather_cpu.cc.o
- [ 72%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/gelu.cc.o
- [ 72%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/gemm.cc.o
- [ 73%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/gumbel_max.cc.o
- [ 73%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/gumbel_max_cpu.cc.o
- [ 73%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/layer_norm.cc.o
- [ 74%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/layer_norm_cpu.cc.o
- [ 74%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/log.cc.o
- In file included from /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/gemm.cc:1:
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/ops/gemm.h: In constructor ‘ctranslate2::ops::Gemm::Gemm(float, float, bool, bool, bool, bool, const ctranslate2::ops::ActivationType*)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/ops/gemm.h:51:12: warning: ‘ctranslate2::ops::Gemm::_b_is_packed’ will be initialized after [-Wreorder]
- 51 | bool _b_is_packed;
- | ^~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/ops/gemm.h:43:29: warning: ‘const ctranslate2::ops::ActivationType* ctranslate2::ops::Gemm::_activation_type’ [-Wreorder]
- 43 | const ActivationType* _activation_type;
- | ^~~~~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/ops/gemm.cc:22:5: warning: when initialized here [-Wreorder]
- 22 | Gemm::Gemm(float alpha,
- | ^~~~
- [ 74%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/matmul.cc.o
- [ 75%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/mean.cc.o
- [ 75%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/mean_cpu.cc.o
- [ 75%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/median_filter.cc.o
- [ 77%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/min_max.cc.o
- [ 77%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/mul.cc.o
- [ 78%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/multinomial.cc.o
- [ 78%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/multinomial_cpu.cc.o
- [ 78%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/quantize.cc.o
- [ 79%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/quantize_cpu.cc.o
- [ 79%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/relu.cc.o
- [ 79%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/rms_norm.cc.o
- [ 80%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/rms_norm_cpu.cc.o
- [ 80%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/rotary.cc.o
- [ 80%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/rotary_cpu.cc.o
- [ 81%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/sin.cc.o
- [ 81%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/softmax.cc.o
- [ 81%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/softmax_cpu.cc.o
- [ 82%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/split.cc.o
- [ 82%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/slide.cc.o
- [ 83%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/sub.cc.o
- [ 83%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/sigmoid.cc.o
- [ 83%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/swish.cc.o
- [ 85%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/tanh.cc.o
- [ 85%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/tile.cc.o
- [ 85%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/tile_cpu.cc.o
- [ 86%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/topk.cc.o
- [ 86%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/topk_cpu.cc.o
- [ 86%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/topp_mask.cc.o
- [ 87%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/topp_mask_cpu.cc.o
- [ 87%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/transpose.cc.o
- [ 87%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/nccl_ops.cc.o
- [ 88%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/nccl_ops_cpu.cc.o
- [ 88%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/awq/dequantize.cc.o
- [ 88%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/awq/dequantize_cpu.cc.o
- [ 89%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/awq/gemm.cc.o
- [ 89%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/awq/gemm_cpu.cc.o
- [ 90%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/awq/gemv.cc.o
- [ 90%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/awq/gemv_cpu.cc.o
- [ 90%] Building CXX object CMakeFiles/ctranslate2.dir/src/ops/sum.cc.o
- [ 91%] Building CXX object CMakeFiles/ctranslate2.dir/src/padder.cc.o
- [ 91%] Building CXX object CMakeFiles/ctranslate2.dir/src/profiler.cc.o
- [ 91%] Building CXX object CMakeFiles/ctranslate2.dir/src/random.cc.o
- [ 93%] Building CXX object CMakeFiles/ctranslate2.dir/src/sampling.cc.o
- [ 93%] Building CXX object CMakeFiles/ctranslate2.dir/src/scoring.cc.o
- [ 93%] Building CXX object CMakeFiles/ctranslate2.dir/src/storage_view.cc.o
- [ 93%] Building CXX object CMakeFiles/ctranslate2.dir/src/translator.cc.o
- [ 94%] Building CXX object CMakeFiles/ctranslate2.dir/src/thread_pool.cc.o
- [ 94%] Building CXX object CMakeFiles/ctranslate2.dir/src/types.cc.o
- [ 95%] Building CXX object CMakeFiles/ctranslate2.dir/src/utils.cc.o
- [ 95%] Building CXX object CMakeFiles/ctranslate2.dir/src/vocabulary.cc.o
- [ 96%] Building CXX object CMakeFiles/ctranslate2.dir/src/vocabulary_map.cc.o
- [ 96%] Building CXX object CMakeFiles/ctranslate2.dir/kernels_avx.cc.o
- [ 96%] Building CXX object CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o
- [ 97%] Building CXX object CMakeFiles/ctranslate2.dir/kernels_avx512.cc.o
- [ 97%] Building CXX object CMakeFiles/ctranslate2.dir/src/cuda/cublas_stub.cc.o
- [ 97%] Building CXX object CMakeFiles/ctranslate2.dir/src/cuda/allocator.cc.o
- [ 98%] Building CXX object CMakeFiles/ctranslate2.dir/src/cuda/utils.cc.o
- In file included from /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/storage_view.h:8,
- from /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/models/model.h:9,
- from /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:1:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc: In static member function ‘static std::shared_ptr<const ctranslate2::models::Model> ctranslate2::models::Model::load(ctranslate2::models::ModelReader&, ctranslate2::Device, int, ctranslate2::ComputeType, bool, bool)’:
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:702:94: warning: ‘world_size’ may be used uninitialized [-Wmaybe-uninitialized]
- 702 | dim_t dim_per_kqv_per_partition = SAFE_DIVIDE(variable.dim(outer_dim) / 3, world_size);
- | ^~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/include/ctranslate2/utils.h:96:44: note: in definition of macro ‘SAFE_DIVIDE’
- 96 | #define SAFE_DIVIDE(x, y) ((y != 0 && (x % y == 0)) ? (x / y) : (throw std::runtime_error("Division has a remainder," \
- | ^
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:578:11: note: ‘world_size’ was declared here
- 578 | int world_size;
- | ^~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:744:34: warning: ‘current_index’ may be used uninitialized [-Wmaybe-uninitialized]
- 744 | if (outputs.size() > current_index && !outputs[current_index].empty())
- | ^~~~~~~~~~~~~
- /tmp/makepkg/ctranslate2/src/CTranslate2/src/models/model.cc:579:11: note: ‘current_index’ was declared here
- 579 | int current_index;
- | ^~~~~~~~~~~~~
- [ 98%] Linking CXX shared library libctranslate2.so
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::exp<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:215: multiple definition of `void ctranslate2::cpu::exp<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:215: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::log<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:220: multiple definition of `void ctranslate2::cpu::log<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:220: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::sin<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:225: multiple definition of `void ctranslate2::cpu::sin<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:225: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::cos<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:230: multiple definition of `void ctranslate2::cpu::cos<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:230: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::tanh<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:235: multiple definition of `void ctranslate2::cpu::tanh<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:235: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::gelu_tanh<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:245: multiple definition of `void ctranslate2::cpu::gelu_tanh<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:245: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::gelu_sigmoid<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:250: multiple definition of `void ctranslate2::cpu::gelu_sigmoid<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:250: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::sigmoid<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:255: multiple definition of `void ctranslate2::cpu::sigmoid<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:255: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::swish<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:260: multiple definition of `void ctranslate2::cpu::swish<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:260: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `float ctranslate2::cpu::reduce_logsumexp<(ctranslate2::cpu::CpuIsa)2>(float const*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:376: multiple definition of `float ctranslate2::cpu::reduce_logsumexp<(ctranslate2::cpu::CpuIsa)2>(float const*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:376: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::softmax<(ctranslate2::cpu::CpuIsa)2>(float const*, int const*, float*, long, long, bool)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:408: multiple definition of `void ctranslate2::cpu::softmax<(ctranslate2::cpu::CpuIsa)2>(float const*, int const*, float*, long, long, bool)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:408: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::layer_norm<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float const*, float*, long, long, float)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:469: multiple definition of `void ctranslate2::cpu::layer_norm<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float const*, float*, long, long, float)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:469: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::layer_norm_axis<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float const*, float*, long, long, long, float)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:506: multiple definition of `void ctranslate2::cpu::layer_norm_axis<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float const*, float*, long, long, long, float)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:506: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::rms_norm<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float*, long, long, float, bool)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:550: multiple definition of `void ctranslate2::cpu::rms_norm<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float*, long, long, float, bool)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:550: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::quantize_s8<(ctranslate2::cpu::CpuIsa)2>(float const*, signed char*, float*, long, long, bool, bool)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:646: multiple definition of `void ctranslate2::cpu::quantize_s8<(ctranslate2::cpu::CpuIsa)2>(float const*, signed char*, float*, long, long, bool, bool)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:646: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::dequantize_gemm_output<(ctranslate2::cpu::CpuIsa)2>(int const*, float const*, float const*, long, long, float*, float const*, ctranslate2::ops::ActivationType const*)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:732: multiple definition of `void ctranslate2::cpu::dequantize_gemm_output<(ctranslate2::cpu::CpuIsa)2>(int const*, float const*, float const*, long, long, float*, float const*, ctranslate2::ops::ActivationType const*)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:732: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx.cc.o: in function `void ctranslate2::cpu::gelu<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx.cc:240: multiple definition of `void ctranslate2::cpu::gelu<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:240: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::exp<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:215: multiple definition of `void ctranslate2::cpu::exp<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:215: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::log<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:220: multiple definition of `void ctranslate2::cpu::log<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:220: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::sin<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:225: multiple definition of `void ctranslate2::cpu::sin<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:225: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::cos<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:230: multiple definition of `void ctranslate2::cpu::cos<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:230: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::tanh<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:235: multiple definition of `void ctranslate2::cpu::tanh<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:235: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::gelu_tanh<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:245: multiple definition of `void ctranslate2::cpu::gelu_tanh<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:245: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::gelu_sigmoid<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:250: multiple definition of `void ctranslate2::cpu::gelu_sigmoid<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:250: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::sigmoid<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:255: multiple definition of `void ctranslate2::cpu::sigmoid<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:255: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::swish<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:260: multiple definition of `void ctranslate2::cpu::swish<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:260: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `float ctranslate2::cpu::reduce_logsumexp<(ctranslate2::cpu::CpuIsa)2>(float const*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:376: multiple definition of `float ctranslate2::cpu::reduce_logsumexp<(ctranslate2::cpu::CpuIsa)2>(float const*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:376: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::softmax<(ctranslate2::cpu::CpuIsa)2>(float const*, int const*, float*, long, long, bool)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:408: multiple definition of `void ctranslate2::cpu::softmax<(ctranslate2::cpu::CpuIsa)2>(float const*, int const*, float*, long, long, bool)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:408: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::layer_norm<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float const*, float*, long, long, float)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:469: multiple definition of `void ctranslate2::cpu::layer_norm<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float const*, float*, long, long, float)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:469: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::layer_norm_axis<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float const*, float*, long, long, long, float)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:506: multiple definition of `void ctranslate2::cpu::layer_norm_axis<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float const*, float*, long, long, long, float)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:506: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::rms_norm<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float*, long, long, float, bool)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:550: multiple definition of `void ctranslate2::cpu::rms_norm<(ctranslate2::cpu::CpuIsa)2>(float const*, float const*, float*, long, long, float, bool)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:550: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::quantize_s8<(ctranslate2::cpu::CpuIsa)2>(float const*, signed char*, float*, long, long, bool, bool)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:646: multiple definition of `void ctranslate2::cpu::quantize_s8<(ctranslate2::cpu::CpuIsa)2>(float const*, signed char*, float*, long, long, bool, bool)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:646: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::dequantize_gemm_output<(ctranslate2::cpu::CpuIsa)2>(int const*, float const*, float const*, long, long, float*, float const*, ctranslate2::ops::ActivationType const*)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:732: multiple definition of `void ctranslate2::cpu::dequantize_gemm_output<(ctranslate2::cpu::CpuIsa)2>(int const*, float const*, float const*, long, long, float*, float const*, ctranslate2::ops::ActivationType const*)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:732: first defined here
- /usr/bin/ld: CMakeFiles/ctranslate2.dir/kernels_avx2.cc.o: in function `void ctranslate2::cpu::gelu<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)':
- /usr/src/debug/ctranslate2/build/kernels_avx2.cc:240: multiple definition of `void ctranslate2::cpu::gelu<(ctranslate2::cpu::CpuIsa)2>(float const*, float*, long)'; CMakeFiles/ctranslate2.dir/src/cpu/kernels.cc.o:/usr/src/debug/ctranslate2/CTranslate2/src/cpu/kernels.cc:240: first defined here
- collect2: error: ld returned 1 exit status
- make[2]: *** [CMakeFiles/ctranslate2.dir/build.make:2242: libctranslate2.so.4.5.0] Error 1
- make[1]: *** [CMakeFiles/Makefile2:391: CMakeFiles/ctranslate2.dir/all] Error 2
- make: *** [Makefile:136: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement