Skip to content

Commit 2d6b51b

Browse files
committed
fix: tests after rebase
1 parent 1e945ed commit 2d6b51b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/t-integration.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ TEST_CASE("inference") {
8787
}
8888

8989
TEST_CASE("session states") {
90-
ac::llama::Model model(Model_117m_q6_k, {}, {});
90+
ac::llama::Model::Params iParams = {};
91+
auto lmodel = ac::llama::ModelRegistry::getInstance().loadModel(Model_117m_q6_k, {}, iParams);
92+
ac::llama::Model model(lmodel, iParams);
9193
CHECK(!!model.lmodel());
9294

9395
auto& params = model.params();
@@ -137,7 +139,9 @@ TEST_CASE("session states") {
137139
}
138140

139141
TEST_CASE("control_vector") {
140-
ac::llama::Model model(Model_117m_q6_k, {}, {});
142+
ac::llama::Model::Params iParams = {};
143+
auto lmodel = ac::llama::ModelRegistry::getInstance().loadModel(Model_117m_q6_k, {}, iParams);
144+
ac::llama::Model model(lmodel, iParams);
141145
CHECK(!!model.lmodel());
142146

143147
auto& params = model.params();

0 commit comments

Comments
 (0)