1
0
Fork 0
mirror of https://gitlab.com/niansa/libjustlm.git synced 2025-03-06 20:49:17 +01:00
Commit graph

120 commits

Author SHA1 Message Date
niansa
fe850337df Pass context to llama_sample_repetition_penalty 2023-05-21 15:40:49 +02:00
niansa
e69157764b Fixed capitalization of justLM_LLAMA_OLD target 2023-05-21 15:39:27 +02:00
niansa
85eb2047cb Improved llama.cpp version naming scheme 2023-05-20 16:53:03 +02:00
niansa
9a3952597a Another abort fix 2023-05-20 03:09:25 +02:00
niansa
30a0a77cb2 Fixed an abort() 2023-05-20 02:53:32 +02:00
niansa
5feca59be7 Fixed linebreaks and support latest llama.cpp 2023-05-20 02:25:46 +02:00
niansa
c9dac7cb89 Fixed file type detection 2023-05-19 17:45:32 +02:00
niansa
a608135bf7 Removed new llama sampling stub 2023-05-19 16:39:09 +02:00
niansa
ad1e8a3368 Completed mainline llama implementation 2023-05-19 16:35:55 +02:00
niansa
b17cc6ffbd Final fixup step #3 2023-05-19 16:20:51 +02:00
niansa
4974338e41 Fixup step #2 2023-05-19 16:18:26 +02:00
niansa
9bf70e3f5d Renamed llama-mainline to llama_old 2023-05-19 15:57:17 +02:00
niansa
b5e10d1fa3 Use magic to identify llama models 2023-05-19 02:40:57 +02:00
niansa
f279b31d5f Minor improvemens in CMakeFiles and dlhandle 2023-05-18 22:32:06 +02:00
niansa
e489f0f53c Removed now-dead allocation from mpt_model 2023-05-18 22:32:06 +02:00
niansa
8fbbf58622 Removed magic_match for llama.cpp 2023-05-18 17:49:22 +00:00
niansa
88e35fd25d Fixed output directory 2023-05-18 17:48:54 +00:00
niansa
a0ec6f8a11 Fixed . being used instead of ${DIRECTORY} in llama.cpp.cmake 2023-05-17 19:01:08 +00:00
abbb35c6a9 Minor improvements on EOS handling 2023-05-17 10:51:20 +02:00
8e7e310757 Only look up im_end once 2023-05-17 10:17:51 +02:00
f5cf0ecff2 MPT works now! 2023-05-17 09:33:16 +02:00
4ec47699f0 Repeat penalty fixes 2023-05-17 08:44:25 +02:00
niansa
a77d25d01d Declare MPT as non-functional in readme 2023-05-16 22:53:29 +00:00
niansa
ddd130b2d9 Updated MPT implementation 2023-05-16 23:49:43 +02:00
niansa
a98784aa53 Minor MPT improvements 2023-05-16 23:35:42 +02:00
niansa
4c4ef9e441 Merge branch 'sharedobjects' into 'master'
Load implemenations as shared objects

Shouldn't change the API at all!

See merge request niansa/libjustlm!3
2023-05-16 19:10:06 +00:00
niansa
60fe6b9c55 Load implemenations as shared objects 2023-05-16 19:10:05 +00:00
5b01daa764 Properly implemented MPT 2023-05-15 14:46:19 +02:00
6d2910b7b9 Initial MPT support (buggy) 2023-05-15 12:55:49 +02:00
f3a9092ca5 Moved gptj/utils.* to g4a-common.* 2023-05-15 09:44:04 +02:00
36a6fa6290 Warn about use of exceptions with cosched properly 2023-05-15 09:40:41 +02:00
81c8f39732 Added missing LM_COTHROW define 2023-05-15 09:38:49 +02:00
niansa
59a6a8b1d1 Check for errors during llama evaluation properly 2023-05-11 18:46:41 +02:00
niansa
087fe1396b Fixed all other known compilation issues 2023-05-10 21:50:37 +02:00
niansa
b61c751d33 Reverted last commit. but fixed invalid ssize_t typedef on msvc 2023-05-10 16:39:44 +02:00
niansa
bdb87534e8 Eliminate use of ssize_t 2023-05-10 16:37:43 +02:00
niansa
0f8ef2fd32 Removed if_error because it wasn't needed 2023-05-10 12:18:42 +02:00
niansa
c9d261701d (Hopefully) fixed msvc compilation 2023-05-10 12:14:49 +02:00
niansa
5c0e7c64c1 Fixed cmake force option 2023-05-09 22:35:44 +02:00
niansa
b8b7766d1b Removed function that isn't needed anymore 2023-05-09 22:29:38 +02:00
niansa
6968f3459a Made last commit more beautiful 2023-05-09 22:25:04 +02:00
niansa
a43c5e64ce Fixed compilation error with exceptions enabled 2023-05-09 22:23:34 +02:00
niansa
5e666d83db Actually implemented error return values 2023-05-09 22:20:01 +02:00
niansa
0d5cba0530 Added LM_NOEXCEPT cmake option 2023-05-09 21:33:49 +02:00
niansa
05fa44e1e0 Removed some assertions in GPT-J 2023-05-07 12:43:23 +02:00
niansa
e4832f1077 Added GPT-J serialization/deserialization 2023-05-07 12:02:04 +02:00
niansa
ca33a27e05 Fixed a warning 2023-05-06 01:14:24 +02:00
niansa
7076f863d4 Check for task termination 2023-05-05 19:02:28 +02:00
96076d4e9b Updated for latest cosched 2023-05-05 10:35:41 +02:00
niansa
9bda8106b9 Added missing co_await 2023-05-05 00:28:04 +02:00