ggml : add loongarch lsx and lasx support (llama/6454)

* add loongarch lsx and lasx optimize code

* Add loongarch compilation support to makefile

* revert stb_image.h

* opt bytes_from_nibbles_32 and sum_i16_pairs_float

* fix undeclared

* format code

* update

* update 2

---------

Co-authored-by: Jinyang He <hejinyang@loongson.cn>
This commit is contained in:
junchao-loongson
2024-05-20 15:19:21 +08:00
committed by Georgi Gerganov
parent eb2b086584
commit eb26f55b40
3 changed files with 2298 additions and 8 deletions

File diff suppressed because it is too large Load Diff