remove num_slots from default_generation_settings_for_props

This commit is contained in:
Justin Parker 2024-02-06 14:56:42 -05:00
parent dc327c694e
commit 2ea831b212

View file

@ -432,7 +432,6 @@ struct llama_server_context
} }
default_generation_settings_for_props = get_formated_generation(slots.front()); default_generation_settings_for_props = get_formated_generation(slots.front());
default_generation_settings_for_props["num_slots"] = params.n_parallel;
default_generation_settings_for_props["seed"] = -1; default_generation_settings_for_props["seed"] = -1;
batch = llama_batch_init(n_ctx, 0, params.n_parallel); batch = llama_batch_init(n_ctx, 0, params.n_parallel);