fixed finding model libs

This commit is contained in:
Richard Guo
2023-06-02 10:57:21 -04:00
committed by AT
parent ab56364da8
commit c54c42e3fb
5 changed files with 44 additions and 21 deletions

View File

@@ -162,3 +162,13 @@ int32_t llmodel_threadCount(llmodel_model model)
LLModelWrapper *wrapper = reinterpret_cast<LLModelWrapper*>(model);
return wrapper->llModel->threadCount();
}
void llmodel_set_implementation_search_path(const char *path)
{
LLModel::setImplementationsSearchPath(path);
}
const char *llmodel_get_implementation_search_path()
{
return LLModel::implementationsSearchPath().c_str();
}