mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	server : include total "num_slots" in props endpoint (#5349)
This commit is contained in:
		| @@ -432,6 +432,7 @@ 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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Justin Parker
					Justin Parker