This commit is contained in:
2026-11-20 19:32:35 +03:30
parent 2a52492e5b
commit 64bca51e23
8 changed files with 64 additions and 0 deletions
+3
View File
@@ -7,3 +7,6 @@
# #
Tools/* Tools/*
!Tools/.gitignore !Tools/.gitignore
#
.llamafile
Binary file not shown.
Binary file not shown.
+18
View File
@@ -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
+17
View File
@@ -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"
+16
View File
@@ -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"
+10
View File
@@ -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"