You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens when trying to run both gpt-2 and gpt-j executables. Using cmake -G "MSYS Makefiles" also produces bad executables.
Build trace below.
Edit: using VS 2019 produces a valid executable, so the problem is somewhere in the MSYS2 build.
Any ideas?
$ cmake -G"Unix Makefiles" ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.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:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: C:/msys64/usr/bin/git.exe (found version "2.42.0")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- CMAKE_SYSTEM_PROCESSOR: AMD64
-- x86 detected
-- x86 detected
-- Configuring done (13.1s)
-- Generating done (4.2s)
-- Build files have been written to: C:/msys64/usr/local/src/ggml/build
nunez@Jupiter MINGW64 /usr/local/src/ggml/build
$ make -j4 gpt-2 gpt-j
[ [2 22%2]% ] BuBiulidlidnign gC Co bojbejcetc ts rscr/cC/MCaMkaekFeiFlielse/sg/ggmgl[m. ld3.i3dr%i/]rg /ggmBglum-ilal.ldcli.ooncbg.j c
C.XoXb jo
bject examples/CMakeFiles/common.dir/common.cpp.obj
[ 44%] Linking CXX static library libcommon.a
[ 44%] Built target common
[ 55%] Linking C static library libggml.a
[ 55%] Built target ggml
[ 66%] Building CXX object examples/CMakeFiles/common-ggml.dir/common-ggml.cpp.obj
[ 77%] Linking CXX static library libcommon-ggml.a
[ 77%] Built target common-ggml
[ 88%] Building CXX object examples/gpt-2/CMakeFiles/gpt-2.dir/main.cpp.obj
[100%] Linking CXX executable ../../bin/gpt-2.exe
[100%] Built target gpt-2
[ 44%][ 5B5u%i]l t Butialrtg etta rcgoemtm ogng
ml
[ 77%] Built target common-ggml
[ 88%] Building CXX object examples/gpt-j/CMakeFiles/gpt-j.dir/main.cpp.obj
[100%] Linking CXX executable ../../bin/gpt-j.exe
[100%] Built target gpt-j
The text was updated successfully, but these errors were encountered:
snunez1
changed the title
No output from executable
No output from executable when building with MSYS2
Sep 12, 2023
No output at all from the executable:
This happens when trying to run both
gpt-2
andgpt-j
executables. Usingcmake -G "MSYS Makefiles"
also produces bad executables.Build trace below.
Edit: using VS 2019 produces a valid executable, so the problem is somewhere in the MSYS2 build.
Any ideas?
The text was updated successfully, but these errors were encountered: