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

Unable to compile main cmake & windev, precompiled not working either #1549

Closed
1 task done
denysadams opened this issue May 21, 2023 · 2 comments
Closed
1 task done

Comments

@denysadams
Copy link

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • [ X] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
  • [ X] I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • [ X] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Unable to build llama.cpp
Have tried Cmake
Have tried w64devkit
Have tried the precompile versions avx1 and avx2 back to 3de84b2

main.exe compiles however it is printing out c code in the terminal
with respect to the issues with cmake found a similar issue that in another post
antimatter15#106
however the solution did not work
Put #define restrict __restrict at the top of ggml.c and #undef restrict at the bottom.
im making an assumption that its similar and cannot find something

Cmake compile issue

C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(1016,26): warning C4244: '=': conversion from 'float' to 'int8_t', p
ossible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(1206,36): warning C4244: '=': conversion from 'float' to 'int8_t', p
ossible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(1207,36): warning C4244: '=': conversion from 'float' to 'int8_t', p
ossible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(2166,10): warning C4244: '=': conversion from 'ggml_float' to 'float
', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(3214,20): warning C4244: '=': conversion from 'ggml_float' to 'float
', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(3377,10): warning C4244: '=': conversion from 'ggml_float' to 'float
', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(3727,39): warning C4244: 'return': conversion from 'const int64_t' t
o 'int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4277,66): warning C4244: 'function': conversion from 'int32_t' to 'c
onst float', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4239,33): warning C4244: 'initializing': conversion from 'int64_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4301,66): warning C4244: 'function': conversion from 'float' to 'con
st int8_t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4308,68): warning C4244: 'function': conversion from 'float' to 'con
st int16_t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4315,68): warning C4244: 'function': conversion from 'float' to 'con
st int32_t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4322,72): warning C4244: 'function': conversion from 'float' to 'con
st int32_t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4291,33): warning C4244: 'initializing': conversion from 'int64_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4361,24): warning C4244: 'return': conversion from 'float' to 'int32
_t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4366,49): warning C4244: 'return': conversion from 'float' to 'int32
_t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4374,12): warning C4244: 'return': conversion from 'float' to 'int32
_t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4397,54): warning C4244: 'function': conversion from 'int32_t' to 'f
loat', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4402,48): warning C4244: '=': conversion from 'int32_t' to 'float',
possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4426,51): warning C4244: 'return': conversion from 'int32_t' to 'flo
at', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4452,49): warning C4244: '=': conversion from 'float' to 'int8_t', p
ossible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4457,50): warning C4244: '=': conversion from 'float' to 'int16_t',
possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4462,50): warning C4244: '=': conversion from 'float' to 'int32_t',
possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4655,32): warning C4267: '=': conversion from 'size_t' to 'int32_t',
 possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4656,32): warning C4267: '=': conversion from 'size_t' to 'int32_t',
 possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4657,32): warning C4267: '=': conversion from 'size_t' to 'int32_t',
 possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(4658,32): warning C4267: '=': conversion from 'size_t' to 'int32_t',
 possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5468,34): warning C4267: '=': conversion from 'size_t' to 'int32_t',
 possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5469,34): warning C4267: '=': conversion from 'size_t' to 'int32_t',
 possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5470,34): warning C4267: '=': conversion from 'size_t' to 'int32_t',
 possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5471,34): warning C4267: '=': conversion from 'size_t' to 'int32_t',
 possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5924,22): warning C4244: '=': conversion from 'int64_t' to 'int', po
