-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Closed as not planned
Closed as not planned
Copy link
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedNeeds help from the communityNeeds help from the communitywindowsIssues specific to WindowsIssues specific to Windows
Description
First of all thremendous work Georgi! I managed to run your project with a small adjustments on:
- Intel(R) Core(TM) i7-10700T CPU @ 2.00GHz / 16GB as x64 bit app, it takes around 5GB of RAM.
Here is the list of those small fixes:
- main.cpp: added ggml_time_init() at start of main (division by zero otherwise)
- quantize.cpp: same as above at start of main (division by zero otherwise)
- ggml.c: #define QK 32 moved to dedicated define.h (should not be in .c)
- ggml.c: replace fopen with fopen_s (VS secure error message)
- ggml.c: below changes due to 'expression must be a pointer or complete object type':
- 2x
(uint8_t*)(y
to:((uint8_t*)y
- 4x
(const uint8_t*)(x
to((const uint8_t*)x
- 2x
(const uint8_t*)(y
to((const uint8_t*)y
- quantize.cpp: removed qk in ggml_quantize_q4_0 & ggml_quantize_q4_1 calls
- utils.cpp: use of QK value instead of parameter value (VS raise error for:
uint8_t pp[qk / 2];
)
It would be really great if you could incorporate those small fixes.
codehappy-net, Kuinox, Hubix9, effortprogrammer, KarimJedda and 24 morebennywwg, lxe, neverlink, z11h, mldsqc and 1 moreiKlsR, jumang4423, xanth, HackTuah, nerazim42 and 1 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedNeeds help from the communityNeeds help from the communitywindowsIssues specific to WindowsIssues specific to Windows