Text Generation
GGUF
English
Merge
task-vector
dare-ties
layer-weighted
qwen3
qwen35
reasoning
code
llama.cpp
experimental
conversational
Instructions to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF 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 KyleHessling1/Qwopus3.6-27B-Fusion-GGUF 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 KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
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 KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
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 KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
Use Docker
docker model run hf.co/KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KyleHessling1/Qwopus3.6-27B-Fusion-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KyleHessling1/Qwopus3.6-27B-Fusion-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
- Ollama
How to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF with Ollama:
ollama run hf.co/KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
- Unsloth Studio
How to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for KyleHessling1/Qwopus3.6-27B-Fusion-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for KyleHessling1/Qwopus3.6-27B-Fusion-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for KyleHessling1/Qwopus3.6-27B-Fusion-GGUF to start chatting
- Pi
How to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
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 KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
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 "KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M" \ --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"
- Docker Model Runner
How to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF with Docker Model Runner:
docker model run hf.co/KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
- Lemonade
How to use KyleHessling1/Qwopus3.6-27B-Fusion-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull KyleHessling1/Qwopus3.6-27B-Fusion-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwopus3.6-27B-Fusion-GGUF-Q4_K_M
List all available models
lemonade list
| #!/usr/bin/env python3 | |
| """Layer-weighted delta-scale merge, grounded in the measured weight geometry: | |
| Coder DESCENDS from V2 (late-layer proj->1.0), its delta is ~1.8x v2's magnitude, and in EARLY | |
| layers the coding delta is ANTI-aligned with v2's reasoning (cos<0) => it damaged reasoning/control. | |
| So: W_new = V2 + alpha(L) * (Coder - V2), alpha ramps low (early, protect reasoning) -> high (late, | |
| inject coding). embed/lm_head/norm/mtp/vision are frozen across all 3 -> copied from V2 verbatim. | |
| """ | |
| import os, re, json, gc, sys, argparse | |
| import torch | |
| from safetensors import safe_open | |
| from safetensors.torch import save_file | |
| SSD="/media/kylehessling/Extreme SSD" | |
| V2_PATH=f"{SSD}/Qwopus3.6-27B-v2" # base (reasoning) — also donates embed/lm_head/norm/mtp/vision | |
| CO_PATH=f"{SSD}/Qwopus3.6-27B-Coder" # coder — delta source | |
| SHARD=5_000_000_000 | |
| NLAYERS=64 | |
| COPY_V2=re.compile(r"(embed_tokens|lm_head|^mtp\.|\.mtp\.|nextn|\.norm\.|vision|visual|image|video|patch_embed|merger)") | |
| LAYER_RE=re.compile(r"\.layers\.(\d+)\.") | |
| def load_index(p): | |
| return {k:os.path.join(p,v) for k,v in json.load(open(f"{p}/model.safetensors.index.json"))["weight_map"].items()} | |
| class ShardWriter: | |
| def __init__(s,o): s.o,s.buf,s.cur,s.i,s.tot,s.wm=o,{},0,0,0,{}; os.makedirs(o,exist_ok=True) | |
| def _flush(s): | |
| if not s.buf: return | |
| s.i+=1; nm=f"model-{s.i:05d}.safetensors"; save_file(s.buf,os.path.join(s.o,nm),metadata={"format":"pt"}) | |
| for k in s.buf: s.wm[k]=nm | |
| s.buf,s.cur={},0; gc.collect() | |
| def add(s,n,t): s.buf[n]=t.contiguous(); s.cur+=t.numel()*t.element_size(); s.tot+=1; (s._flush() if s.cur>=SHARD else None) | |
| def finalize(s): | |
| s._flush(); n=s.i | |
| for j in range(1,n+1): | |
| old=f"model-{j:05d}.safetensors"; new=f"model-{j:05d}-of-{n:05d}.safetensors" | |
| os.rename(os.path.join(s.o,old),os.path.join(s.o,new)) | |
| for k,v in list(s.wm.items()): | |
| if v==old: s.wm[k]=new | |
| json.dump({"metadata":{"total_size":0},"weight_map":s.wm},open(f"{s.o}/model.safetensors.index.json","w"),indent=2) | |
| def alpha(L, a_early, a_late): | |
| return a_early + (a_late-a_early)*(L/(NLAYERS-1)) # smooth linear ramp by depth | |
| def main(): | |
| ap=argparse.ArgumentParser() | |
| ap.add_argument("--out",required=True) | |
| ap.add_argument("--a-early",type=float,default=0.12) | |
| ap.add_argument("--a-late",type=float,default=0.48) | |
| ap.add_argument("--uniform",type=float,default=None,help="if set, constant alpha (control candidate)") | |
| a=ap.parse_args() | |
| iv,ic=load_index(V2_PATH),load_index(CO_PATH) | |
| assert set(iv)==set(ic),"key mismatch" | |
| H={} | |
| def get(i,n): | |
| p=i[n] | |
| if p not in H: H[p]=safe_open(p,"pt") | |
| return H[p].get_tensor(n) | |
| w=ShardWriter(a.out); copied=merged=0 | |
| for i,n in enumerate(sorted(iv)): | |
| if COPY_V2.search(n): | |
| w.add(n,get(iv,n)); copied+=1 | |
| else: | |
| m=LAYER_RE.search(n); L=int(m.group(1)) if m else NLAYERS//2 | |
| al = a.uniform if a.uniform is not None else alpha(L,a.a_early,a.a_late) | |
| v2=get(iv,n).float(); co=get(ic,n).float() | |
| out=(v2 + al*(co-v2)).to(torch.bfloat16) | |
| w.add(n,out); merged+=1 | |
| if i%150==0: | |
| print(f" [{i}/{len(iv)}] copied={copied} merged={merged}",flush=True); H.clear(); gc.collect() | |
| w.finalize() | |
| sched = f"uniform {a.uniform}" if a.uniform is not None else f"ramp {a.a_early}->{a.a_late}" | |
| print(f"[merge] DONE ({sched}) copied={copied} merged={merged} -> {a.out}",flush=True) | |
| import shutil | |
| for fn in os.listdir(V2_PATH): | |
| if fn.endswith((".json",".model",".txt")) and "safetensors" not in fn: shutil.copy2(os.path.join(V2_PATH,fn),os.path.join(a.out,fn)) | |
| print("[merge] copied config+tokenizer from V2",flush=True) | |
| if __name__=="__main__": main() | |