Instructions to use eyad-silx/progress 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 eyad-silx/progress 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 eyad-silx/progress # Run inference directly in the terminal: llama cli -hf eyad-silx/progress
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf eyad-silx/progress # Run inference directly in the terminal: llama cli -hf eyad-silx/progress
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf eyad-silx/progress # Run inference directly in the terminal: ./build/bin/llama cli -hf eyad-silx/progress
Use Docker
docker model run hf.co/eyad-silx/progress
- Llama new
- LM Studio
- Jan
- Ollama
How to use eyad-silx/progress with Ollama:
ollama run hf.co/eyad-silx/progress
- Unsloth Desktop
- Pi
How to use eyad-silx/progress with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf eyad-silx/progress
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "eyad-silx/progress" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use eyad-silx/progress with Docker Model Runner:
docker model run hf.co/eyad-silx/progress
- Lemonade
How to use eyad-silx/progress with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull eyad-silx/progress
Run and chat with the model
lemonade run user.progress-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use eyad-silx/progress with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf eyad-silx/progress
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:9931/v1 hermes config set model.default eyad-silx/progress
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use eyad-silx/progress with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf eyad-silx/progress
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:9931/v1 \ --custom-model-id "eyad-silx/progress" \ --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"
push artifacts/scripts/make_twin.py
Browse files
artifacts/scripts/make_twin.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Build the margin-noise PoC twin v2: byte-different, functionally identical copy of the
|
| 2 |
+
current king. TRUE lowest-mantissa-bit flip on ONE fp16 block scale (bit-cast, not value cast).
|
| 3 |
+
"""
|
| 4 |
+
import hashlib
|
| 5 |
+
import shutil
|
| 6 |
+
import sys
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
sys.path.insert(0, "/root/ingot/src")
|
| 10 |
+
import numpy as np
|
| 11 |
+
|
| 12 |
+
from common.gguf import read_header
|
| 13 |
+
from common.gguf.types import PQ2_0
|
| 14 |
+
|
| 15 |
+
KING = Path("/root/models/king-xii/Ingot-XII-27B-Q2.gguf")
|
| 16 |
+
OUT_DIR = Path("/root/models/chal-twin")
|
| 17 |
+
OUT = OUT_DIR / KING.name
|
| 18 |
+
|
| 19 |
+
g = read_header(KING)
|
| 20 |
+
pq = sorted(n for n, t in g.tensors.items() if t.ggml_type == PQ2_0 and n.startswith("blk.30."))
|
| 21 |
+
name = pq[0]
|
| 22 |
+
t = g.tensors[name]
|
| 23 |
+
n_blocks = int(np.prod(t.shape)) // 128
|
| 24 |
+
print(f"twin base tensor: {name} ({n_blocks} blocks)")
|
| 25 |
+
|
| 26 |
+
OUT_DIR.mkdir(parents=True, exist_ok=True)
|
| 27 |
+
shutil.copy(KING, OUT)
|
| 28 |
+
raw = np.memmap(OUT, np.uint8, "r+", g.data_start + t.offset, (n_blocks * 34,))
|
| 29 |
+
b = raw.reshape(-1, 34)
|
| 30 |
+
old_bytes = b[0, :2].copy()
|
| 31 |
+
old_bits = old_bytes.view("<u2")[0]
|
| 32 |
+
new_bits = np.uint16(old_bits ^ 0x0001) # true bit-cast flip: lowest mantissa bit
|
| 33 |
+
b[0, :2] = np.asarray([new_bits], "<u2").view(np.uint8)
|
| 34 |
+
raw.flush()
|
| 35 |
+
|
| 36 |
+
old_val = np.asarray([old_bits], "<u2").view("<f2")[0]
|
| 37 |
+
new_val = np.asarray([new_bits], "<u2").view("<f2")[0]
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
def h(p):
|
| 41 |
+
m = hashlib.sha256()
|
| 42 |
+
with open(p, "rb") as f:
|
| 43 |
+
for c in iter(lambda: f.read(1 << 24), b""):
|
| 44 |
+
m.update(c)
|
| 45 |
+
return m.hexdigest()[:16]
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
print(f"scale block0: {old_val:.8e} -> {new_val:.8e} (rel change {abs(new_val-old_val)/abs(old_val):.2e})")
|
| 49 |
+
print(f"king sha256 {h(KING)}")
|
| 50 |
+
print(f"twin sha256 {h(OUT)}")
|
| 51 |
+
print("byte-different:", h(KING) != h(OUT))
|
| 52 |
+
print("WROTE", OUT)
|