mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 09:15:18 +02:00
updated kobold lite, work on rwkv, added exe path to model load params, added launch parameter
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
#include "expose.h"
|
||||
#include "model_adapter.cpp"
|
||||
|
||||
std::string executable_path = "";
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
@@ -46,6 +48,7 @@ extern "C"
|
||||
deviceenv = "KCPP_CLBLAST_DEVICES="+std::to_string(devices);
|
||||
putenv((char*)platformenv.c_str());
|
||||
putenv((char*)deviceenv.c_str());
|
||||
executable_path = inputs.executable_path;
|
||||
|
||||
if(file_format==FileFormat::GPTJ_1 || file_format==FileFormat::GPTJ_2 || file_format==FileFormat::GPTJ_3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user