ssible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5925,22): warning C4244: '=': conversion from 'int64_t' to 'int', po
ssible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5926,22): warning C4244: '=': conversion from 'int64_t' to 'int', po
ssible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5927,22): warning C4244: '=': conversion from 'int64_t' to 'int', po
ssible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5929,22): warning C4267: '=': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5930,22): warning C4267: '=': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5931,22): warning C4267: '=': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(5932,22): warning C4267: '=': conversion from 'size_t' to 'int', pos
sible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(6591,20): warning C4244: 'initializing': conversion from 'int64_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(6723,68): warning C4244: 'function': conversion from 'const int64_t'
 to 'int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(6643,20): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7006,68): warning C4244: 'function': conversion from 'const int64_t'
 to 'int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(6932,20): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7263,30): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7251,30): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7252,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7253,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7275,30): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7276,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7277,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7341,30): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7342,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7343,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7411,30): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7412,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7413,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7513,43): warning C4244: 'function': conversion from 'const int64_t'
 to 'int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7515,26): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7517,40): warning C4244: 'function': conversion from 'const int64_t'
 to 'int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7493,27): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7494,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7495,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7615,27): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7602,26): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7603,41): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7604,41): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7672,26): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7673,41): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7674,41): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7733,26): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7734,41): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7735,41): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7815,43): warning C4244: 'function': conversion from 'const int64_t'
 to 'int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7817,27): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7819,40): warning C4244: 'function': conversion from 'const int64_t'
 to 'int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7805,26): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7806,41): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7807,41): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7901,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7936,26): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7937,43): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(7938,43): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8032,30): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8020,30): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8021,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8022,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8044,30): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8045,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8046,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8150,30): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8249,30): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8237,30): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8238,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8239,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8261,30): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8262,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8263,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8307,31): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8349,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8392,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8451,34): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8458,32): warning C4244: '=': conversion from 'ggml_float' to 'float
', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8521,34): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8589,34): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8666,50): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8708,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8750,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8792,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8834,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8876,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8921,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(8982,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9045,28): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9146,36): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9132,33): warning C4244: 'initializing': conversion from 'ggml_float
' to 'float', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9143,38): warning C4244: 'initializing': conversion from 'ggml_float
' to 'float', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9220,36): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9209,33): warning C4244: 'initializing': conversion from 'ggml_float
' to 'float', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9404,36): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9406,36): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9407,36): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9408,36): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9622,30): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9490,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9491,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9492,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9497,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9498,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9499,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9501,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9502,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9503,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9504,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9595,29): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9606,27): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9607,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9608,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9614,29): warning C4244: 'initializing': conversion from 'int64_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9841,30): warning C4244: 'function': conversion from 'const int64_t'
 to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9667,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9668,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9669,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9670,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9672,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9673,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9674,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9675,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9677,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9678,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9679,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9680,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9811,29): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9824,27): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9825,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9826,45): warning C4244: 'initializing': conversion from 'const int6
4_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10006,121): warning C4244: 'function': conversion from 'const int64_
t' to 'int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10055,23): warning C4244: 'function': conversion from 'const int64_t
' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9881,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9882,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9883,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9884,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9886,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9887,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9888,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9889,30): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9891,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9892,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9893,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(9894,29): warning C4267: 'initializing': conversion from 'size_t' to
 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10022,29): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10036,27): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10037,45): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10038,45): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10124,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10204,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10219,32): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10220,32): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10221,32): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10222,32): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10238,26): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10239,43): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10240,43): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10347,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10348,20): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10376,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10377,20): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10404,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10405,20): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10487,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10488,20): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10520,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10521,20): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10591,30): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10592,30): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10593,30): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10594,30): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10595,28): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10596,28): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10597,28): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10598,28): warning C4244: 'initializing': conversion from 'int64_t'
to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10605,30): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10607,30): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10608,30): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10609,28): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10610,28): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10611,28): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10612,28): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10687,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10688,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10801,36): warning C4244: 'function': conversion from 'ggml_float' t
o 'const float', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10758,28): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10882,38): warning C4244: 'function': conversion from 'int' to 'floa
t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10884,65): warning C4244: 'function': conversion from 'int' to 'floa
t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10849,29): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10850,29): warning C4244: 'initializing': conversion from 'const int
64_t' to 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10857,29): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10858,29): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10859,29): warning C4267: 'initializing': conversion from 'size_t' t
o 'const int', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10946,38): warning C4244: 'function': conversion from 'int' to 'floa
t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10948,65): warning C4244: 'function': conversion from 'int' to 'floa
t', possible loss of data [C:\Users\Denys\Downloads\ggml\llama.cpp\build\ggml.vcxproj]
C:\Users\Denys\Downloads\ggml\llama.cpp\ggml.c(10913,29): warning C4244: 'initializing': conversion from 'const int

w64dev issue

  I llama.cpp build info:
I UNAME_S:  Windows_NT
I UNAME_P:  unknown
I UNAME_M:  x86_64
I CFLAGS:   -I.              -O3 -std=c11   -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -march=native -mtune=native
I CXXFLAGS: -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native
I LDFLAGS:
I CC:       cc (GCC) 13.1.0
I CXX:      g++ (GCC) 13.1.0

cc  -I.              -O3 -std=c11   -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -march=native -mtune=native   -c ggml.c -o ggml.o
g++ -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native -c llama.cpp -o llama.o
g++ -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native -c examples/common.cpp -o common.o
examples/common.cpp:20: warning: "NOMINMAX" redefined
   20 | #define NOMINMAX
      |
In file included from C:/Users/Denys/Downloads/ggml/w64devkit/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/x86_64-w64-mingw32/bits/c++config.h:679,
                 from C:/Users/Denys/Downloads/ggml/w64devkit/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/requires_hosted.h:31,
                 from C:/Users/Denys/Downloads/ggml/w64devkit/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:38,
                 from examples/common.h:7,
                 from examples/common.cpp:1:
C:/Users/Denys/Downloads/ggml/w64devkit/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/x86_64-w64-mingw32/bits/os_defines.h:45: note: this is the location of the previous definition
   45 | #define NOMINMAX 1
      |
examples/common.cpp: In function 'int estimateWidth(char32_t)':
examples/common.cpp:654:28: warning: unused parameter 'codepoint' [-Wunused-parameter]
  654 | int estimateWidth(char32_t codepoint) {
      |                   ~~~~~~~~~^~~~~~~~~
g++ -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native examples/main/main.cpp ggml.o llama.o common.o -o main
examples/main/main.cpp:26: warning: "NOMINMAX" redefined
   26 | #define NOMINMAX
      |
In file included from C:/Users/Denys/Downloads/ggml/w64devkit/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/x86_64-w64-mingw32/bits/c++config.h:679,
                 from C:/Users/Denys/Downloads/ggml/w64devkit/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/requires_hosted.h:31,
                 from C:/Users/Denys/Downloads/ggml/w64devkit/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:38,
                 from ./examples/common.h:7,
                 from examples/main/main.cpp:6:
C:/Users/Denys/Downloads/ggml/w64devkit/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/x86_64-w64-mingw32/bits/os_defines.h:45: note: this is the location of the previous definition
   45 | #define NOMINMAX 1
      |

====  Run ./main -h for help.  ====

g++ -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native examples/quantize/quantize.cpp ggml.o llama.o -o quantize
g++ -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native examples/quantize-stats/quantize-stats.cpp ggml.o llama.o -o quantize-stats
g++ -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native examples/perplexity/perplexity.cpp ggml.o llama.o common.o -o perplexity
g++ -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native examples/embedding/embedding.cpp ggml.o llama.o common.o -o embedding
g++ -I. -I./examples -O3 -std=c++11 -fPIC -DNDEBUG -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -march=native -mtune=native pocs/vdot/vdot.cpp ggml.o -o vdot

Current output from main

system_info: n_threads = 30 / 32 | AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 1 | VSX = 0 |
main: interactive mode on.
sampling: repeat_last_n = 64, repeat_penalty = 1.100000, presence_penalty = 0.000000, frequency_penalty = 0.000000, top_k = 40, tfs_z = 1.000000, top_p = 0.950000, typical_p = 1.000000, temp = 0.800000, mirostat = 0, mirostat_lr = 0.100000, mirostat_ent = 5.000000
generate: n_ctx = 512, n_batch = 512, n_predict = -1, n_keep = 0


== Running in interactive mode. ==
 - Press Ctrl+C to interject at any time.
 - Press Return to return control to LLaMa.
 - To return control without starting a new line, end your input with '/'.
 - If you want to submit another line, end your input with '\'.

 using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Nop.Core.Domain.Stores;
using Nop.Plugin.Payments.Moneybookers.Tests.Data;

Running in a Windows 11 22h2 Vmware environment
20 CPUs x Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
511.91 GB

Python
C:/Users/Denys/Downloads/ggml/llama.cpp # python --version
Python 3.10.11
C:/Users/Denys/Downloads/ggml/llama.cpp # pip list
Package Version


accelerate 0.18.0
aiofiles 23.1.0
aiohttp 3.8.4
aiosignal 1.3.1
altair 4.2.2
anyio 3.6.2
async-timeout 4.0.2
attrs 22.2.0
bitsandbytes 0.37.2
certifi 2022.12.7
charset-normalizer 3.1.0
click 8.1.3
colorama 0.4.6
contourpy 1.0.7
cycler 0.11.0
datasets 2.11.0
dill 0.3.6
entrypoints 0.4
fastapi 0.95.0
ffmpy 0.3.0
filelock 3.10.7
flexgen 0.1.7
fonttools 4.39.3
frozenlist 1.3.3
fsspec 2023.3.0
gradio 3.24.0
gradio_client 0.0.5
h11 0.14.0
httpcore 0.16.3
httpx 0.23.3
huggingface-hub 0.13.3
idna 3.4
Jinja2 3.1.2
jsonschema 4.17.3
kiwisolver 1.4.4
linkify-it-py 2.0.0
llamacpp 0.1.11
Markdown 3.4.3
markdown-it-py 2.2.0
MarkupSafe 2.1.2
matplotlib 3.7.1
mdit-py-plugins 0.3.3
mdurl 0.1.2
mpmath 1.3.0
multidict 6.0.4
multiprocess 0.70.14
networkx 3.0
numpy 1.24.2
orjson 3.8.9
packaging 23.0
pandas 1.5.3
peft 0.2.0
Pillow 9.4.0
pip 23.1.2
psutil 5.9.4
PuLP 2.7.0
pyarrow 11.0.0
pydantic 1.10.7
pydub 0.25.1
pyparsing 3.0.9
pyrsistent 0.19.3
python-dateutil 2.8.2
python-multipart 0.0.6
pytz 2023.3
PyYAML 6.0
regex 2023.3.23
requests 2.28.2
responses 0.18.0
rfc3986 1.5.0
rwkv 0.7.1
safetensors 0.3.0
semantic-version 2.10.0
sentencepiece 0.1.97
six 1.16.0
sniffio 1.3.0
starlette 0.26.1
sympy 1.11.1
tokenizers 0.13.2
toolz 0.12.0
torch 2.0.0
torchaudio 2.0.1+cu117
torchvision 0.15.1+cu117
tqdm 4.65.0
transformers 4.28.0.dev0
typing_extensions 4.5.0
uc-micro-py 1.0.1
urllib3 1.26.15
uvicorn 0.21.1
websockets 10.4
xxhash 3.2.0
yarl 1.8.2

@SlyEcho
Copy link
Collaborator

SlyEcho commented May 22, 2023

What is the issue? These are just warnings from the compiler. Not errors. It seems that main.exe is also working and generating text.

@denysadams
Copy link
Author

denysadams commented May 23, 2023

Hi @SlyEcho, thanks for pointing this out. looks like you are right i thought it was just pumping out C code randomly it seems like an issue with maybe the model where it just wants to talk about programming only

for anyone that sees the same type of behaviour, be sure to check its not the model spitting out random issues.
confiremd it was a model issue by testing another model.
good way to also check is checking cpu utilisation during inference and how much memory is being utilised

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants