Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build talk.llama . #1659

Closed
rohithbojja opened this issue Dec 20, 2023 · 1 comment · Fixed by #1669
Closed

cannot build talk.llama . #1659

rohithbojja opened this issue Dec 20, 2023 · 1 comment · Fixed by #1669
Labels
bug Something isn't working

Comments

@rohithbojja
Copy link

rohithbojja commented Dec 20, 2023

-- Building for: Visual Studio 17 2022
-- The C compiler identification is MSVC 19.38.33130.0
-- The CXX compiler identification is MSVC 19.38.33130.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - 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: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.42.0.windows.2")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include (found version "12.3.103")
-- cuBLAS found
-- The CUDA compiler identification is NVIDIA 12.3.103
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/bin/nvcc.exe - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- CMAKE_SYSTEM_PROCESSOR: AMD64
-- x86 detected
-- GGML CUDA sources found, configuring CUDA architecture
-- SDL2_INCLUDE_DIRS = D:/Downloads/Compressed/SDL2-devel-2.28.5-VC_2/SDL2-2.28.5/cmake/../include
-- SDL2_LIBRARIES = SDL2::SDL2main;SDL2::SDL2
-- Configuring done (9.2s)
-- Generating done (0.1s)
-- Build files have been written to: D:/E/Repos/whisper.cpp/build

  rohith on Wednesday at 7:23 PM                                                                                                               9.462s    CPU: 61%  RAM: 10/17GB
  {  D:  E  Repos }   cmake --build "D:\E\Repos\whisper.cpp\build" --config release
MSBuild version 17.8.3+195e7f5a3 for .NET Framework

  1>Checking Build System
  Building Custom Rule D:/E/Repos/whisper.cpp/CMakeLists.txt
  Compiling CUDA source file ..\ggml-cuda.cu...

  D:\E\Repos\whisper.cpp\build>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin\nvcc.exe"  --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Commu
  nity\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64" -x cu   -ID:\E\Repos\whisper.cpp\. -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\include" -I"C:\Program Files\NVIDI
  A GPU Computing Toolkit\CUDA\v12.3\include"     --keep-dir x64\release  -maxrregcount=0   --machine 64 --compile -cudart static -std=c++14 -Xcompiler="/EHsc -Ob2"   -D_WINDOWS -
  DNDEBUG -DWHISPER_SHARED -DGGML_SHARED -DWHISPER_BUILD -DGGML_BUILD -D_CRT_SECURE_NO_WARNINGS -DGGML_USE_CUBLAS -D_XOPEN_SOURCE=600 -D"CMAKE_INTDIR=\"Release\"" -Dwhisper_EXPORT
  S -D_WINDLL -D_MBCS -DWIN32 -D_WINDOWS -DNDEBUG -DWHISPER_SHARED -DGGML_SHARED -DWHISPER_BUILD -DGGML_BUILD -D_CRT_SECURE_NO_WARNINGS -DGGML_USE_CUBLAS -D_XOPEN_SOURCE=600 -D"CM
  AKE_INTDIR=\"Release\"" -Dwhisper_EXPORTS -Xcompiler "/EHsc /W3 /nologo /O2 /FS   /MD /GR" -Xcompiler "/Fdwhisper.dir\Release\vc143.pdb" -o whisper.dir\Release\ggml-cuda.obj "D:
  \E\Repos\whisper.cpp\ggml-cuda.cu"
  ggml-cuda.cu
  tmpxft_00005c18_00000000-7_ggml-cuda.cudafe1.cpp
  ggml.c
  ggml-alloc.c
  ggml-backend.c
  ggml-quants.c
D:\E\Repos\whisper.cpp\ggml-backend.c(285,14): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\whisper.vcxpro
j]
D:\E\Repos\whisper.cpp\ggml-quants.c(627,26): warning C4244: '=': conversion from 'float' to 'int8_t', possible loss of data [D:\E\Repos\whisper.cpp\build\whisper.vcxproj]
D:\E\Repos\whisper.cpp\ggml-quants.c(845,36): warning C4244: '=': conversion from 'float' to 'int8_t', possible loss of data [D:\E\Repos\whisper.cpp\build\whisper.vcxproj]
D:\E\Repos\whisper.cpp\ggml-quants.c(846,36): warning C4244: '=': conversion from 'float' to 'int8_t', possible loss of data [D:\E\Repos\whisper.cpp\build\whisper.vcxproj]
  Generating Code...
D:\E\Repos\whisper.cpp\ggml-backend.c(703): warning C4715: 'get_allocr_backend': not all control paths return a value [D:\E\Repos\whisper.cpp\build\whisper.vcxproj]
  whisper.cpp
D:\E\Repos\whisper.cpp\whisper.cpp(6131,28): warning C4018: '<=': signed/unsigned mismatch [D:\E\Repos\whisper.cpp\build\whisper.vcxproj]
     Creating library D:/E/Repos/whisper.cpp/build/Release/whisper.lib and object D:/E/Repos/whisper.cpp/build/Release/whisper.exp
  whisper.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\whisper.dll
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/bench/CMakeLists.txt
  bench.cpp
  bench.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\bench.exe
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/CMakeLists.txt
  common.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\common.vcxproj]
  (compiling source file '../../examples/common.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\common.vcxproj]
  (compiling source file '../../examples/common.cpp')

  common-ggml.cpp
  grammar-parser.cpp
  Generating Code...
  common.vcxproj -> D:\E\Repos\whisper.cpp\build\examples\Release\common.lib
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/CMakeLists.txt
  common-sdl.cpp
D:\E\Repos\whisper.cpp\examples\common-sdl.cpp(199,16): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examp
les\common-sdl.vcxproj]
D:\E\Repos\whisper.cpp\examples\common-sdl.cpp(201,31): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\common
-sdl.vcxproj]
  common-sdl.vcxproj -> D:\E\Repos\whisper.cpp\build\examples\Release\common-sdl.lib
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/command/CMakeLists.txt
  command.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\command\command.vcxproj]
  (compiling source file '../../../examples/command/command.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\command\command.vcxproj]
  (compiling source file '../../../examples/command/command.cpp')

D:\E\Repos\whisper.cpp\examples\command\command.cpp(189,62): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\exam
ples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(372,53): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\co
mmand\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(375,78): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\exam
ples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(419,32): warning C4244: '/=': conversion from 'double' to '_Ty1', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\
command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(419,32): warning C4244:         with [D:\E\Repos\whisper.cpp\build\examples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(419,32): warning C4244:         [ [D:\E\Repos\whisper.cpp\build\examples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(419,32): warning C4244:             _Ty1=float [D:\E\Repos\whisper.cpp\build\examples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(419,32): warning C4244:         ] [D:\E\Repos\whisper.cpp\build\examples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(478,57): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\
examples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(478,31): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\E\Repos\whisper.cpp\
build\examples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(628,63): warning C4244: 'argument': conversion from 'float' to 'const unsigned __int64', possible loss of data [D:\E\Repos\whis
per.cpp\build\examples\command\command.vcxproj]
D:\E\Repos\whisper.cpp\examples\command\command.cpp(643,35): warning C4244: 'initializing': conversion from 'double' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\bui
ld\examples\command\command.vcxproj]
  command.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\command.exe
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/lsp/CMakeLists.txt
  lsp.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\lsp\lsp.vcxproj]
  (compiling source file '../../../examples/lsp/lsp.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\lsp\lsp.vcxproj]
  (compiling source file '../../../examples/lsp/lsp.cpp')

D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(124,27): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\l
sp\lsp.vcxproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(140,15): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\lsp
\lsp.vcxproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(145,19): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\lsp
\lsp.vcxproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(148,19): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\l
sp\lsp.vcxproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(150,28): warning C4244: 'argument': conversion from 'uint64_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\l
sp\lsp.vcxproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(170,54): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\lsp\lsp.vc
xproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(187,62): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\lsp
\lsp.vcxproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(228,53): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\lsp\lsp.vc
xproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(233,62): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\lsp
\lsp.vcxproj]
D:\E\Repos\whisper.cpp\examples\lsp\lsp.cpp(326,15): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\lsp\lsp.vcxproj]
  lsp.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\lsp.exe
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/main/CMakeLists.txt
  main.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\main\main.vcxproj]
  (compiling source file '../../../examples/main/main.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\main\main.vcxproj]
  (compiling source file '../../../examples/main/main.cpp')

  main.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\main.exe
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/quantize/CMakeLists.txt
  quantize.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\quantize\quantize.vcxproj]
  (compiling source file '../../../examples/quantize/quantize.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\quantize\quantize.vcxproj]
  (compiling source file '../../../examples/quantize/quantize.cpp')

  quantize.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\quantize.exe
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/server/CMakeLists.txt
  server.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\server\server.vcxproj]
  (compiling source file '../../../examples/server/server.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\server\server.vcxproj]
  (compiling source file '../../../examples/server/server.cpp')

  server.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\server.exe
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/stream/CMakeLists.txt
  stream.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\stream\stream.vcxproj]
  (compiling source file '../../../examples/stream/stream.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\stream\stream.vcxproj]
  (compiling source file '../../../examples/stream/stream.cpp')

D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(139,55): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(139,30): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data [D:\E\Repos\whisper.cpp\bu
ild\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(140,55): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(140,30): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data [D:\E\Repos\whisper.cpp\bu
ild\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(141,55): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(141,30): warning C4244: 'initializing': conversion from 'double' to 'const int', possible loss of data [D:\E\Repos\whisper.cpp\bu
ild\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(142,55): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(272,54): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(272,37): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\E\Repos\whisper.cpp\bu
ild\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(335,46): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\stre
am\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(337,70): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\exampl
es\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,48): warning C4244: 'initializing': conversion from 'const _Ty' to 'int64_t', possible loss of data [D:\E\Repos\whisper.cpp\b
uild\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,48): warning C4244:         with [D:\E\Repos\whisper.cpp\build\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,48): warning C4244:         [ [D:\E\Repos\whisper.cpp\build\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,48): warning C4244:             _Ty=double [D:\E\Repos\whisper.cpp\build\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,48): warning C4244:         ] [D:\E\Repos\whisper.cpp\build\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,38): warning C4244: 'initializing': conversion from 'const _Ty' to 'const int64_t', possible loss of data [D:\E\Repos\whisper
.cpp\build\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,38): warning C4244:         with [D:\E\Repos\whisper.cpp\build\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,38): warning C4244:         [ [D:\E\Repos\whisper.cpp\build\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,38): warning C4244:             _Ty=double [D:\E\Repos\whisper.cpp\build\examples\stream\stream.vcxproj]
D:\E\Repos\whisper.cpp\examples\stream\stream.cpp(353,38): warning C4244:         ] [D:\E\Repos\whisper.cpp\build\examples\stream\stream.vcxproj]
  stream.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\stream.exe
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/talk/CMakeLists.txt
  talk.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\talk\talk.vcxproj]
  (compiling source file '../../../examples/talk/talk.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\talk\talk.vcxproj]
  (compiling source file '../../../examples/talk/talk.cpp')

D:\E\Repos\whisper.cpp\examples\talk\talk.cpp(131,62): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\t
alk\talk.vcxproj]
  gpt-2.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\talk\talk.vcxproj]
  (compiling source file '../../../examples/talk/gpt-2.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\talk\talk.vcxproj]
  (compiling source file '../../../examples/talk/gpt-2.cpp')

D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(158,27): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(159,27): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(161,35): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(162,35): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(163,35): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(165,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(166,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(168,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(169,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(171,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(172,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(174,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(175,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(177,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(178,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(180,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(181,28): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(183,41): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(184,41): warning C4244: '+=': conversion from 'float' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk
\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(390,32): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examp
les\talk\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(390,17): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\E\Repos\whisper.cpp\build
\examples\talk\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(404,40): warning C4244: 'initializing': conversion from 'double' to 'size_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\talk\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(404,35): warning C4244: 'initializing': conversion from 'double' to 'const size_t', possible loss of data [D:\E\Repos\whisper.cpp\bu
ild\examples\talk\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(723,33): warning C4244: 'argument': conversion from 'time_t' to 'unsigned int', possible loss of data [D:\E\Repos\whisper.cpp\build\
examples\talk\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(775,16): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examp
les\talk\talk.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk\gpt-2.cpp(784,28): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk\t
alk.vcxproj]
  Generating Code...
  talk.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\talk.exe
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/talk-llama/CMakeLists.txt
  talk-llama.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\talk-llama\talk-llama.vcxproj]
  (compiling source file '../../../examples/talk-llama/talk-llama.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\talk-llama\talk-llama.vcxproj]
  (compiling source file '../../../examples/talk-llama/talk-llama.cpp')

D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(22,18): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\b
uild\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(24,92): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build
\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(24,62): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build
\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(27,97): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build
\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(27,67): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build
\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(37,102): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\buil
d\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(40,97): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build
\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(176,109): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\bui
ld\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(190,51): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examp
les\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(195,62): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\buil
d\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(406,61): warning C4267: 'argument': conversion from 'size_t' to 'int32_t', possible loss of data [D:\E\Repos\whisper.cpp\
build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(452,39): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\
build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(452,24): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data [D:\E\Repos\whispe
r.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(457,28): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\
build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(586,69): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examp
les\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(589,73): warning C4267: 'argument': conversion from 'size_t' to 'int32_t', possible loss of data [D:\E\Repos\whisper.cpp\
build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(597,40): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\exam
ples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(647,78): warning C4244: 'argument': conversion from 'const float' to 'int', possible loss of data [D:\E\Repos\whisper.cpp
\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(666,36): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\
build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(348,31): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disa
ble deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(361,31): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disa
ble deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(380,26): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable depr
ecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(406,9): warning C4996: 'llama_eval': use llama_decode() instead [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-ll
ama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\talk-llama.cpp(589,29): warning C4996: 'llama_eval': use llama_decode() instead [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-l
lama.vcxproj]
  llama.cpp
D:\E\Repos\whisper.cpp\examples\talk-llama\llama.cpp(669,19): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecati
on, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\llama.cpp(671,77): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable dep
recation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\llama.cpp(704,63): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable dep
recation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\llama.cpp(724,64): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable dep
recation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\llama.cpp(1085,31): warning C4305: 'initializing': truncation from 'double' to 'float' [D:\E\Repos\whisper.cpp\build\examples\talk-llama
\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\llama.cpp(9022,28): warning C4146: unary minus operator applied to unsigned type, result still unsigned [D:\E\Repos\whisper.cpp\build\ex
amples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\talk-llama\llama.cpp(9052,28): warning C4146: unary minus operator applied to unsigned type, result still unsigned [D:\E\Repos\whisper.cpp\build\ex
amples\talk-llama\talk-llama.vcxproj]
  common.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\talk-llama\talk-llama.vcxproj]
  (compiling source file '../../../examples/common.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\talk-llama\talk-llama.vcxproj]
  (compiling source file '../../../examples/common.cpp')

  common-sdl.cpp
D:\E\Repos\whisper.cpp\examples\common-sdl.cpp(199,16): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examp
les\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\examples\common-sdl.cpp(201,31): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk-l
lama\talk-llama.vcxproj]
  whisper.cpp
D:\E\Repos\whisper.cpp\whisper.cpp(6131,28): warning C4018: '<=': signed/unsigned mismatch [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
  Generating Code...
  ggml.c
  ggml-alloc.c
  ggml-backend.c
D:\E\Repos\whisper.cpp\ggml-backend.c(285,14): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk-
llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\ggml-backend.c(328,9): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_S
ECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\ggml-backend.c(331,9): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT
_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\ggml-backend.c(759,9): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT
_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\ggml-backend.c(761,9): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT
_SECURE_NO_WARNINGS. See online help for details. [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
  ggml-quants.c
D:\E\Repos\whisper.cpp\ggml-quants.c(627,26): warning C4244: '=': conversion from 'float' to 'int8_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk
-llama.vcxproj]
D:\E\Repos\whisper.cpp\ggml-quants.c(845,36): warning C4244: '=': conversion from 'float' to 'int8_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk
-llama.vcxproj]
D:\E\Repos\whisper.cpp\ggml-quants.c(846,36): warning C4244: '=': conversion from 'float' to 'int8_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk
-llama.vcxproj]
  Generating Code...
D:\E\Repos\whisper.cpp\ggml-backend.c(703): warning C4715: 'get_allocr_backend': not all control paths return a value [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.
vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_host_malloc referenced in function "public: void __cdecl llama_buffer::resize(unsigned __int64)" (?resize@llama_buf
fer@@QEAAX_K@Z) [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_host_free referenced in function "public: __cdecl llama_context::~llama_context(void)" (??1llama_context@@QEAA@XZ)
[D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_set_tensor_split referenced in function "void __cdecl llm_load_tensors(struct llama_model_loader &,struct llama_mod
el &,int,int,float const *,bool,void (__cdecl*)(float,void *),void *)" (?llm_load_tensors@@YAXAEAUllama_model_loader@@AEAUllama_model@@HHPEBM_NP6AXMPEAX@Z4@Z) [D:\E\Repos\whisper.
cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_transform_tensor referenced in function "public: void __cdecl llama_model_loader::load_all_data(struct ggml_context
 *,void (__cdecl*)(float,void *),void *,struct llama_mlock *)" (?load_all_data@llama_model_loader@@QEAAXPEAUggml_context@@P6AXMPEAX@Z1PEAUllama_mlock@@@Z) [D:\E\Repos\whisper.cpp\
build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_free_data referenced in function "public: __cdecl llama_context::~llama_context(void)" (??1llama_context@@QEAA@XZ)
[D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_assign_buffers referenced in function "int __cdecl llama_apply_lora_from_file_internal(struct llama_model const &,c
har const *,float,char const *,int)" (?llama_apply_lora_from_file_internal@@YAHAEBUllama_model@@PEBDM1H@Z) [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_assign_buffers_no_scratch referenced in function "bool __cdecl llama_kv_cache_init(struct llama_hparams const &,str
uct llama_kv_cache &,enum ggml_type,unsigned int,int)" (?llama_kv_cache_init@@YA_NAEBUllama_hparams@@AEAUllama_kv_cache@@W4ggml_type@@IH@Z) [D:\E\Repos\whisper.cpp\build\examples\
talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_assign_buffers_force_inplace referenced in function "int __cdecl llama_apply_lora_from_file_internal(struct llama_m
odel const &,char const *,float,char const *,int)" (?llama_apply_lora_from_file_internal@@YAHAEBUllama_model@@PEBDM1H@Z) [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-lla
ma.vcxproj]
llama.obj : error LNK2001: unresolved external symbol ggml_cuda_assign_buffers_no_alloc [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_assign_scratch_offset referenced in function "int __cdecl llama_decode_internal(struct llama_context &,struct llama
_batch)" (?llama_decode_internal@@YAHAEAUllama_context@@Ullama_batch@@@Z) [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_copy_to_device referenced in function "int __cdecl llama_decode_internal(struct llama_context &,struct llama_batch)
" (?llama_decode_internal@@YAHAEAUllama_context@@Ullama_batch@@@Z) [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_set_main_device referenced in function "void __cdecl llm_load_tensors(struct llama_model_loader &,struct llama_mode
l &,int,int,float const *,bool,void (__cdecl*)(float,void *),void *)" (?llm_load_tensors@@YAXAEAUllama_model_loader@@AEAUllama_model@@HHPEBM_NP6AXMPEAX@Z4@Z) [D:\E\Repos\whisper.c
pp\build\examples\talk-llama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_set_scratch_size referenced in function llama_new_context_with_model [D:\E\Repos\whisper.cpp\build\examples\talk-ll
ama\talk-llama.vcxproj]
llama.obj : error LNK2019: unresolved external symbol ggml_cuda_free_scratch referenced in function "public: __cdecl llama_model::~llama_model(void)" (??1llama_model@@QEAA@XZ) [D:
\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
ggml.obj : error LNK2019: unresolved external symbol ggml_init_cublas referenced in function ggml_init [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
ggml.obj : error LNK2019: unresolved external symbol ggml_cuda_can_mul_mat referenced in function ggml_get_n_tasks [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcx
proj]
ggml.obj : error LNK2019: unresolved external symbol ggml_cuda_compute_forward referenced in function ggml_compute_forward [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-l
lama.vcxproj]
ggml-backend.obj : error LNK2019: unresolved external symbol ggml_backend_cuda_reg_devices referenced in function ggml_backend_registry_init [D:\E\Repos\whisper.cpp\build\examples
\talk-llama\talk-llama.vcxproj]
whisper.obj : error LNK2019: unresolved external symbol ggml_cublas_loaded referenced in function "struct ggml_backend * __cdecl whisper_backend_init(struct whisper_context_params
 const &)" (?whisper_backend_init@@YAPEAUggml_backend@@AEBUwhisper_context_params@@@Z) [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
whisper.obj : error LNK2019: unresolved external symbol ggml_backend_cuda_init referenced in function "struct ggml_backend * __cdecl whisper_backend_init(struct whisper_context_pa
rams const &)" (?whisper_backend_init@@YAPEAUggml_backend@@AEBUwhisper_context_params@@@Z) [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
D:\E\Repos\whisper.cpp\build\bin\Release\talk-llama.exe : fatal error LNK1120: 20 unresolved externals [D:\E\Repos\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/wchess/libwchess/CMakeLists.txt
  WChess.cpp
D:\E\Repos\whisper.cpp\examples\common.h(184,47): warning C4244: 'initializing': conversion from 'float' to 'int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\examples
\wchess\libwchess\wchess-core.vcxproj]
  (compiling source file '../../../../examples/wchess/libwchess/WChess.cpp')

D:\E\Repos\whisper.cpp\examples\common.h(184,37): warning C4244: 'initializing': conversion from 'float' to 'const int16_t', possible loss of data [D:\E\Repos\whisper.cpp\build\ex
amples\wchess\libwchess\wchess-core.vcxproj]
  (compiling source file '../../../../examples/wchess/libwchess/WChess.cpp')

D:\E\Repos\whisper.cpp\examples\wchess\libwchess\WChess.cpp(92,43): warning C4244: 'initializing': conversion from 'double' to 'const size_t', possible loss of data [D:\E\Repos\wh
isper.cpp\build\examples\wchess\libwchess\wchess-core.vcxproj]
D:\E\Repos\whisper.cpp\examples\wchess\libwchess\WChess.cpp(113,28): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [D:\E\Repos\whisper.cp
p\build\examples\wchess\libwchess\wchess-core.vcxproj]
D:\E\Repos\whisper.cpp\examples\wchess\libwchess\WChess.cpp(166,66): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [D:\E\Repos\whisper.cpp\bu
ild\examples\wchess\libwchess\wchess-core.vcxproj]
  Chessboard.cpp
D:\E\Repos\whisper.cpp\examples\wchess\libwchess\Chessboard.cpp(22,28): warning C4267: 'initializing': conversion from 'size_t' to 'const char', possible loss of data [D:\E\Repos\
whisper.cpp\build\examples\wchess\libwchess\wchess-core.vcxproj]
D:\E\Repos\whisper.cpp\examples\wchess\libwchess\Chessboard.cpp(82,15): warning C4267: 'return': conversion from 'size_t' to 'char', possible loss of data [D:\E\Repos\whisper.cpp\
build\examples\wchess\libwchess\wchess-core.vcxproj]
  Generating Code...
  wchess-core.vcxproj -> D:\E\Repos\whisper.cpp\build\examples\wchess\libwchess\Release\wchess-core.lib
  Building Custom Rule D:/E/Repos/whisper.cpp/examples/wchess/wchess.cmd/CMakeLists.txt
  wchess.cmd.cpp
  wchess.vcxproj -> D:\E\Repos\whisper.cpp\build\bin\Release\wchess.exe
@bobqianic bobqianic added the bug Something isn't working label Dec 20, 2023
@rohithbojja
Copy link
Author

everything works fine but talk-llama isnt

@bobqianic bobqianic linked a pull request Dec 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants