xingyuan li 
								
							 
						 
						
							
							
							
							
								
							
							
								c87853233b 
								
							 
						 
						
							
							
								
								[LLM] Add windows vnni binary build step ( #8518 )  
							
							 
							
							... 
							
							
							
							* add windows vnni build step
* update build info
* add download command 
							
						 
						
							2023-07-14 17:24:39 +09:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yishuo Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								6320bf201e 
								
							 
						 
						
							
							
								
								LLM: fix memory access violation ( #8519 )  
							
							 
							
							
							
						 
						
							2023-07-13 17:08:08 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									xingyuan li 
								
							 
						 
						
							
							
							
							
								
							
							
								60c2c0c3dc 
								
							 
						 
						
							
							
								
								Bug fix for merged pr  #8503  ( #8516 )  
							
							 
							
							
							
						 
						
							2023-07-13 17:26:30 +09:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								349bcb4bae 
								
							 
						 
						
							
							
								
								[LLM] Add more transformers int4 example (Dolly v1) ( #8517 )  
							
							 
							
							... 
							
							
							
							* Initial commit for dolly v1
* Add example for Dolly v1 and other small fix
* Small output updates
* Small fix
* fix based on comments 
							
						 
						
							2023-07-13 16:13:47 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Xin Qiu 
								
							 
						 
						
							
							
							
							
								
							
							
								90e3d86bce 
								
							 
						 
						
							
							
								
								rename low bit type name ( #8512 )  
							
							 
							
							... 
							
							
							
							* change qx_0 to sym_intx
* update
* fix typo
* update
* fix type
* fix style
* add python doc
* meet code review
* fix style 
							
						 
						
							2023-07-13 15:53:31 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									xingyuan li 
								
							 
						 
						
							
							
							
							
								
							
							
								4f152b4e3a 
								
							 
						 
						
							
							
								
								[LLM] Merge the llm.cpp build and the pypi release ( #8503 )  
							
							 
							
							... 
							
							
							
							* checkout llm.cpp to build new binary
* use artifact to get latest built binary files
* rename quantize
* modify all release workflow 
							
						 
						
							2023-07-13 16:34:24 +09:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								bcde8ec83e 
								
							 
						 
						
							
							
								
								[LLM] Small fix to MPT Example ( #8513 )  
							
							 
							
							
							
						 
						
							2023-07-13 14:33:21 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								ba0da17b40 
								
							 
						 
						
							
							
								
								LLM: Support AutoModelForSeq2SeqLM transformer API ( #8449 )  
							
							 
							
							... 
							
							
							
							* LLM: support AutoModelForSeq2SeqLM transformer API 
							
						 
						
							2023-07-13 13:33:51 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yishuo Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								86b5938075 
								
							 
						 
						
							
							
								
								LLM: fix llm pybinding ( #8509 )  
							
							 
							
							
							
						 
						
							2023-07-13 10:27:08 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								fcc352eee3 
								
							 
						 
						
							
							
								
								[LLM] Add more transformers_int4 examples (MPT) ( #8498 )  
							
							 
							
							... 
							
							
							
							* Update transformers_int4 readme, and initial commit for mpt
* Update example for mpt
* Small fix and recover transformers_int4_pipeline_readme.md for now
* Update based on comments
* Small fix
* Small fix
* Update based on comments 
							
						 
						
							2023-07-13 09:41:16 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								23f6a4c21f 
								
							 
						 
						
							
							
								
								LLM: Optimize transformer int4 loading ( #8499 )  
							
							 
							
							... 
							
							
							
							* LLM: Optimize transformer int4 loading 
							
						 
						
							2023-07-12 15:25:42 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yishuo Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								dd3f953288 
								
							 
						 
						
							
							
								
								Support vnni check ( #8497 )  
							
							 
							
							
							
						 
						
							2023-07-12 10:11:15 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Xin Qiu 
								
							 
						 
						
							
							
							
							
								
							
							
								cd7a980ec4 
								
							 
						 
						
							
							
								
								Transformer int4 add qtype, support q4_1 q5_0 q5_1 q8_0 ( #8481 )  
							
							 
							
							... 
							
							
							
							* quant in Q4 5 8
* meet code review
* update readme
* style
* update
* fix error
* fix error
* update
* fix style
* update
* Update README.md
* Add load_in_low_bit 
							
						 
						
							2023-07-12 08:23:08 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yishuo Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								db39d0a6b3 
								
							 
						 
						
							
							
								
								LLM: disable mmap by default for better performance ( #8467 )  
							
							 
							
							
							
						 
						
							2023-07-11 09:26:26 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								52c6b057d6 
								
							 
						 
						
							
							
								
								Initial LLM Transformers example refactor ( #8491 )  
							
							 
							
							
							
						 
						
							2023-07-10 17:53:57 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Junwei Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								254a7aa3c4 
								
							 
						 
						
							
							
								
								bigdl-llm: add voice-assistant example that are migrated from langchain use-case document ( #8468 )  
							
							 
							
							
							
						 
						
							2023-07-10 16:51:45 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yishuo Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								98bac815e4 
								
							 
						 
						
							
							
								
								specify numpy version ( #8489 )  
							
							 
							
							
							
						 
						
							2023-07-10 16:50:16 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								81d655cda9 
								
							 
						 
						
							
							
								
								LLM: transformer int4 save and load ( #8462 )  
							
							 
							
							... 
							
							
							
							* LLM: transformer int4 save and load 
							
						 
						
							2023-07-10 16:34:41 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								d489775d2c 
								
							 
						 
						
							
							
								
								LLM: fix inconsistency between output token number and max_new_token ( #8479 )  
							
							 
							
							
							
						 
						
							2023-07-07 17:31:05 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jason Dai 
								
							 
						 
						
							
							
							
							
								
							
							
								bcc1eae322 
								
							 
						 
						
							
							
								
								Llm readme update ( #8472 )  
							
							 
							
							
							
						 
						
							2023-07-06 20:04:04 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								2f77d485d8 
								
							 
						 
						
							
							
								
								Llm: Initial support of langchain transformer int4 API ( #8459 )  
							
							 
							
							... 
							
							
							
							* first commit of transformer int4 and pipeline
* basic examples
temp save for embeddings
support embeddings and docqa exaple
* fix based on comment
* small fix 
							
						 
						
							2023-07-06 17:50:05 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								14626fe05b 
								
							 
						 
						
							
							
								
								LLM: refactor transformers and langchain class name ( #8470 )  
							
							 
							
							
							
						 
						
							2023-07-06 17:16:44 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								70bc8ea8ae 
								
							 
						 
						
							
							
								
								LLM: update langchain and cpp-python style API examples ( #8456 )  
							
							 
							
							
							
						 
						
							2023-07-06 14:36:42 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								64b38e1dc8 
								
							 
						 
						
							
							
								
								llm: benchmark tool for transformers int4 (separate 1st token and rest) ( #8460 )  
							
							 
							
							... 
							
							
							
							* add benchmark utils
* fix
* fix bug and add readme
* hidden latency data 
							
						 
						
							2023-07-06 09:49:52 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								77808fa124 
								
							 
						 
						
							
							
								
								LLM: fix n_batch in starcoder pybinding ( #8461 )  
							
							 
							
							
							
						 
						
							2023-07-05 17:06:50 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								f2bb469847 
								
							 
						 
						
							
							
								
								[WIP] LLm llm-cli chat mode ( #8440 )  
							
							 
							
							... 
							
							
							
							* fix timezone
* temp
* Update linux interactive mode
* modify init text for interactive mode
* meet comments
* update
* win script
* meet comments 
							
						 
						
							2023-07-05 14:04:17 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								1970bcf14e 
								
							 
						 
						
							
							
								
								LLM: add readme for transformer examples ( #8444 )  
							
							 
							
							
							
						 
						
							2023-07-04 17:25:58 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								e54e52b438 
								
							 
						 
						
							
							
								
								LLM: fix n_batch in bloom pybinding ( #8454 )  
							
							 
							
							
							
						 
						
							2023-07-04 15:10:32 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								372c775cb4 
								
							 
						 
						
							
							
								
								[LLM] Change default runner for LLM Linux tests to the ones with AVX512 ( #8448 )  
							
							 
							
							... 
							
							
							
							* Basic change for AVX512 runner
* Remove conda channel and action rename
* Small fix
* Small fix and reduce peak convert disk space
* Define n_threads based on runner status
* Small thread num fix
* Define thread_num for cli
* test
* Add self-hosted label and other small fix 
							
						 
						
							2023-07-04 14:53:03 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jason Dai 
								
							 
						 
						
							
							
							
							
								
							
							
								edf23a95be 
								
							 
						 
						
							
							
								
								Update llm readme ( #8446 )  
							
							 
							
							
							
						 
						
							2023-07-03 16:58:44 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jason Dai 
								
							 
						 
						
							
							
							
							
								
							
							
								a38f927fc0 
								
							 
						 
						
							
							
								
								Update README.md ( #8439 )  
							
							 
							
							
							
						 
						
							2023-07-03 14:59:55 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								c956a46c40 
								
							 
						 
						
							
							
								
								LLM: first fix example/transformers ( #8438 )  
							
							 
							
							
							
						 
						
							2023-07-03 14:13:33 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jason Dai 
								
							 
						 
						
							
							
							
							
								
							
							
								e5b384aaa2 
								
							 
						 
						
							
							
								
								Update README.md ( #8437 )  
							
							 
							
							
							
						 
						
							2023-07-03 10:54:29 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yang Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								449aea7ffc 
								
							 
						 
						
							
							
								
								Optimize transformer int4 loading memory ( #8400 )  
							
							 
							
							... 
							
							
							
							* Optimize transformer int4 loading memory
* move cast to convert
* default settting low_cpu_mem_usage 
							
						 
						
							2023-06-30 20:12:12 -07:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jason Dai 
								
							 
						 
						
							
							
							
							
								
							
							
								2da21163f8 
								
							 
						 
						
							
							
								
								Update llm README.md ( #8431 )  
							
							 
							
							
							
						 
						
							2023-06-30 19:41:17 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Junwei Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								2fd751de7a 
								
							 
						 
						
							
							
								
								LLM: add a dev tool for getting glibc/glibcxx requirement ( #8399 )  
							
							 
							
							... 
							
							
							
							* add a dev tool
* pep8 change 
							
						 
						
							2023-06-30 11:09:50 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								146662bc0d 
								
							 
						 
						
							
							
								
								LLM: fix langchain windows failure ( #8417 )  
							
							 
							
							
							
						 
						
							2023-06-30 09:59:10 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								6251ad8934 
								
							 
						 
						
							
							
								
								[LLM]Windows unittest ( #8356 )  
							
							 
							
							... 
							
							
							
							* win-unittest
* update
* update
* try llama 7b
* delete llama
* update
* add red-3b
* only test red-3b
* revert
* add langchain
* add dependency
* delete langchain 
							
						 
						
							2023-06-29 14:03:12 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								783aea3309 
								
							 
						 
						
							
							
								
								[LLM] LLM windows daily test ( #8328 )  
							
							 
							
							... 
							
							
							
							* llm-win-init
* test action
* test
* add types
* update for schtasks
* update pytests
* update
* update
* update doc
* use stable ckpt from ftp instead of the converted model
* download using batch -> manually
* add starcoder test 
							
						 
						
							2023-06-28 15:02:11 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								ca5a4b6e3a 
								
							 
						 
						
							
							
								
								LLM: update bloom and starcoder usage in transformers_int4_pipeline ( #8406 )  
							
							 
							
							
							
						 
						
							2023-06-28 13:15:50 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								cc76ec809a 
								
							 
						 
						
							
							
								
								check out dir ( #8395 )  
							
							 
							
							
							
						 
						
							2023-06-27 21:28:39 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								4be784a49d 
								
							 
						 
						
							
							
								
								LLM: add UT for starcoder (convert, inference)  update examples and readme ( #8379 )  
							
							 
							
							... 
							
							
							
							* first commit to add path
* update example and readme
* update path
* fix
* update based on comment 
							
						 
						
							2023-06-27 12:12:11 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Xin Qiu 
								
							 
						 
						
							
							
							
							
								
							
							
								e68d631c0a 
								
							 
						 
						
							
							
								
								gptq2ggml: support loading safetensors model. ( #8401 )  
							
							 
							
							... 
							
							
							
							* update convert gptq to ggml
* update convert gptq to ggml
* gptq to ggml
* update script
* meet code review
* meet code review 
							
						 
						
							2023-06-27 11:19:33 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								b9eae23c79 
								
							 
						 
						
							
							
								
								LLM: add chatglm-6b example for transformer_int4 usage ( #8392 )  
							
							 
							
							... 
							
							
							
							* add example for chatglm-6b
* fix 
							
						 
						
							2023-06-26 13:46:43 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								19e19efb4c 
								
							 
						 
						
							
							
								
								LLM: raise warning instead of error when use unsupported parameters ( #8382 )  
							
							 
							
							
							
						 
						
							2023-06-26 13:23:55 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Shengsheng Huang 
								
							 
						 
						
							
							
							
							
								
							
							
								c113ecb929 
								
							 
						 
						
							
							
								
								[LLM] langchain bloom, UT's, default parameters ( #8357 )  
							
							 
							
							... 
							
							
							
							* update langchain default parameters to align w/ api
* add ut's for llm and embeddings
* update inference test script to install langchain deps
* update tests workflows
---------
Co-authored-by: leonardozcm <changmin.zhao@intel.com> 
							
						 
						
							2023-06-25 17:38:00 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Shengsheng Huang 
								
							 
						 
						
							
							
							
							
								
							
							
								446175cc05 
								
							 
						 
						
							
							
								
								transformer api refactor ( #8389 )  
							
							 
							
							... 
							
							
							
							* transformer api refactor
* fix style
* add huggingface tokenizer usage in example and make ggml tokenzizer as option 1 and huggingface tokenizer as option 2
* fix style 
							
						 
						
							2023-06-25 17:15:33 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yang Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								ce6d06eb0a 
								
							 
						 
						
							
							
								
								Support directly quantizing huggingface transformers into 4bit format ( #8371 )  
							
							 
							
							... 
							
							
							
							* Support directly quantizing huggingface transformers into 4bit format
* refine example
* license
* fix bias
* address comments
* move to ggml transformers
* fix example
* fix style
* fix style
* address comments
* rename
* change API
* fix style
* add lm head to conversion
* address comments 
							
						 
						
							2023-06-25 16:35:06 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								03c5fb71a8 
								
							 
						 
						
							
							
								
								LLM: fix ModuleNotFoundError when use llm-cli ( #8378 )  
							
							 
							
							
							
						 
						
							2023-06-21 15:03:14 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								7296453f07 
								
							 
						 
						
							
							
								
								LLM: support starcoder in llm-cli ( #8377 )  
							
							 
							
							... 
							
							
							
							* support starcoder in cli
* small fix 
							
						 
						
							2023-06-21 14:38:30 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								50af0251e4 
								
							 
						 
						
							
							
								
								LLM: First commit of StarCoder pybinding ( #8354 )  
							
							 
							
							... 
							
							
							
							* first commit of starcoder
* update setup.py and fix style
* add starcoder_cpp, fix style
* fix style
* support windows binary
* update pybinding
* fix style, add avx2 binary
* small fix
* fix style 
							
						 
						
							2023-06-21 13:23:06 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								a7d66b7342 
								
							 
						 
						
							
							
								
								[LLM] README revise for llm_convert ( #8374 )  
							
							 
							
							... 
							
							
							
							* Small readme revise for llm_convert
* Small fix 
							
						 
						
							2023-06-21 10:04:34 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								7ef1c890eb 
								
							 
						 
						
							
							
								
								[LLM] Supports GPTQ convert in transfomers-like API, and supports folder outfile for llm-convert ( #8366 )  
							
							 
							
							... 
							
							
							
							* Add docstrings to llm_convert
* Small docstrings fix
* Unify outfile type to be a folder path for either gptq or pth model_format
* Supports gptq model input for from_pretrained
* Fix example and readme
* Small fix
* Python style fix
* Bug fix in llm_convert
* Python style check
* Fix based on comments
* Small fix 
							
						 
						
							2023-06-20 17:42:38 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								4ec46afa4f 
								
							 
						 
						
							
							
								
								LLM: Align converting GPTQ model API with transformer style ( #8365 )  
							
							 
							
							... 
							
							
							
							* LLM: Align GPTQ API with transformer style 
							
						 
						
							2023-06-20 14:27:41 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								f99d348954 
								
							 
						 
						
							
							
								
								LLM: convert and quantize support for StarCoder ( #8359 )  
							
							 
							
							... 
							
							
							
							* basic support for starcoder
* update from_pretrained
* fix bug and fix style 
							
						 
						
							2023-06-20 13:39:35 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								5f4f399ca7 
								
							 
						 
						
							
							
								
								LLM: fix bugs during supporting bloom in langchain ( #8362 )  
							
							 
							
							
							
						 
						
							2023-06-20 13:30:37 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								30ac9a70f5 
								
							 
						 
						
							
							
								
								LLM: fix expected 2 blank lines ( #8360 )  
							
							 
							
							
							
						 
						
							2023-06-19 18:10:02 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								c256cd136b 
								
							 
						 
						
							
							
								
								LLM: Fix ggml return value ( #8358 )  
							
							 
							
							... 
							
							
							
							* ggml return original value 
							
						 
						
							2023-06-19 17:02:56 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								d4027d7164 
								
							 
						 
						
							
							
								
								fix typos in llm_convert ( #8355 )  
							
							 
							
							
							
						 
						
							2023-06-19 16:17:21 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Zhao Changmin 
								
							 
						 
						
							
							
							
							
								
							
							
								4d177ca0a1 
								
							 
						 
						
							
							
								
								LLM: Merge convert pth/gptq model script into one shell script ( #8348 )  
							
							 
							
							... 
							
							
							
							* convert model in one
* model type
* license
* readme and pep8
* ut path
* rename
* readme
* fix docs
* without lines 
							
						 
						
							2023-06-19 11:50:05 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								ab1a833990 
								
							 
						 
						
							
							
								
								LLM: add basic uts related to inference ( #8346 )  
							
							 
							
							
							
						 
						
							2023-06-19 10:25:51 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								1aa33d35d5 
								
							 
						 
						
							
							
								
								[LLM] Refactor LLM Linux tests ( #8349 )  
							
							 
							
							... 
							
							
							
							* Small name fix
* Add convert nightly tests, and for other llm tests, use stable ckpt
* Small fix and ftp fix
* Small fix
* Small fix 
							
						 
						
							2023-06-16 15:22:48 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								9daf543e2f 
								
							 
						 
						
							
							
								
								LLM: Update convert of gpenox to sync with new libgptneox.so ( #8345 )  
							
							 
							
							
							
						 
						
							2023-06-15 16:28:50 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								9fda7e34f1 
								
							 
						 
						
							
							
								
								LLM: fix version control ( #8342 )  
							
							 
							
							
							
						 
						
							2023-06-15 15:18:50 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								f7f4e65788 
								
							 
						 
						
							
							
								
								LLM: support int8 and tmp_path for from_pretrained ( #8338 )  
							
							 
							
							
							
						 
						
							2023-06-15 14:48:21 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								b30aa49c4e 
								
							 
						 
						
							
							
								
								[LLM] Add Actions for downloading & converting models ( #8320 )  
							
							 
							
							... 
							
							
							
							* First push to downloading and converting llm models for testing (Gondolin runner, avx2 for now)
* Change yml file name 
							
						 
						
							2023-06-15 13:43:47 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								8840dadd86 
								
							 
						 
						
							
							
								
								LLM: binary file version control on source forge ( #8329 )  
							
							 
							
							... 
							
							
							
							* support version control for llm based on date
* update action 
							
						 
						
							2023-06-15 09:53:27 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								5094970175 
								
							 
						 
						
							
							
								
								LLM: update convert_model to support int8 ( #8326 )  
							
							 
							
							... 
							
							
							
							* update example and convert_model for int8
* reset example
* fix style 
							
						 
						
							2023-06-15 09:25:07 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								f64e703083 
								
							 
						 
						
							
							
								
								LLM: first add _tokenize, detokenize and _generate for bloom pybinding ( #8316 )  
							
							 
							
							
							
						 
						
							2023-06-14 17:29:57 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Xin Qiu 
								
							 
						 
						
							
							
							
							
								
							
							
								5576679a92 
								
							 
						 
						
							
							
								
								add convert-gptq-to-ggml.py to bigdl-llama ( #8298 )  
							
							 
							
							
							
						 
						
							2023-06-14 14:51:51 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								a6c4b733cb 
								
							 
						 
						
							
							
								
								LLM: Update subprocess to show error message ( #8323 )  
							
							 
							
							... 
							
							
							
							* update subprocess
* fix style 
							
						 
						
							2023-06-13 16:43:37 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Shengsheng Huang 
								
							 
						 
						
							
							
							
							
								
							
							
								02c583144c 
								
							 
						 
						
							
							
								
								[LLM] langchain integrations and examples ( #8256 )  
							
							 
							
							... 
							
							
							
							* langchain intergrations and examples
* add licences and rename
* add licences
* fix license issues and change backbone to model_family
* update examples to use model_family param
* fix linting
* fix code style
* exclude langchain integration from stylecheck
* update langchain examples and update integrations based on latets changes
* update simple llama-cpp-python style API example
* remove bloom in README
* change default n_threads to 2 and remove redundant code
---------
Co-authored-by: leonardozcm <changmin.zhao@intel.com> 
							
						 
						
							2023-06-12 19:22:07 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								f83c48280f 
								
							 
						 
						
							
							
								
								[LLM] Unify transformers-like API example for 3 different model families ( #8315 )  
							
							 
							
							... 
							
							
							
							* Refactor bigdl-llm transformers-like API to unify them
* Small fix 
							
						 
						
							2023-06-12 17:20:30 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									xingyuan li 
								
							 
						 
						
							
							
							
							
								
							
							
								c4028d507c 
								
							 
						 
						
							
							
								
								[LLM] Add unified default value for cli programs ( #8310 )  
							
							 
							
							... 
							
							
							
							* add unified default value for threads and n_predict 
							
						 
						
							2023-06-12 16:30:27 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Junwei Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								f41995051b 
								
							 
						 
						
							
							
								
								LLM: add new readme as first version document ( #8296 )  
							
							 
							
							... 
							
							
							
							* add new readme
* revice
* revice
* change readme
* add python req 
							
						 
						
							2023-06-09 15:52:02 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								c619315131 
								
							 
						 
						
							
							
								
								[LLM] Add examples for gptneox, llama, and bloom family model using transformers-like API ( #8286 )  
							
							 
							
							... 
							
							
							
							* First push of bigdl-llm example for gptneox model family
* Add some args and other small updates
* Small updates
* Add example for llama family models
* Small fix
* Small fix
* Update for batch_decode api and change default model for llama example
* Small fix
* Small fix
* Small fix
* Small model family name fix and add example for bloom
* Small fix
* Small default prompt fix
* Small fix
* Change default prompt
* Add sample output for inference
* Hide example inference time 
							
						 
						
							2023-06-09 15:48:22 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								5d5da7b2c7 
								
							 
						 
						
							
							
								
								LLM: optimize namespace and remove unused import logic ( #8302 )  
							
							 
							
							
							
						 
						
							2023-06-09 15:17:49 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								5d0e130605 
								
							 
						 
						
							
							
								
								LLM: fix convert path error of gptneox and bloom on windows ( #8304 )  
							
							 
							
							
							
						 
						
							2023-06-09 10:10:19 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								7bfa0fcdf9 
								
							 
						 
						
							
							
								
								fix style ( #8300 )  
							
							 
							
							
							
						 
						
							2023-06-08 16:52:17 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								637b72f2ad 
								
							 
						 
						
							
							
								
								[LLM] llm transformers api support batch actions ( #8288 )  
							
							 
							
							... 
							
							
							
							* llm transformers api support batch actions
* align with transformer
* meet comment 
							
						 
						
							2023-06-08 15:10:08 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									xingyuan li 
								
							 
						 
						
							
							
							
							
								
							
							
								ea3cf6783e 
								
							 
						 
						
							
							
								
								LLM: Command line wrapper for llama/bloom/gptneox ( #8239 )  
							
							 
							
							... 
							
							
							
							* add llama/bloom/gptneox wrapper
* add readme
* upload binary main file 
							
						 
						
							2023-06-08 14:55:22 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								08bdfce2d8 
								
							 
						 
						
							
							
								
								LLM: avoid unnecessary import torch except converting process ( #8297 )  
							
							 
							
							
							
						 
						
							2023-06-08 14:24:58 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									binbin Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								f9e2bda04a 
								
							 
						 
						
							
							
								
								LLM: add stop words and enhance output for bloom pybinding ( #8280 )  
							
							 
							
							
							
						 
						
							2023-06-08 14:06:06 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								6990328e5c 
								
							 
						 
						
							
							
								
								[LLM]Add bloom quantize in setup.py ( #8295 )  
							
							 
							
							... 
							
							
							
							* add bloom quantize in setup.py
* fix 
							
						 
						
							2023-06-08 11:18:22 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								1571ba6425 
								
							 
						 
						
							
							
								
								remove unused import gptneox_cpp ( #8293 )  
							
							 
							
							
							
						 
						
							2023-06-08 11:04:47 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								aa91657019 
								
							 
						 
						
							
							
								
								LLM: add bloom dll/exe in setup ( #8284 )  
							
							 
							
							
							
						 
						
							2023-06-08 09:28:28 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Pingchuan Ma (Henry) 
								
							 
						 
						
							
							
							
							
								
							
							
								773255e009 
								
							 
						 
						
							
							
								
								[LLM] Add dev wheel building and basic UT script for LLM package on Linux ( #8264 )  
							
							 
							
							... 
							
							
							
							* add wheel build for linux
* test fix
* test self-hosted runner
* test fix
* update runner
* update runner
* update fix
* init cicd
* init cicd
* test conda
* update fix
* update no need manual python deps
* test fix bugs
* test fix bugs
* test fix bugs
* fix bugs 
							
						 
						
							2023-06-08 00:49:57 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								2c037e892b 
								
							 
						 
						
							
							
								
								fix-transformers-neox ( #8285 )  
							
							 
							
							
							
						 
						
							2023-06-07 14:44:43 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								39ad68e786 
								
							 
						 
						
							
							
								
								LLM: enhancements for convert_model ( #8278 )  
							
							 
							
							... 
							
							
							
							* update convert
* change output name
* add discription for input_path, add check for input_values
* basic support for command line
* fix style
* update based on comment
* update based on comment 
							
						 
						
							2023-06-07 13:22:14 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Junwei Deng 
								
							 
						 
						
							
							
							
							
								
							
							
								2d14e593f0 
								
							 
						 
						
							
							
								
								LLM: Support generate(max_new_tokens=...), tokenize and decode for transformers-like API ( #8283 )  
							
							 
							
							... 
							
							
							
							* first push
* fix pep8 
							
						 
						
							2023-06-07 11:50:35 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								11cd2a07e0 
								
							 
						 
						
							
							
								
								[LLM] llm transformers format interface first part ( #8276 )  
							
							 
							
							... 
							
							
							
							* llm-transformers-format
* update
* fix style 
							
						 
						
							2023-06-06 17:17:37 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Pingchuan Ma (Henry) 
								
							 
						 
						
							
							
							
							
								
							
							
								a3f353b939 
								
							 
						 
						
							
							
								
								[LLM] add long time loading disclaimer for LLM model converting ( #8279 )  
							
							 
							
							
							
						 
						
							2023-06-06 17:15:13 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								64bc123dd3 
								
							 
						 
						
							
							
								
								[LLM] Add transformers-like API from_pretrained ( #8271 )  
							
							 
							
							... 
							
							
							
							* Init commit for bigdl.llm.transformers.AutoModelForCausalLM
* Temp change to avoid name conflicts with external transformers lib
* Support downloading model from huggingface
* Small python style fix
* Change location of transformers to avoid library conflicts
* Add return value for converted ggml binary ckpt path for convert_model
* Avoid repeated loading of shared library and adding some comments
* Small fix
* Path type fix anddocstring fix
* Small fix
* Small fix
* Change cache dir to pwd 
							
						 
						
							2023-06-06 17:04:16 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Pingchuan Ma (Henry) 
								
							 
						 
						
							
							
							
							
								
							
							
								2ed5842448 
								
							 
						 
						
							
							
								
								[LLM] add convert's python deps for LLM ( #8260 )  
							
							 
							
							... 
							
							
							
							* add python deps for LLM
* update release.sh
* change deps group name
* update all
* fix update
* test fix
* update 
							
						 
						
							2023-06-06 16:01:17 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									xingyuan li 
								
							 
						 
						
							
							
							
							
								
							
							
								38be471140 
								
							 
						 
						
							
							
								
								[LLM] convert_model bug fix ( #8274 )  
							
							 
							
							... 
							
							
							
							* Renamed all bloomz to bloom in ggml/model & utls/convert_util.py
* Add an optional parameter for specific the model conversion path to avoid running out of disk space 
							
						 
						
							2023-06-06 15:16:42 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Ruonan Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								8bd2992a8d 
								
							 
						 
						
							
							
								
								LLM: accelerate sample of gptneox and update quantize ( #8262 )  
							
							 
							
							... 
							
							
							
							* update quantize & accelerate sample
* fix style check
* fix style error 
							
						 
						
							2023-06-05 15:36:00 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Jun Wang 
								
							 
						 
						
							
							
							
							
								
							
							
								2bc0e7abbb 
								
							 
						 
						
							
							
								
								[llm] Add convert_model api ( #8244 )  
							
							 
							
							... 
							
							
							
							* add convert_model api
* change the model_path to input_path
* map int4 to q4_0
* fix blank line
* change bloomz to bloom
* remove default model_family
* change dtype to lower first 
							
						 
						
							2023-06-03 10:18:29 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yuwen Hu 
								
							 
						 
						
							
							
							
							
								
							
							
								e290660b20 
								
							 
						 
						
							
							
								
								[LLM] Add so shared library for Bloom family models ( #8258 )  
							
							 
							
							... 
							
							
							
							* Add so file downloading for bloom family models
* Supports selecting of avx2/avx512 so for bloom 
							
						 
						
							2023-06-02 17:39:40 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Pingchuan Ma (Henry) 
								
							 
						 
						
							
							
							
							
								
							
							
								c48d5f7cff 
								
							 
						 
						
							
							
								
								[LLM] Enable UT workflow logics for LLM ( #8243 )  
							
							 
							
							... 
							
							
							
							* check push connection
* enable UT workflow logics for LLM
* test fix
* add licenses
* test fix according to suggestions
* test fix
* update changes 
							
						 
						
							2023-06-02 17:06:35 +08:00  
						
						
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Yina Chen 
								
							 
						 
						
							
							
							
							
								
							
							
								657ea0ee50 
								
							 
						 
						
							
							
								
								[LLM] Fix linux load libs for NeoX and llama ( #8257 )  
							
							 
							
							... 
							
							
							
							* init
* add lisence
* fix style 
							
						 
						
							2023-06-02 17:03:17 +08:00