last ...
This commit is contained in:
@@ -7,3 +7,6 @@
|
||||
#
|
||||
Tools/*
|
||||
!Tools/.gitignore
|
||||
|
||||
#
|
||||
.llamafile
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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"
|
||||
@@ -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"
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user