mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	llama : add option to override model tensor buffers (#11397)
* llama : add option to override tensor buffers * ggml : fix possible underflow in ggml_nbytes
This commit is contained in:
		@@ -382,6 +382,8 @@ struct llama_model {
 | 
			
		||||
 | 
			
		||||
    ggml_backend_buffer_type_t select_buft(int il) const;
 | 
			
		||||
 | 
			
		||||
    bool has_tensor_overrides() const;
 | 
			
		||||
 | 
			
		||||
    const struct ggml_tensor * get_tensor(const char * name) const;
 | 
			
		||||
 | 
			
		||||
    // TODO: move this to new llm_arch_model_i interface
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user