dm4 
							
						 
					 
					
						
						
							
						
						c43af9276b 
					 
					
						
						
							
							tts: add speaker file support ( #12048 )  
						
						 
						
						... 
						
						
						
						* tts: add speaker file support
Signed-off-by: dm4 <sunrisedm4@gmail.com >
* tts: handle outetts-0.3
* tts : add new line in error message
---------
Signed-off-by: dm4 <sunrisedm4@gmail.com >
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com > 
						
						
							
  b4806
 
						
					 
					
						2025-03-03 15:09:29 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Diego Devesa 
							
						 
					 
					
						
						
							
						
						d5c63cd7f9 
					 
					
						
						
							
							test-backend-ops : add option -p to filter by op params ( #12155 )  
						
						 
						
						
						
						
							
  b4805
 
						
					 
					
						2025-03-03 14:00:46 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ag2s20150909 
							
						 
					 
					
						
						
							
						
						9660ffef58 
					 
					
						
						
							
							ggml : fix kleidiai build ( #12159 )  
						
						 
						
						... 
						
						
						
						The libggml API has changed, but this has not been updated. 
						
						
							
  b4804
 
						
					 
					
						2025-03-03 13:54:08 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Curtin 
							
						 
					 
					
						
						
							
						
						c950a1f692 
					 
					
						
						
							
							Adding UTF-8 support to llama.cpp ( #12111 )  
						
						 
						
						... 
						
						
						
						For emojis, non-alpha characters, etc.
Signed-off-by: Eric Curtin <ecurtin@redhat.com > 
						
						
							
  b4803
 
						
					 
					
						2025-03-03 12:44:56 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Xuan-Son Nguyen 
							
						 
					 
					
						
						
							
						
						7b69003af7 
					 
					
						
						
							
							webui : add ?m=... and ?q=... params ( #12148 )  
						
						 
						
						... 
						
						
						
						* webui : add ?m=... and ?q=... params
* also clear prefilledMessage variable
* better approach
* fix comment
* test: bump timeout on GITHUB_ACTION 
						
						
							
						
					 
					
						2025-03-03 11:42:45 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Akarshan Biswas 
							
						 
					 
					
						
						
							
						
						ece9745bb8 
					 
					
						
						
							
							SYCL: Move CPY kernels to a separate file and add few missing kernels ( #12133 )  
						
						 
						
						... 
						
						
						
						* SYCL: refactor and move cpy kernels to a separate file
* Add few missing cpy kernels
* refactor and add debug logs 
						
						
							
  b4801
 
						
					 
					
						2025-03-03 11:07:22 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Diego Devesa 
							
						 
					 
					
						
						
							
						
						cc473cac7c 
					 
					
						
						
							
							ggml-backend : keep paths in native string type when possible ( #12144 )  
						
						 
						
						
						
						
							
  b4800
 
						
					 
					
						2025-03-02 22:11:00 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sigbjørn Skjæret 
							
						 
					 
					
						
						
							
						
						14dec0c2f2 
					 
					
						
						
							
							main: use jinja chat template system prompt by default ( #12118 )  
						
						 
						
						... 
						
						
						
						* Use jinja chat template system prompt by default
* faster conditional order
* remove nested ternary
---------
Co-authored-by: Xuan Son Nguyen <son@huggingface.co > 
						
						
							
  b4799
 
						
					 
					
						2025-03-02 14:53:48 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sigbjørn Skjæret 
							
						 
					 
					
						
						
							
						
						1782cdfed6 
					 
					
						
						
							
							main: update outdated system prompt message (followup to  #12131 ) ( #12132 )  
						
						 
						
						... 
						
						
						
						* Update outdated message
* wording
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com >
---------
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com > 
						
						
							
  b4798
 
						
					 
					
						2025-03-01 15:22:27 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sigbjørn Skjæret 
							
						 
					 
					
						
						
							
						
						45a8e76745 
					 
					
						
						
							
							common : add --system-prompt parameter, replace behavior of -p in conversation mode ( #12131 )  
						
						 
						
						... 
						
						
						
						* Add --system-prompt parameter
* use user defined system prompt
* clarify
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com >
* add warning
* clarify
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com >
---------
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com > 
						
						
							
  b4797
 
						
					 
					
						2025-03-01 13:56:45 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Erik Scholz 
							
						 
					 
					
						
						
							
						
						80c41ddd8f 
					 
					
						
						
							
							CUDA: compress mode option and default to size ( #12029 )  
						
						 
						
						... 
						
						
						
						cuda 12.8 added the option to specify stronger compression for binaries, so we now default to "size". 
						
						
							
  b4796
 
						
					 
					
						2025-03-01 12:57:22 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Vivian 
							
						 
					 
					
						
						
							
						
						2cc4a5e44a 
					 
					
						
						
							
							webui : minor typo fixes ( #12116 )  
						
						 
						
						... 
						
						
						
						* fix typos and improve menu text clarity
* rename variable trimedValue to trimmedValue
* add updated index.html.gz
* rebuild
---------
Co-authored-by: Xuan Son Nguyen <son@huggingface.co > 
						
						
							
						
					 
					
						2025-03-01 11:15:09 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Xuan-Son Nguyen 
							
						 
					 
					
						
						
							
						
						06c2b1561d 
					 
					
						
						
							
							convert : fix Norway problem when parsing YAML ( #12114 )  
						
						 
						
						... 
						
						
						
						* convert : fix Norway problem when parsing YAML
* Update gguf-py/gguf/metadata.py
* add newline at correct place 
						
						
							
						
					 
					
						2025-02-28 17:44:46 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								William Tambellini 
							
						 
					 
					
						
						
							
						
						70680c48e5 
					 
					
						
						
							
							ggml : upgrade init_tensor API to return a ggml_status ( #11854 )  
						
						 
						
						... 
						
						
						
						* Upgrade init_tensor API to return a ggml_status
To prepare for an 'abort-free' ggml
(ggml not to abort on OOMs but return a OOM status),
as agreeed with Diego in the ggml repo,
upgrade the init_tensor() and view_init() APIs
to return a ggml_status.
* misc fixes
---------
Co-authored-by: slaren <slarengh@gmail.com > 
						
						
							
  b4793
 
						
					 
					
						2025-02-28 14:41:47 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Xuan-Son Nguyen 
							
						 
					 
					
						
						
							
						
						c43a3e7996 
					 
					
						
						
							
							llama : add Phi-4-mini support (supersede  #12099 ) ( #12108 )  
						
						 
						
						... 
						
						
						
						* Added Phi-4-mini-instruct support
* Update regex per ngxson
* Change the vocab base to Xenova/gpt-4o
* fix conversion update script
* no need to check longrope
* minor style fix
* fix python style
---------
Co-authored-by: Nicholas Sparks <nisparks@microsoft.com > 
						
						
							
  b4792
 
						
					 
					
						2025-02-28 12:44:11 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Brooks 
							
						 
					 
					
						
						
							
						
						84d5f4bc19 
					 
					
						
						
							
							Update granite vision docs for 3.2 model ( #12105 )  
						
						 
						
						... 
						
						
						
						Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com > 
						
						
							
						
					 
					
						2025-02-28 11:31:47 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rémy O 
							
						 
					 
					
						
						
							
						
						438a83926a 
					 
					
						
						
							
							vulkan: add specific MMV kernels for IQ2 and IQ3 quants + optimizations ( #11595 )  
						
						 
						
						... 
						
						
						
						* vulkan: implement specialized MMV kernels for IQ2 quantizations
* vulkan: add MMV kernels for IQ3 quants
* vulkan: Increase MMV batch size and unroll IQ LUT setup
* vulkan: fix init_iq_shmem for WG sizes larger than tables
* vulkan: common batch size for all I-quants 
						
						
							
  b4790
 
						
					 
					
						2025-02-28 09:42:52 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Johannes Gäßler 
							
						 
					 
					
						
						
							
						
						9c42b1718c 
					 
					
						
						
							
							CUDA: fix logic for V100 + GGML_CUDA_FORCE_MMQ ( #12098 )  
						
						 
						
						
						
						
							
  b4789
 
						
					 
					
						2025-02-28 09:26:43 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Prashant Vithule 
							
						 
					 
					
						
						
							
						
						05e6f5aad0 
					 
					
						
						
							
							ggml: aarch64: implement SVE kernels for q2_k_q8_k vector dot ( #12064 )  
						
						 
						
						... 
						
						
						
						* Added SVE Support for Q2_K Quantized Models
* Use 4-space indentation in the switch cases
* removed comments lines
* Remove the loop Retain the curly bracess for better understanding of code
* Remove the comment like added for q3_k_q8_k kernel
---------
Co-authored-by: vithulep <p.m.vithule1517@gmail.com > 
						
						
							
  b4788
 
						
					 
					
						2025-02-28 09:36:12 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								hipudding 
							
						 
					 
					
						
						
							
						
						673cfef9aa 
					 
					
						
						
							
							CANN: Fix build error with GCC 13 ( #11990 )  
						
						 
						
						... 
						
						
						
						Remove unused header file that causes compilation failure on ARM
platform with GCC 13. 
						
						
							
						
					 
					
						2025-02-28 15:23:47 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eve 
							
						 
					 
					
						
						
							
						
						fbeda9002d 
					 
					
						
						
							
							vulkan: matmul dequantization improvements ( #12015 )  
						
						 
						
						... 
						
						
						
						* faster dequant for old quants
* dont use unpack for iq4_nl
* vec2 unpack for q8 
						
						
							
  b4786
 
						
					 
					
						2025-02-28 08:20:08 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniele 
							
						 
					 
					
						
						
							
						
						581650b7ca 
					 
					
						
						
							
							vulkan: improve im2col ( #11826 )  
						
						 
						
						... 
						
						
						
						* vulkan: improve im2col performance 
						
						
							
  b4785
 
						
					 
					
						2025-02-28 07:52:51 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Vladimir Vuksanovic 
							
						 
					 
					
						
						
							
						
						b95c8af37c 
					 
					
						
						
							
							cmake: Fix ggml backend dependencies and installation ( #11818 )  
						
						 
						
						... 
						
						
						
						* Fix dependencies between ggml and backends
ggml backends link only to ggml-base and ggml links to all backends.
* Fix installation of ggml backends
Set up GNUInstallDirs before setting the installation directory of ggml backends 
						
						
							
  b4784
 
						
					 
					
						2025-02-27 09:42:48 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ting Lou 
							
						 
					 
					
						
						
							
						
						a800ae46da 
					 
					
						
						
							
							llava : add struct for FFI bindgen ( #12079 )  
						
						 
						
						... 
						
						
						
						* add struct for FFI bindgen
* Apply suggestions from code review
---------
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com > 
						
						
							
  b4783
 
						
					 
					
						2025-02-26 15:26:52 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sigbjørn Skjæret 
							
						 
					 
					
						
						
							
						
						69050a11be 
					 
					
						
						
							
							Refactor gguf scripts to improve metadata handling ( #11909 )  
						
						 
						
						... 
						
						
						
						* Refactor gguf scripts to improve metadata handling
Added contents method to ReaderField class
Added endianess property to GGUFReader class
* update scripts
* fix import
* remove unused import
* attempt to work around flake and pyright errors
* second attempt
* give up, ignore type
* bump version
* apply newbyteorder fixes 
						
						
							
  gguf-v0.16.0
 
						
					 
					
						2025-02-26 08:04:48 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Aleksei Nikiforov 
							
						 
					 
					
						
						
							
						
						3567ee3a94 
					 
					
						
						
							
							gguf-py: enable reading non-native endian files ( #12081 )  
						
						 
						
						... 
						
						
						
						Currently self.byte_order is never used.
Actually use it to byteswap read data to
allow reading big endian files on little endian systems
and vice versa.
Now it's possible to convert little-endian model
into a big-endian model and back
on a little-endian system. 
						
						
							
						
					 
					
						2025-02-26 11:39:27 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kante Yin 
							
						 
					 
					
						
						
							
						
						53e4db1012 
					 
					
						
						
							
							readme : update infra list ( #9096 )  
						
						 
						
						... 
						
						
						
						Signed-off-by: kerthcet <kerthcet@gmail.com > 
						
						
							
						
					 
					
						2025-02-26 09:49:36 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Olivier Chafik 
							
						 
					 
					
						
						
							
						
						d7cfe1ffe0 
					 
					
						
						
							
							docs: add docs/function-calling.md to lighten server/README.md's plight ( #12069 )  
						
						 
						
						
						
						
							
						
					 
					
						2025-02-25 18:52:56 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jeff Bolz 
							
						 
					 
					
						
						
							
						
						a82c9e7c23 
					 
					
						
						
							
							vulkan: fix assertion when qy_needs_dequant ( #12068 )  
						
						 
						
						... 
						
						
						
						Looks like a copy/paste bug from qx_needs_dequant. 
						
						
							
  b4778
 
						
					 
					
						2025-02-25 16:30:21 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rhjdvsgsgks 
							
						 
					 
					
						
						
							
						
						401af80b54 
					 
					
						
						
							
							server: handle echo=false on /v1/completions ( #12060 )  
						
						 
						
						
						
						
							
  b4777
 
						
					 
					
						2025-02-25 12:52:52 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Judd 
							
						 
					 
					
						
						
							
						
						c132239bfb 
					 
					
						
						
							
							add OP sigmoid ( #12056 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Judd <foldl@boxvest.com > 
						
						
							
  b4776
 
						
					 
					
						2025-02-25 12:32:20 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Molly Sophia 
							
						 
					 
					
						
						
							
						
						393fca629e 
					 
					
						
						
							
							ggml-cpu: Fix build with sve ( #12059 )  
						
						 
						
						... 
						
						
						
						* ggml-cpu: Fix build with sve
Signed-off-by: Molly Sophia <mollysophia379@gmail.com >
* ggml-cpu: Remove unused variable in sve q3_k vec dot
Signed-off-by: Molly Sophia <mollysophia379@gmail.com >
---------
Signed-off-by: Molly Sophia <mollysophia379@gmail.com > 
						
						
							
  b4775
 
						
					 
					
						2025-02-25 19:28:22 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rémy O 
							
						 
					 
					
						
						
							
						
						61d4f39dfe 
					 
					
						
						
							
							vulkan: implement more backpropagation operators ( #11914 )  
						
						 
						
						... 
						
						
						
						* vulkan: implement GGML_OP_ROPE_BACK
* vulkan: implement GGML_OP_RMS_NORM_BACK
* vulkan: implement GGML_OP_SILU_BACK
* vulkan: implement GGML_OP_SOFTMAX_BACK 
						
						
							
  b4774
 
						
					 
					
						2025-02-25 12:04:45 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Olivier Chafik 
							
						 
					 
					
						
						
							
						
						0b52745649 
					 
					
						
						
							
							server: support add_generation_prompt query param ( #12062 )  
						
						 
						
						
						
						
							
  b4773
 
						
					 
					
						2025-02-25 10:40:22 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Brooks 
							
						 
					 
					
						
						
							
						
						4d1051a40f 
					 
					
						
						
							
							Add Doc for Converting Granite Vision -> GGUF ( #12006 )  
						
						 
						
						... 
						
						
						
						* Add example docs for granite vision
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com > 
						
						
							
						
					 
					
						2025-02-25 10:46:05 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Vitali Lovich 
							
						 
					 
					
						
						
							
						
						3e9a2860e9 
					 
					
						
						
							
							llama : expose llama_model_n_head_kv in the API ( #11997 )  
						
						 
						
						... 
						
						
						
						It's useful to be able to have this from the library layer as it's a key
parameter of the model (e.g. to figure out how much KV cache memory is
needed). 
						
						
							
  b4771
 
						
					 
					
						2025-02-25 11:29:33 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gian-Carlo Pascutto 
							
						 
					 
					
						
						
							
						
						58d07a8043 
					 
					
						
						
							
							metal : copy kernels for quant to F32/F16 conversions ( #12017 )  
						
						 
						
						... 
						
						
						
						metal: use dequantize_q templates
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com > 
						
						
							
  b4770
 
						
					 
					
						2025-02-25 11:27:58 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lhez 
							
						 
					 
					
						
						
							
						
						34a846b584 
					 
					
						
						
							
							opencl: fix for small models ( #11950 )  
						
						 
						
						... 
						
						
						
						* opencl: fix small shape gemv, remove unused extensions
* opencl: fix `transpose_16`, `dump_tensor`, enforce subgroup size
* opencl: fix for token length < 4
* opencl: use wave size of 64 for all Adreno GPUs
---------
Co-authored-by: Shawn Gu <quic_shawngu@quicinc.com >
Co-authored-by: Skyler Szot <quic_sszot@quicinc.com > 
						
						
							
  b4769
 
						
					 
					
						2025-02-24 14:47:07 -07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Brooks 
							
						 
					 
					
						
						
							
						
						7a2c913e66 
					 
					
						
						
							
							llava : Add Granite Vision Support ( #11794 )  
						
						 
						
						... 
						
						
						
						* Add super wip scripts for multimodal granite gguf
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Add example for converting mmgranite to gguf
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* remove hardcoded path
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Add vision feature layer to gguf params
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Clean up llava surgery and remove name substitution hacks
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Add transformers llava next tensor name mapping
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Make siglip / openclip mutuall exclusive
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Fix projector linear substitution
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Fix linear 2 substitution index
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Increase max flattened gridpoints to 64
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Fix hardcoded concat for multiple feature layers
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Pull vision feature layers out of gguf keys
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* fix num gridpoints and use all layers
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Avoid dropping last image encoder layer in llava models
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Use 10 for max number of patches
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Standardize vision feature layers
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Cleanup logs
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Update comment for vision feature layer init
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Update notes for alternative to legacy llm conversion script
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Fix notes rendering
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Add v prefix to vision feature layer log
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Use current defaults for feature layer
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Use constant for max gridpoints / feat layers, style fixes
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* clarify non-negative feature layers
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Remove CLIP_API from func signature
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* USE MAX_IMAGE_FEATURE_LAYERS const in layer calc
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Clarify feature layers are non negative ints and not uint
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Fix condition for reading feature layers
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* pop last llava layer when feature layers are unset
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Fix unset vision layer 0
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Update examples/llava/clip.cpp
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com >
* Reenable assertion for out of bounds get_rows
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Use std vector for gridpoints and feature layers
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Caculate max feature layer at load time
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Include base patch for granite vision allocation
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Fix trailing whitespace
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Add max num patches = 10 back for minicpmv
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Use unordered set to store feature layers
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com >
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Use max feature layer for postnorm
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
* Apply suggestions from code review
---------
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com >
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com > 
						
						
							
  b4768
 
						
					 
					
						2025-02-24 17:09:51 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Neo Zhang Jianyu 
							
						 
					 
					
						
						
							
						
						08d5986290 
					 
					
						
						
							
							[SYCL] Optimize mul_mat for Q4_0 on Intel GPU ( #12035 )  
						
						 
						
						... 
						
						
						
						* opt performance by reorder for Intel GPU
* detect hw type and save opt feature, and print opt feature
* correct name
* support optimize graph once when compute graph, record the opt status in tensor->extra, make CI passed
* add env variable GGML_SYCL_DISABLE_OPT for debug
* use syclex::architecture replace the custom hw define, update the guide for GGML_SYCL_DISABLE_OPT
* add performance data
* mv getrows functions to separeted files
* fix global variables
---------
Co-authored-by: arthw <14088817+arthw@users.noreply.github.com > 
						
						
							
  b4767
 
						
					 
					
						2025-02-24 22:33:23 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Aleksei Nikiforov 
							
						 
					 
					
						
						
							
						
						651adf4b66 
					 
					
						
						
							
							gguf_convert_endian.py: implement byteswapping for q4_k and q6_k ( #11349 )  
						
						 
						
						
						
						
							
						
					 
					
						2025-02-24 11:27:01 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Akarshan Biswas 
							
						 
					 
					
						
						
							
						
						8303e8b0fb 
					 
					
						
						
							
							SYCL: Fix GGML_SYCL_DEBUG macro ( #11995 )  
						
						 
						
						
						
						
							
  b4765
 
						
					 
					
						2025-02-24 10:18:25 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Florent BENOIT 
							
						 
					 
					
						
						
							
						
						7ad0779f5d 
					 
					
						
						
							
							run: allow to customize prompt by env var LLAMA_PROMPT_PREFIX ( #12041 )  
						
						 
						
						... 
						
						
						
						Signed-off-by: Florent Benoit <fbenoit@redhat.com > 
						
						
							
  b4764
 
						
					 
					
						2025-02-23 17:15:51 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Curtin 
							
						 
					 
					
						
						
							
						
						f777a73e18 
					 
					
						
						
							
							Some llama-run cleanups ( #11973 )  
						
						 
						
						... 
						
						
						
						Use consolidated open function call from File class. Change
read_all to to_string(). Remove exclusive locking, the intent for
that lock is to avoid multiple processes writing to the same file,
it's not an issue for readers, although we may want to consider
adding a shared lock. Remove passing nullptr as reference,
references are never supposed to be null. clang-format the code
for consistent styling.
Signed-off-by: Eric Curtin <ecurtin@redhat.com > 
						
						
							
  b4763
 
						
					 
					
						2025-02-23 13:14:32 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Aaron Teo 
							
						 
					 
					
						
						
							
						
						af7747c95a 
					 
					
						
						
							
							ggml-cpu: Support s390x SIMD Instruction Set ( #12019 )  
						
						 
						
						... 
						
						
						
						* ggml: add s390x ARCH_FLAGS for compilation
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: add SIMD for s390x using vector intrinsics
SIMD is activated for:
* ggml_vec_dot_f32
* ggml_vec_dot_f16
* ggml_vec_mad_f32
* ggml_vec_mad_f16
* ggml_vec_mad_f32_unroll
* ggml_vec_scale_f32
* ggml_vec_scale_f16
SIMD is NOT activated for:
* ggml_vec_dot_f16_unroll (pending bugfix)
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix missing escape character in GGML_F32x4_REDUCE
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: add temporary patch for GGML_F32_ARR and GGML_F16_ARR
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix s390x GGML_F32x4_REDUCE
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: full SIMD activation for F32,F16 s390x
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: add option to disable s390x VXE/VXE2
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: change vecintrin.h include to ggml-cpu-impl
* add __VXE__ and __VXE2__ macros
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* cmake: add s390x target detection for VX/VXE/VXE2
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: move s390x vector intrinsics to ggml-cpu-impl.h
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x Q8_0 SIMD
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: correct documentation for Q8_0
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x reduce code complexity Q8_0
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x bugfix typo Q8_0
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activated for Q4_1
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x inline vec_reve
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activation for Q4_0
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: add VXE backend feature
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: remove test.py
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activation for quantize_row_q8_0
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activation for quantize_row_q8_1
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activation for iq4_xs
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: bugfix iq4_xs
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activation for iq4_nl
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: add float, double, and long vector data type
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: clean up iq4_xs SIMD
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix improper use of restrict keyword
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: update warning message for ggml_vec_tbl
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: untested implementation of ggml_vec_dot_iq2_xxs_q8_K
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: update ggml_vec_dot_q4_1_q8_1 to use typedefs
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: switch to restrict for iq4_nl
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: slight dot product speed improvement for q4_1_q8_1
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activation for q6_K
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: add missing `_t` to ggml_int8x16x4_t
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix missing `_t` for ggml_vec_xl_s8x4
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix more missing `_t`
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: add unroll and prefetch to Q8_0
increase of 3.86% for prompt processing and 32.22% for token generation
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: patch Q8_0 to use proper vector sizes
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: optimise Q8_0 dot prod compute kernel further
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: add unroll and prefetch to Q4_1
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: refactor Q6_K variable naming for readability
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix Q6_K typos
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activation for Q5_K
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix wrong char*x16_t naming
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: Q5_K y0 wrong signness
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix Q5_K invalid uchar type
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix Q5_K invalid uchar type
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: s390x SIMD activation for Q4_K
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: fix Q4_K invalid vector intrinsics
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: simplify ggml_padd_s16 compute kernel
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: correct ggml-cpu vxe wording
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: change ggml_aligned_malloc alignment to 256
256 is the cache line size for s390x platforms
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: resolve pr merge via cherry-pick 225bbbf 
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml : fix LoongArch compile error with 128-bit SIMD (#11701 )
* ggml: resolve pr merge via cherry-pick 4571953
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
* ggml: cmake remove fork when determining s390x machine type
thank you @ericcurtin
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
---------
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com >
Co-authored-by: Jinyang He <hejinyang@loongson.cn >
Co-authored-by: junchao-zhao <68935141+junchao-loongson@users.noreply.github.com > 
						
						
							
  b4762
 
						
					 
					
						2025-02-22 21:39:24 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Johannes Gäßler 
							
						 
					 
					
						
						
							
						
						a28e0d5eb1 
					 
					
						
						
							
							CUDA: app option to compile without FlashAttention ( #12025 )  
						
						 
						
						
						
						
							
  b4761
 
						
					 
					
						2025-02-22 20:44:34 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ting Lou 
							
						 
					 
					
						
						
							
						
						36c258ee92 
					 
					
						
						
							
							llava: build clip image from pixels ( #11999 )  
						
						 
						
						... 
						
						
						
						* llava: export function `clip_build_img_from_pixels` to build image from pixels decoded by other libraries instead of stb_image.h for better performance
* Apply suggestions from code review
---------
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com > 
						
						
							
  b4760
 
						
					 
					
						2025-02-22 15:28:28 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Georgi Gerganov 
							
						 
					 
					
						
						
							
						
						f3e64859ed 
					 
					
						
						
							
							ci : fix arm upload artifacts ( #12024 )  
						
						 
						
						... 
						
						
						
						* ci : fix arm upload artifacts
* cont : fix archive name to use matrix 
						
						
							
  b4759
 
						
					 
					
						2025-02-22 15:03:00 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Johannes Gäßler 
							
						 
					 
					
						
						
							
						
						5fa07c2f93 
					 
					
						
						
							
							CUDA: optimize FA for GQA + large batches ( #12014 )  
						
						 
						
						
						
						
							
						
					 
					
						2025-02-22 12:20:17 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rohanjames1997 
							
						 
					 
					
						
						
							
						
						335eb04a91 
					 
					
						
						
							
							ci : Build on Github-hosted arm64 runners ( #12009 )  
						
						 
						
						
						
						
							
						
					 
					
						2025-02-22 11:48:57 +01:00