mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-29 08:41:22 +00:00 
			
		
		
		
	batched-bench : fix pp batch contents (#13492)
This commit is contained in:
		| @@ -123,8 +123,8 @@ int main(int argc, char ** argv) { | |||||||
|  |  | ||||||
|                 common_batch_clear(batch); |                 common_batch_clear(batch); | ||||||
|  |  | ||||||
|                 for (int i = 0; i < pp; ++i) { |                 for (int j = 0; j < (is_pp_shared ? 1 : pl); ++j) { | ||||||
|                     for (int j = 0; j < (is_pp_shared ? 1 : pl); ++j) { |                     for (int i = 0; i < pp; ++i) { | ||||||
|                         common_batch_add(batch, 0, i, { j }, false); |                         common_batch_add(batch, 0, i, { j }, false); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov