Instructions to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal # Run inference directly in the terminal: llama cli -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal # Run inference directly in the terminal: llama cli -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal # Run inference directly in the terminal: ./llama-cli -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal # Run inference directly in the terminal: ./build/bin/llama-cli -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Use Docker
docker model run hf.co/jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
- LM Studio
- Jan
- vLLM
How to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jcbtc/Qwen3.8-27B-IU4-Kairic-Signal" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jcbtc/Qwen3.8-27B-IU4-Kairic-Signal", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
- Ollama
How to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with Ollama:
ollama run hf.co/jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
- Unsloth Desktop
- Pi
How to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "jcbtc/Qwen3.8-27B-IU4-Kairic-Signal" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with Docker Model Runner:
docker model run hf.co/jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
- Lemonade
How to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Run and chat with the model
lemonade run user.Qwen3.8-27B-IU4-Kairic-Signal-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use jcbtc/Qwen3.8-27B-IU4-Kairic-Signal with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jcbtc/Qwen3.8-27B-IU4-Kairic-Signal
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "jcbtc/Qwen3.8-27B-IU4-Kairic-Signal" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Release KAIRIC SIGNAL v1.0: card, artwork, launcher and verification
Browse files- .gitattributes +3 -35
- BUILD.md +49 -0
- LICENSE +202 -0
- LICENSE.runtime +21 -0
- README.md +97 -0
- SHA256SUMS +12 -0
- assets/kairic-signal.png +3 -0
- build-report.json +69 -0
- run-kairic-signal.sh +80 -0
.gitattributes
CHANGED
|
@@ -1,35 +1,3 @@
|
|
| 1 |
-
*.
|
| 2 |
-
*.
|
| 3 |
-
*.
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.pfs filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BUILD.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# KAIRIC runtime build
|
| 2 |
+
|
| 3 |
+
Use a Strix Halo / gfx1151 Linux host with a compatible ROCm toolchain already installed. The original runtime was qualified with TheRock 7.15.0a20260718 and AMD clang 23. This Ubuntu/Debian dependency and source-build recipe comes from the pinned parent release; it has not been rerun for the Signal package. The Signal artifact was assembled and numerically checked on CPU.
|
| 4 |
+
|
| 5 |
+
```bash
|
| 6 |
+
sudo apt-get update
|
| 7 |
+
sudo apt-get install -y build-essential cmake git ninja-build pkg-config libssl-dev
|
| 8 |
+
|
| 9 |
+
git clone https://github.com/ciru-ai/ROCmFPX.git
|
| 10 |
+
cd ROCmFPX
|
| 11 |
+
git checkout 205a3e5f40e5542e2f2eb68e3d3f81f918b1d895
|
| 12 |
+
|
| 13 |
+
git clone https://github.com/ROCm/composable_kernel.git third_party/composable_kernel
|
| 14 |
+
git -C third_party/composable_kernel checkout fdf4bb7fcc984811cef48ce817d89aac064b984a
|
| 15 |
+
git -C third_party/composable_kernel apply ../../patches/composable-kernel-gfx1151-iu4.patch
|
| 16 |
+
|
| 17 |
+
export ROCM_PATH="${ROCM_PATH:-/opt/rocm}"
|
| 18 |
+
export PATH="$ROCM_PATH/bin:$ROCM_PATH/lib/llvm/bin:$ROCM_PATH/llvm/bin:$PATH"
|
| 19 |
+
export CC="${CC:-/usr/bin/gcc}"
|
| 20 |
+
export CXX="${CXX:-/usr/bin/g++}"
|
| 21 |
+
if [[ -x "$ROCM_PATH/bin/amdclang++" ]]; then
|
| 22 |
+
HIP_COMPILER="$ROCM_PATH/bin/amdclang++"
|
| 23 |
+
else
|
| 24 |
+
HIP_COMPILER="$ROCM_PATH/llvm/bin/clang++"
|
| 25 |
+
fi
|
| 26 |
+
|
| 27 |
+
cmake -S . -B build-kairic -G Ninja \
|
| 28 |
+
-DCMAKE_BUILD_TYPE=Release \
|
| 29 |
+
-DCMAKE_C_COMPILER="$CC" \
|
| 30 |
+
-DCMAKE_CXX_COMPILER="$CXX" \
|
| 31 |
+
-DCMAKE_HIP_COMPILER="$HIP_COMPILER" \
|
| 32 |
+
-DCMAKE_HIP_FLAGS='-DGGML_ROCMFPX_RDNA35_MMID_MAX_BATCH=5 -DGGML_ROCMFPX_MOE_MMVQ_ROWS_PER_BLOCK=4' \
|
| 33 |
+
-DCMAKE_PREFIX_PATH="$ROCM_PATH" \
|
| 34 |
+
-DBUILD_SHARED_LIBS=ON \
|
| 35 |
+
-DGGML_CPU=ON -DGGML_OPENMP=ON -DGGML_HIP=ON -DGGML_CUDA=OFF \
|
| 36 |
+
-DGGML_VULKAN=OFF -DGGML_HIP_FORCE_MMQ=ON -DGGML_HIP_GRAPHS=ON \
|
| 37 |
+
-DGGML_HIP_MMQ_MFMA=ON -DGGML_HIP_NO_VMM=ON \
|
| 38 |
+
-DGGML_HIP_ROCWMMA_FATTN=OFF -DGGML_NATIVE=ON \
|
| 39 |
+
-DAMDGPU_TARGETS=gfx1151 -DGPU_BUILD_TARGETS=gfx1151 \
|
| 40 |
+
-DPROMPTFORGE_CK_ROOT="$PWD/third_party/composable_kernel" \
|
| 41 |
+
-DLLAMA_BUILD_WEBUI=OFF \
|
| 42 |
+
-DGGML_BUILD_TESTS=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_SERVER=ON
|
| 43 |
+
|
| 44 |
+
cmake --build build-kairic --target llama-server -j"$(nproc)"
|
| 45 |
+
./build-kairic/bin/llama-server --version
|
| 46 |
+
./build-kairic/bin/llama-server --help | grep -A1 -- '--kairic-edge'
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
After building, follow the model card to download all four weight artifacts and use `run-kairic-signal.sh`. This source tree includes the required MTP and custom quantization support. Follow the [full runtime guide](https://github.com/ciru-ai/ROCmFPX/blob/205a3e5f40e5542e2f2eb68e3d3f81f918b1d895/docs/kairic-edge-gfx1151.md) for ROCm and compiler compatibility.
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright 2026 Alibaba Cloud
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
LICENSE.runtime
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2023-2026 The ggml authors
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- agentionai/Signal-3.8-27B
|
| 5 |
+
- jcbtc/Qwen3.8-27B-IU4-Kairic-Edge
|
| 6 |
+
base_model_relation: quantized
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- gguf
|
| 10 |
+
- qwen3_5
|
| 11 |
+
- qwen3.8
|
| 12 |
+
- iu4
|
| 13 |
+
- mtp
|
| 14 |
+
- rocm
|
| 15 |
+
- strix-halo
|
| 16 |
+
- signal
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+
# Qwen3.8-27B · KAIRIC SIGNAL
|
| 22 |
+
|
| 23 |
+
**AgentionAI's Signal tuning on CIRU's KAIRIC EDGE execution stack.** A 27B local model for AMD Strix Halo, combining an IU4-accelerated body, a standard Q8 output head, and native multi-token prediction.
|
| 24 |
+
|
| 25 |
+
Signal is tuned for more direct answers and less unnecessary reasoning. This release brings that tuning into the existing KAIRIC build by replacing the vocabulary output layer. The remaining 865 GGUF tensors and all three acceleration files are unchanged.
|
| 26 |
+
|
| 27 |
+
**Requires the custom KAIRIC ROCm runtime.** This is not a stock llama.cpp, Ollama, or CUDA GGUF package.
|
| 28 |
+
|
| 29 |
+
## What this release contains
|
| 30 |
+
|
| 31 |
+
| Component | Detail |
|
| 32 |
+
|---|---|
|
| 33 |
+
| Tuning | Signal-3.8-27B by AgentionAI |
|
| 34 |
+
| Model body | CIRU KAIRIC EDGE hybrid quantization with IU4 acceleration files |
|
| 35 |
+
| Output head | Signal BF16 → standard Q8_0 |
|
| 36 |
+
| Drafting | Original native MTP weights retained; launcher uses depth 4 |
|
| 37 |
+
| Default sampling | Temperature 0.7 · top-p 0.95 · top-k 20 · min-p 0 |
|
| 38 |
+
| Target hardware | AMD Strix Halo / gfx1151 |
|
| 39 |
+
|
| 40 |
+
**v1.0 validation:** source lineage, all-tensor integrity, and output-head conversion checks passed. This specific Signal build has not yet been inference-tested or benchmarked on AMD. Parent-model quality and speed results are not claimed for this release.
|
| 41 |
+
|
| 42 |
+
## Download and run
|
| 43 |
+
|
| 44 |
+
Download the GGUF, all three `.pfs` files, and the runner into the same directory:
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
hf download jcbtc/Qwen3.8-27B-IU4-Kairic-Signal --local-dir kairic-signal
|
| 48 |
+
cd kairic-signal
|
| 49 |
+
sha256sum -c SHA256SUMS
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Build the [pinned KAIRIC v1.2 runtime](https://github.com/ciru-ai/ROCmFPX/tree/205a3e5f40e5542e2f2eb68e3d3f81f918b1d895) using [BUILD.md](BUILD.md), then launch:
|
| 53 |
+
|
| 54 |
+
```bash
|
| 55 |
+
LLAMA_SERVER=/absolute/path/to/ROCmFPX/build-kairic/bin/llama-server \
|
| 56 |
+
ROCM_PATH=/opt/rocm \
|
| 57 |
+
PORT=8080 \
|
| 58 |
+
bash ./run-kairic-signal.sh
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
The runner defaults to a 32K context, thinking off, and Signal's sampling values. It disables greedy argmax shortcuts, draft backend sampling, prompt reuse, and the unsafe native M65 verifier. `CONTEXT`, `HOST`, `PORT`, and `MODEL_ALIAS` can be overridden through environment variables. Larger contexts need sufficient memory and separate validation.
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
curl http://127.0.0.1:8080/v1/chat/completions \
|
| 65 |
+
-H 'Content-Type: application/json' \
|
| 66 |
+
-d '{"model":"kairic-signal","messages":[{"role":"user","content":"Explain how a hash map works."}],"max_tokens":1024}'
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
The package is for text inference; a vision projector is not included.
|
| 70 |
+
|
| 71 |
+
## Files
|
| 72 |
+
|
| 73 |
+
| File | Size |
|
| 74 |
+
|---|---:|
|
| 75 |
+
| `Qwen3.8-27B-IU4-Kairic-Signal.gguf` | 15.48 GiB |
|
| 76 |
+
| `Qwen3.8-27B-Kairic-IU4-FFN.pfs` | 7.99 GiB |
|
| 77 |
+
| `Qwen3.8-27B-Kairic-IU4-GDN.pfs` | 1.88 GiB |
|
| 78 |
+
| `Qwen3.8-27B-Kairic-IU4-GDN-Output.pfs` | 0.70 GiB |
|
| 79 |
+
|
| 80 |
+
The `.pfs` files are prepacked execution views used by PromptForge. Keep all three alongside the GGUF. File size is not peak runtime memory.
|
| 81 |
+
|
| 82 |
+
## Build verification
|
| 83 |
+
|
| 84 |
+
Only `lm_head.weight` differs between the pinned Signal and Qwen BF16 checkpoints. The first 17 shards have identical published SHA-256 values; every tensor in the final shard was compared directly. Tokenizer, configuration, and chat-template identities match.
|
| 85 |
+
|
| 86 |
+
The head was converted with the runtime's Q8_0 reference function. An independent implementation checked all **1,271,398,400 values** with exact quantized-byte agreement. Every non-head GGUF tensor and all other payload bytes match the published KAIRIC donor. See [build-report.json](build-report.json) and [SHA256SUMS](SHA256SUMS).
|
| 87 |
+
|
| 88 |
+
These checks establish artifact integrity. They do not measure task quality, MTP acceptance, or generation speed.
|
| 89 |
+
|
| 90 |
+
## Credits
|
| 91 |
+
|
| 92 |
+
- [AgentionAI Signal-3.8-27B](https://huggingface.co/agentionai/Signal-3.8-27B) — output-layer tuning for concise responses.
|
| 93 |
+
- [Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B) — base model, tokenizer, and MTP weights.
|
| 94 |
+
- [CIRU KAIRIC EDGE](https://huggingface.co/jcbtc/Qwen3.8-27B-IU4-Kairic-Edge) — model body, IU4 execution views, and PromptForge integration.
|
| 95 |
+
- [ROCmFPX](https://github.com/ciru-ai/ROCmFPX), [llama.cpp](https://github.com/ggml-org/llama.cpp), and [ROCm Composable Kernel](https://github.com/ROCm/composable_kernel) — runtime and kernels.
|
| 96 |
+
|
| 97 |
+
Model weights: Apache 2.0. Runtime-derived launcher: MIT. This is a CIRU derivative of Signal, not an AgentionAI runtime release.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
adcbb90a7b429a30a2a39043366d68320d72e8b4816a0f498e882b2f80a2ba2b Qwen3.8-27B-Kairic-IU4-FFN.pfs
|
| 2 |
+
3b07e7b176559e4402924ba0c368532fa6f02118a33c71e70974c809bf6208a3 Qwen3.8-27B-Kairic-IU4-GDN-Output.pfs
|
| 3 |
+
82f931316f1c895da104915dec4697163808d06f0e6b2dc027cee7aa3afc0f0e Qwen3.8-27B-Kairic-IU4-GDN.pfs
|
| 4 |
+
a80dc095e54a6aaa852a592ae4d9167b49e92aec5e48ded82e11f5e7fa71983c Qwen3.8-27B-IU4-Kairic-Signal.gguf
|
| 5 |
+
b52d74c5d7b21fff7599d36946a31e216bf7cfa55c42d3628897301fa5fd3038 .gitattributes
|
| 6 |
+
818f90defff5c02c4562724c29c4f0ba8e0da4bd78b083a6a6576a7e17736ef7 BUILD.md
|
| 7 |
+
bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a LICENSE
|
| 8 |
+
94f29bbed6a22c35b992c5c6ebf0e7c92f13b836b90f36f461c9cf2f0f1d010d LICENSE.runtime
|
| 9 |
+
e627c83ee054e087ffec71b2380427699166d0b7111192ecbd76179e47724a7d README.md
|
| 10 |
+
8912c5f3d63af7976de97f513b6253be01f97ccb38f82827fe5c287576d2cefe assets/kairic-signal.png
|
| 11 |
+
c30d3919540e61eacefe6b0f1126a83580688fecfe7b20075194f1a54bc56787 build-report.json
|
| 12 |
+
2a0647eef82ab979daaca72188510c1041fd68c93149e6bca8233c1773ae6db1 run-kairic-signal.sh
|
assets/kairic-signal.png
ADDED
|
Git LFS Details
|
build-report.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "Qwen3.8-27B-IU4-Kairic-Signal",
|
| 3 |
+
"version": "1.0",
|
| 4 |
+
"artifact_sha256": "a80dc095e54a6aaa852a592ae4d9167b49e92aec5e48ded82e11f5e7fa71983c",
|
| 5 |
+
"artifact_bytes": 16617792704,
|
| 6 |
+
"donor_sha256": "360caf7381907c3eca7ac0afd1228efc016af747f3f38637fb1c7f94daabac2a",
|
| 7 |
+
"tensor_count": 866,
|
| 8 |
+
"changed_tensors": [
|
| 9 |
+
"output.weight"
|
| 10 |
+
],
|
| 11 |
+
"unchanged_tensor_count": 865,
|
| 12 |
+
"all_other_payload_bytes_identical": true,
|
| 13 |
+
"head_quantization": {
|
| 14 |
+
"elements_checked": 1271398400,
|
| 15 |
+
"independent_q8_byte_equivalence": true,
|
| 16 |
+
"q8_sha256": "98f54a3659ef77b21b0d630f5b02853f3648bd88e7c098bc739d2155761c6ea7",
|
| 17 |
+
"q8_bytes": 1350860800,
|
| 18 |
+
"rmse": 7.562298675432215e-05,
|
| 19 |
+
"relative_l2": 0.005503545738293579,
|
| 20 |
+
"max_absolute_error": 0.0013256072998046875,
|
| 21 |
+
"method": "Pinned quantize_row_q8_0_ref, independently checked for every block with NumPy",
|
| 22 |
+
"reference_source_sha256": "3ae6aea8879172b12383485c4342647ee9289594e867c6c2f98a06bd43825211"
|
| 23 |
+
},
|
| 24 |
+
"source_lineage": {
|
| 25 |
+
"changed_tensors": [
|
| 26 |
+
"lm_head.weight"
|
| 27 |
+
],
|
| 28 |
+
"unchanged_last_shard_tensors": [
|
| 29 |
+
"mtp.fc.weight",
|
| 30 |
+
"mtp.layers.0.input_layernorm.weight",
|
| 31 |
+
"mtp.layers.0.mlp.down_proj.weight",
|
| 32 |
+
"mtp.layers.0.mlp.gate_proj.weight",
|
| 33 |
+
"mtp.layers.0.mlp.up_proj.weight",
|
| 34 |
+
"mtp.layers.0.post_attention_layernorm.weight",
|
| 35 |
+
"mtp.layers.0.self_attn.k_norm.weight",
|
| 36 |
+
"mtp.layers.0.self_attn.k_proj.weight",
|
| 37 |
+
"mtp.layers.0.self_attn.o_proj.weight",
|
| 38 |
+
"mtp.layers.0.self_attn.q_norm.weight",
|
| 39 |
+
"mtp.layers.0.self_attn.q_proj.weight",
|
| 40 |
+
"mtp.layers.0.self_attn.v_proj.weight",
|
| 41 |
+
"mtp.norm.weight",
|
| 42 |
+
"mtp.pre_fc_norm_embedding.weight",
|
| 43 |
+
"mtp.pre_fc_norm_hidden.weight"
|
| 44 |
+
],
|
| 45 |
+
"other_shards_with_identical_hub_sha256": [
|
| 46 |
+
"model-00001-of-00018.safetensors",
|
| 47 |
+
"model-00002-of-00018.safetensors",
|
| 48 |
+
"model-00003-of-00018.safetensors",
|
| 49 |
+
"model-00004-of-00018.safetensors",
|
| 50 |
+
"model-00005-of-00018.safetensors",
|
| 51 |
+
"model-00006-of-00018.safetensors",
|
| 52 |
+
"model-00007-of-00018.safetensors",
|
| 53 |
+
"model-00008-of-00018.safetensors",
|
| 54 |
+
"model-00009-of-00018.safetensors",
|
| 55 |
+
"model-00010-of-00018.safetensors",
|
| 56 |
+
"model-00011-of-00018.safetensors",
|
| 57 |
+
"model-00012-of-00018.safetensors",
|
| 58 |
+
"model-00013-of-00018.safetensors",
|
| 59 |
+
"model-00014-of-00018.safetensors",
|
| 60 |
+
"model-00015-of-00018.safetensors",
|
| 61 |
+
"model-00016-of-00018.safetensors",
|
| 62 |
+
"model-00017-of-00018.safetensors"
|
| 63 |
+
],
|
| 64 |
+
"signal_revision": "0bbbf805612fd8bb8583c783f0d65f6d155eae3c",
|
| 65 |
+
"base_revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0",
|
| 66 |
+
"signal_head_bf16_sha256": "1688c4e75b60533232cd12adb46423e5e887d6cb39bc5fc122e0f8c7efa1022e"
|
| 67 |
+
},
|
| 68 |
+
"validation": "Structural and head numerical checks passed. AMD inference, task quality, throughput and MTP acceptance have not yet been measured for this build."
|
| 69 |
+
}
|
run-kairic-signal.sh
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
|
| 4 |
+
readonly server="${LLAMA_SERVER:?set LLAMA_SERVER to a build of ROCmFPX 205a3e5f40e5542e2f2eb68e3d3f81f918b1d895}"
|
| 5 |
+
readonly package="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
| 6 |
+
readonly model="$package/Qwen3.8-27B-IU4-Kairic-Signal.gguf"
|
| 7 |
+
readonly ffn="$package/Qwen3.8-27B-Kairic-IU4-FFN.pfs"
|
| 8 |
+
readonly gdn="$package/Qwen3.8-27B-Kairic-IU4-GDN.pfs"
|
| 9 |
+
readonly gdn_output="$package/Qwen3.8-27B-Kairic-IU4-GDN-Output.pfs"
|
| 10 |
+
readonly rocm="${ROCM_PATH:-/opt/rocm}"
|
| 11 |
+
|
| 12 |
+
readonly host="${HOST:-127.0.0.1}"
|
| 13 |
+
readonly port="${PORT:-8080}"
|
| 14 |
+
readonly context="${CONTEXT:-32768}"
|
| 15 |
+
readonly cache_ram="${CACHE_RAM:-0}"
|
| 16 |
+
readonly alias_name="${MODEL_ALIAS:-kairic-signal}"
|
| 17 |
+
# Signal sampled defaults; both argmax shortcuts disabled.
|
| 18 |
+
readonly target_argmax_fastpath=0
|
| 19 |
+
|
| 20 |
+
for required in "$server" "$model" "$ffn" "$gdn" "$gdn_output"; do
|
| 21 |
+
[[ -r "$required" ]] || {
|
| 22 |
+
echo "missing or unreadable required artifact: $required" >&2
|
| 23 |
+
exit 1
|
| 24 |
+
}
|
| 25 |
+
done
|
| 26 |
+
|
| 27 |
+
[[ "$port" =~ ^[0-9]+$ ]] || {
|
| 28 |
+
echo "PORT must be numeric: $port" >&2
|
| 29 |
+
exit 2
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
readonly server_dir="$(cd -- "$(dirname -- "$server")" && pwd)"
|
| 33 |
+
readonly library_path="$server_dir:$rocm/lib:$rocm/lib/rocm_sysdeps/lib:$rocm/lib/llvm/lib:$rocm/llvm/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
| 34 |
+
|
| 35 |
+
exec /usr/bin/env -i \
|
| 36 |
+
HOME="${HOME}" PATH="${PATH}" LANG="${LANG:-C.UTF-8}" TMPDIR="${TMPDIR:-/tmp}" \
|
| 37 |
+
ROCM_PATH="$rocm" \
|
| 38 |
+
HIP_VISIBLE_DEVICES=0 \
|
| 39 |
+
HSA_OVERRIDE_GFX_VERSION=11.5.1 \
|
| 40 |
+
LD_LIBRARY_PATH="$library_path" \
|
| 41 |
+
GGML_CUDA_GRAPH_OPT=0 \
|
| 42 |
+
KAIRIC_UNSAFE_NATIVE_M65_VERIFY=0 \
|
| 43 |
+
LLAMA_TARGET_GREEDY_ARGMAX_FASTPATH="$target_argmax_fastpath" \
|
| 44 |
+
LLAMA_MTP_CPU_ARGMAX_FASTPATH=0 \
|
| 45 |
+
PROMPTFORGE_TARGET_ONLY=0 \
|
| 46 |
+
PROMPTFORGE_MODE=iu4_ffn \
|
| 47 |
+
PROMPTFORGE_IU4_SIDECAR="$ffn" \
|
| 48 |
+
PROMPTFORGE_SIDECAR="$ffn" \
|
| 49 |
+
PROMPTFORGE_IU4_HADAMARD=1 \
|
| 50 |
+
PROMPTFORGE_IU4_SEGMENTED=0 \
|
| 51 |
+
PROMPTFORGE_ENABLE_FFN_KEEPERS=0 \
|
| 52 |
+
PROMPTFORGE_FFN_KEEPERS=late6 \
|
| 53 |
+
PROMPTFORGE_ENABLE_GDN=1 \
|
| 54 |
+
PROMPTFORGE_ENABLE_GDN_W8=0 \
|
| 55 |
+
PROMPTFORGE_GDN_SIDECAR_OVERRIDE="$gdn" \
|
| 56 |
+
PROMPTFORGE_GDN_SIDECAR="$gdn" \
|
| 57 |
+
PROMPTFORGE_GDN_IU4_HADAMARD=1 \
|
| 58 |
+
PROMPTFORGE_ENABLE_GDN_KEEPERS=0 \
|
| 59 |
+
PROMPTFORGE_ENABLE_GDN_OUTPUT=1 \
|
| 60 |
+
PROMPTFORGE_GDN_OUTPUT_SIDECAR="$gdn_output" \
|
| 61 |
+
PROMPTFORGE_GDN_OUTPUT_KEEPERS=v3_lateq6 \
|
| 62 |
+
PROMPTFORGE_ENABLE_SMALLM_IU4=1 \
|
| 63 |
+
PROMPTFORGE_ENABLE_SMALLM_GDN_IU4=1 \
|
| 64 |
+
PROMPTFORGE_ENABLE_SMALLM_GDN_OUTPUT_IU4=0 \
|
| 65 |
+
PROMPTFORGE_ENABLE_IU4_DECODE_M2_M5=0 \
|
| 66 |
+
PROMPTFORGE_OUTPUT_K8_STRICT_GREEDY=0 \
|
| 67 |
+
"$server" -m "$model" --alias "$alias_name" \
|
| 68 |
+
--host "$host" --port "$port" --jinja -dev ROCm0 -ngl 999 \
|
| 69 |
+
-c "$context" -b 2048 -ub 512 -fa on -ctk f16 -ctv f16 \
|
| 70 |
+
-t 16 -tb 32 -np 1 -ctxcp 32 --cache-ram "$cache_ram" \
|
| 71 |
+
--no-cache-prompt --no-cache-idle-slots --metrics \
|
| 72 |
+
--kairic-edge \
|
| 73 |
+
--spec-type draft-mtp \
|
| 74 |
+
--spec-draft-device ROCm0 --spec-draft-ngl 999 \
|
| 75 |
+
--spec-draft-type-k f16 --spec-draft-type-v f16 \
|
| 76 |
+
--spec-draft-n-max 4 --spec-draft-n-min 0 \
|
| 77 |
+
--spec-draft-p-min 0.0 --spec-draft-p-split 0.10 \
|
| 78 |
+
--no-spec-draft-backend-sampling \
|
| 79 |
+
--temp 0.7 --top-p 0.95 --top-k 20 --min-p 0.0 \
|
| 80 |
+
--reasoning off --reasoning-format none --reasoning-budget -1
|