mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	ggml : fix typo in example usage ggml_gallocr_new (ggml/984)
This commit is contained in:
		 Daniel Bevenius
					Daniel Bevenius
				
			
				
					committed by
					
						 Georgi Gerganov
						Georgi Gerganov
					
				
			
			
				
	
			
			
			 Georgi Gerganov
						Georgi Gerganov
					
				
			
						parent
						
							ff565769f2
						
					
				
				
					commit
					55951c018d
				
			| @@ -24,7 +24,7 @@ GGML_API void                ggml_tallocr_alloc(struct ggml_tallocr * talloc, st | ||||
| // Graph allocator | ||||
| /* | ||||
|   Example usage: | ||||
|     ggml_gallocr_t galloc = ggml_gallocr_new(ggml_bacckend_cpu_buffer_type()); | ||||
|     ggml_gallocr_t galloc = ggml_gallocr_new(ggml_backend_cpu_buffer_type()); | ||||
|  | ||||
|     // optional: create a worst-case graph and reserve the buffers to avoid reallocations | ||||
|     ggml_gallocr_reserve(galloc, build_graph(max_batch)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user