mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	llava : zero-initialize clip_ctx structure fields with aggregate initialization 908)
Co-authored-by: Stanisław Szymczyk <sszymczy@gmail.com>
This commit is contained in:
		| @@ -1112,7 +1112,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) { | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     clip_ctx * new_clip = new clip_ctx; | ||||
|     clip_ctx * new_clip = new clip_ctx{}; | ||||
|  | ||||
|     // update projector type | ||||
|     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fairydreaming
					fairydreaming