diff --git a/.gitignore b/.gitignore index 6936213..74f3c5d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ # Tools/* !Tools/.gitignore + +# +.llamafile diff --git a/.llamafile/v/0.10.6/ggml-cuda.dll b/.llamafile/v/0.10.6/ggml-cuda.dll deleted file mode 100644 index de9c2e5..0000000 Binary files a/.llamafile/v/0.10.6/ggml-cuda.dll and /dev/null differ diff --git a/.llamafile/v/0.10.6/ggml-vulkan.dll b/.llamafile/v/0.10.6/ggml-vulkan.dll deleted file mode 100644 index 7a590c7..0000000 Binary files a/.llamafile/v/0.10.6/ggml-vulkan.dll and /dev/null differ diff --git a/Prepared/SparkX2.64B/Documents/docs.txt b/Prepared/SparkX2.64B/Documents/docs.txt new file mode 100644 index 0000000..bc6c1c9 --- /dev/null +++ b/Prepared/SparkX2.64B/Documents/docs.txt @@ -0,0 +1,18 @@ +# +# Since llamafile doesn't have support of Spark Architecture, we have to fork clone LLAMA.Cpp app +# which support this architecture ... + +# +# Cloning ... +git clone -b model/Spark2_5 https://github.com/brywil/llama.cpp +cd llama.cpp + +# +# CMake Installation on Windows ... +https://github.com/Kitware/CMake/releases/download/v4.4.4/cmake-4.4.4-windows-x86_64.msi + +# +# Building ... +cmake -B build -DGGML_CUDA=ON +cmake --build build -j + diff --git a/Prepared/SparkX2.64B/Model/.gitignore b/Prepared/SparkX2.64B/Model/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/Prepared/SparkX2.64B/sparkx2.64b.bat b/Prepared/SparkX2.64B/sparkx2.64b.bat new file mode 100644 index 0000000..0febf5b --- /dev/null +++ b/Prepared/SparkX2.64B/sparkx2.64b.bat @@ -0,0 +1,17 @@ +llamafile.exe ^ + --jinja ^ + --server ^ + --gpu auto ^ + --temp 0.7 ^ + --nobrowser ^ + --tools all ^ + --port 1112 ^ + --ctx-size 0 ^ + --top-p 0.85 ^ + --host 0.0.0.0 ^ + --n-predict 512 ^ + --load-mode mmap ^ + --n-gpu-layers 10 ^ + --repeat-penalty 1.0 ^ + --alias Spark-X2.6-4B ^ + --model ".\Prepared\SparkX2.64B\Model\Spark-X2.6-4B-Q4_K_M.gguf" \ No newline at end of file diff --git a/sparkx2.64b.bat b/sparkx2.64b.bat new file mode 100644 index 0000000..c9db416 --- /dev/null +++ b/sparkx2.64b.bat @@ -0,0 +1,16 @@ +llamafile.exe ^ + --jinja ^ + --server ^ + --gpu auto ^ + --temp 0.7 ^ + --tools all ^ + --port 1112 ^ + --ctx-size 0 ^ + --top-p 0.85 ^ + --host 0.0.0.0 ^ + --n-predict 512 ^ + --load-mode mmap ^ + --n-gpu-layers 10 ^ + --repeat-penalty 1.0 ^ + --alias Spark-X2.6-4B ^ + --model ".\Prepared\SparkX2.64B\Model\Spark-X2.6-4B-Q4_K_M.gguf" \ No newline at end of file diff --git a/sparkx2.64b.dev.bat b/sparkx2.64b.dev.bat new file mode 100644 index 0000000..d905e3c --- /dev/null +++ b/sparkx2.64b.dev.bat @@ -0,0 +1,10 @@ +..\llamacpp\llama-server.exe ^ + --tools all ^ + --port 1112 ^ + --ctx-size 0 ^ + --host 0.0.0.0 ^ + --load-mode mmap ^ + --n-gpu-layers 10 ^ + --alias Spark-X2.6-4B ^ + --api-key xapp_sH0MbXEkCNEP9CQ_RLEkD-Fh7QhGUnzwyGcJfSmy_VY ^ + --model ".\Prepared\SparkX2.64B\Model\Spark-X2.6-4B-Q4_K_M.gguf" \ No newline at end of file