-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
SELECT llm_sampler_init_temp(1.0);
SELECT llm_sampler_init_top_k(64);
SELECT llm_sampler_init_top_p(0.95, 1);
SELECT llm_sampler_init_min_p(0.0, 1);
SELECT llm_sampler_init_dist(-1);
SELECT llm_sampler_init_penalties(1024, 1.1, 0.0, 0.0);
If you try to load one after the other, you get a combination of case where the connection crashes. I think that this is related to the dist seed number (llm_sampler_init_dist();). When not called after these llm_sampler_init_XX connection crashes.
Play with llm_sampler_init_xxx:
SELECT llm_model_load('/home/sqlitecloud/repositories/sqlite-rag/models/unsloth/gemma-3-270m-it-GGUF/gemma-3-270m-it-Q8_0.gguf');
SELECT llm_context_create('context_size=32000');
SELECT llm_chat_create();
SELECT llm_sampler_init_temp(1.0);
SELECT llm_sampler_init_top_k(64);
SELECT llm_sampler_init_top_p(0.95, 1);
SELECT llm_sampler_init_min_p(0.0, 1);
-- SELECT llm_sampler_init_dist(-1);
SELECT llm_sampler_init_penalties(1024, 1.1, 0.0, 0.0);
SELECT llm_chat_respond('my question is..');
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working