mirror of
https://gitlab.com/niansa/libjustlm.git
synced 2025-03-06 20:49:17 +01:00
Moved gptj/utils.* to g4a-common.*
This commit is contained in:
parent
36a6fa6290
commit
f3a9092ca5
7 changed files with 7 additions and 6 deletions
|
@ -18,7 +18,8 @@ add_subdirectory(llama.cpp)
|
|||
add_library(libjustlm STATIC
|
||||
include/justlm.hpp justlm.cpp
|
||||
justlm_llama.hpp
|
||||
justlm_gptj.hpp gptj/gptj.cpp gptj/gptj.hpp gptj/utils.cpp gptj/utils.hpp
|
||||
g4a-common.cpp g4a-common.hpp
|
||||
justlm_gptj.hpp gptj/gptj.cpp gptj/gptj.hpp
|
||||
include/justlm_pool.hpp justlm_pool.cpp
|
||||
)
|
||||
target_link_libraries(libjustlm PRIVATE llama)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "utils.hpp"
|
||||
#include "g4a-common.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <regex>
|
|
@ -1,6 +1,6 @@
|
|||
#include "gptj.hpp"
|
||||
|
||||
#include "utils.hpp"
|
||||
#include "../g4a-common.hpp"
|
||||
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <map>
|
||||
#include <ggml.h>
|
||||
|
||||
#include "utils.hpp"
|
||||
#include "../g4a-common.hpp"
|
||||
|
||||
|
||||
// default hparams (GPT-J 6B)
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
#ifdef LM_COSCHED
|
||||
#ifndef LM_NOEXCEPT
|
||||
#warning Exceptions shouldn't be enabled in combination with CoSched. Any exceptions thrown will lead to a std::terminate() call
|
||||
#warning Exceptions should not be enabled in combination with CoSched. Any exceptions thrown will lead to a std::terminate() call
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <random>
|
||||
#include <cstring>
|
||||
#include "gptj/gptj.hpp"
|
||||
#include "gptj/utils.hpp"
|
||||
#include "g4a-common.hpp"
|
||||
|
||||
|
||||
namespace LM {
|
||||
|
|
Loading…
Add table
Reference in a new issue