Qwen Mtp Gguf
R6410418/Jackrong-llm-finetuning-guide
Complete agent-ready workflow for Qwen-family MTP or nextn GGUF conversion and release.
A skill your agent uses when changing mesh-llm's llama.cpp patch queue, upstream pin, prepare/build scripts, or carried RPC, MoE, and mesh-hook llama.cpp patches.
$ npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Mesh-LLM/mesh-llm llama-patch-changes --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Mesh-LLM/mesh-llm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/llama-patch-changes .claude/skills/llama-patch-changes && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "llama-patch-changes" agent skill from https://github.com/Mesh-LLM/mesh-llm/tree/main/.agents/skills/llama-patch-changes into .claude/skills/llama-patch-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-patch-changes", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Mesh-LLM/mesh-llm/tree/main/.agents/skills/llama-patch-changesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Mesh-LLM/mesh-llm llama-patch-changes --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mesh-LLM/mesh-llm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/llama-patch-changes .agents/skills/llama-patch-changes && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "llama-patch-changes" agent skill from https://github.com/Mesh-LLM/mesh-llm/tree/main/.agents/skills/llama-patch-changes into .agents/skills/llama-patch-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-patch-changes", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Mesh-LLM/mesh-llm llama-patch-changes --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mesh-LLM/mesh-llm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/llama-patch-changes .cursor/skills/llama-patch-changes && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "llama-patch-changes" agent skill from https://github.com/Mesh-LLM/mesh-llm/tree/main/.agents/skills/llama-patch-changes into .cursor/skills/llama-patch-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-patch-changes", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Mesh-LLM/mesh-llm.git --path .agents/skills/llama-patch-changes--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Mesh-LLM/mesh-llm llama-patch-changes --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mesh-LLM/mesh-llm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/llama-patch-changes .gemini/skills/llama-patch-changes && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "llama-patch-changes" agent skill from https://github.com/Mesh-LLM/mesh-llm/tree/main/.agents/skills/llama-patch-changes into .gemini/skills/llama-patch-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-patch-changes", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Mesh-LLM/mesh-llm llama-patch-changesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Mesh-LLM/mesh-llm.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/llama-patch-changes .github/skills/llama-patch-changes && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "llama-patch-changes" agent skill from https://github.com/Mesh-LLM/mesh-llm/tree/main/.agents/skills/llama-patch-changes into .github/skills/llama-patch-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-patch-changes", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Mesh-LLM/mesh-llm llama-patch-changes --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Mesh-LLM/mesh-llm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/llama-patch-changes .opencode/skills/llama-patch-changes && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "llama-patch-changes" agent skill from https://github.com/Mesh-LLM/mesh-llm/tree/main/.agents/skills/llama-patch-changes into .opencode/skills/llama-patch-changes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llama-patch-changes", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
llama-patch-changesA skill your agent uses when changing mesh-llm's llama.cpp patch queue, upstream pin, prepare/build scripts, or carried RPC, MoE, and mesh-hook llama.cpp patches.
Llama Patch Changes is an agent skill from Mesh-LLM/mesh-llm. Use when changing mesh-llm's llama.cpp patch queue, upstream pin, prepare/build scripts, or carried RPC, MoE, and mesh-hook llama.cpp patches.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering LLM inference and serving. It works with llama.cpp. The repository describes itself as: Distributed AI/LLM for the people. Share compute privately or publicly to power your agents and chat. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 48bf685. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitcargojustcurlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Llama Patch Changes loads about 1.9k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 712 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Mesh-LLM/mesh-llm at commit 48bf685, republished under its Apache-2.0 licence (© Mesh-LLM). 712 words, ~1,882 tokens.
.claude/skills/llama-patch-changes/SKILL.md (or your agent's skills folder).Use this skill when editing the llama.cpp patch queue, refreshing patches from a llama.cpp checkout, updating the pinned upstream SHA, or changing build scripts that prepare or consume patched llama.cpp.
skippy/llama_cpp/patches: top-level core patches first,
model_support/series second, and generated/series last.skippy/llama_cpp/upstream.txt..deps/llama.cpp as durable until the patch queue has
been regenerated and committed.model_support/. Do not spread family-specific code through core patches.generated/; do not hand-maintain
them in either the core or model-support lane.Prepare the pinned upstream checkout and current patch queue:
scripts/prepare-llama.sh pinnedFor actual llama-side editing, prefer a normal llama.cpp checkout or branch
where commits can be named and inspected. Base the branch on upstream
ggml-org/llama.cpp master, then carry the Mesh-LLM patch commits on top.
For a deliberate queue rewrite, reconstruct capability-owned core commits from
the pinned upstream, add model-family support commits, then add the generated
family shards. Verify the reconstructed head is tree-identical to the
authoritative final checkout before regenerating each queue lane. Preserve the
model_support/series and generated/series manifests explicitly rather than
flattening their patches into the top-level queue.
repo_root="$(pwd)"
llama_checkout="${LLAMA_CHECKOUT:-$repo_root/.deps/llama.cpp}"
patch_backup="$(mktemp -d /tmp/mesh-llm-patches.XXXXXX)"
patch_root="$repo_root/skippy/llama_cpp/patches"
mkdir -p "$patch_backup/core"
mv "$patch_root"/*.patch "$patch_backup/core/"
mv "$patch_root/model_support" "$patch_backup/model_support"
mkdir -p "$patch_root/model_support"
git -C "$llama_checkout" format-patch \
--start-number 1 \
--output-directory "$patch_root" \
"$(cat "$repo_root/skippy/llama_cpp/upstream.txt")..<core-head>"
git -C "$llama_checkout" format-patch \
--start-number 1 \
--output-directory "$patch_root/model_support" \
"<core-head>..<model-support-head>"Regenerate model_support/series from the sorted patch filenames. Leave the
generated lane in place unless its generator inputs changed; if they did,
regenerate it with the deterministic family-patch workflow rather than moving
or formatting those commits by hand.
Keep the temporary backup until clean patch application and the required native build pass. Ordinary focused changes may append a patch without rebuilding unrelated functional boundaries.
Validate that patches apply in a clean checkout:
tmp_llama="$(mktemp -d /tmp/mesh-llm-llama.XXXXXX)"
trap 'rm -rf -- "$tmp_llama"' EXIT
LLAMA_WORKDIR="$tmp_llama" scripts/prepare-llama.sh pinnedFor normal mesh-llm validation, use the repository build workflow:
just buildFor Rust-only fallout from build-system or runtime call-site changes:
cargo fmt --all --check
cargo check -p mesh-llmRun Cargo commands serially. This repo frequently hits Cargo lock conflicts when multiple Cargo commands run at once.
A clean patch replay plus a green build does not prove the runtime works.
Metal shaders in ggml-metal.metal are JIT-compiled on-device at first model
open, so a broken shader builds green everywhere and only fails at load time.
Machine-reconciled patches can also silently drop arch cases from switches in
src/llama-model.cpp (for example llama_model_rope_type), which only fail
when a model of that arch creates a context.
After any queue change that touches backend sources (.metal, CUDA, Vulkan),
ggml.c/ggml-*.h kernel argument structs, or src/llama-model.cpp switch
statements, load a small real model on your local backend and confirm one
completion returns:
./target/debug/mesh-llm serve --model "Qwen/Qwen2.5-3B-Instruct-GGUF@main:q4_k_m" --log-format json
# wait for the model to appear, then:
curl -s http://127.0.0.1:9337/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"Qwen/Qwen2.5-3B-Instruct-GGUF:q4_k_m","messages":[{"role":"user","content":"Say OK"}],"max_tokens":5}'On a Mac this exercises the Metal shader JIT path directly. Watch the JSON log
for metal_library_init: error and model-open failure. If the change adds or
touches support for a specific model family, spot-check a model of that family
as well.
When regenerating the queue against a new upstream pin, also diff the arch case lists of reconciled switches against upstream and account for every deletion:
# example: rope-type switch parity
git -C .deps/llama.cpp show <upstream-pin>:src/llama-model.cpp \
| awk '/llama_rope_type llama_model_rope_type/,/^}$/' \
| grep -oE "LLM_ARCH_[A-Z0-9_]+" | sort > /tmp/upstream-cases.txt
awk '/llama_rope_type llama_model_rope_type/,/^}$/' .deps/llama.cpp/src/llama-model.cpp \
| grep -oE "LLM_ARCH_[A-Z0-9_]+" | sort > /tmp/patched-cases.txt
comm -23 /tmp/upstream-cases.txt /tmp/patched-cases.txt # must be empty or explainedTest the queue against current upstream without moving the pin:
scripts/prepare-llama.sh latest
just build
cargo test -p mesh-llm --libIf the queue applies and validation passes, update the upstream pin:
cp skippy/llama_cpp/upstream.txt /tmp/old-llama-upstream.txt
git -C .deps/llama.cpp rev-parse "$(cat .deps/llama.cpp/.git/mesh-llm-upstream-sha)" > skippy/llama_cpp/upstream.txtCommit the pin update with any patch refreshes.
scripts/prepare-llama.sh configures local git identity for git am; keep
that responsibility there for fresh CI checkouts.git diff --check reports. Do not hand-normalize patches in
a way that changes or breaks git am..deps/llama.cpp/build; the root llama.cpp
symlink is compatibility-only.GGML_RPC=ON, BUILD_SHARED_LIBS=OFF, and
LLAMA_OPENSSL=OFF; preserve CPU, Metal, CUDA, Vulkan, and ROCm behavior
when touching build scripts.mesh-llm/docs/LLAMA_CPP_FORK.md for the full patch-queue maintenance
notes and mesh-llm/docs/LLAMA_STAGE_INTEGRATION_PLAN.md for deferred
llama-stage integration.© Mesh-LLM, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/llama-patch-changes of Mesh-LLM/mesh-llm.
Open the folder on GitHubat commit 48bf685
Llama Patch Changes next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Llama Patch Changes this skillMesh-LLM/mesh-llm | 3.5k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Qwen Mtp GgufR6410418/Jackrong-llm-finetuning-guide | 1.7k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Hugging Face Local Modelshuggingface/skills | 11k | 3 repos | ~945 | Automated safety check: Pass | Apache-2.0 | |
| Add Quantization Datatypeintel/auto-round | 1.6k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Quantized Exportwshobson/agents | 40k | — | ~2k | Automated safety check: Pass | MIT | |
| Distil Pii RedactorHybridAIOne/hybridclaw | 158 | — | ~1k | Automated safety check: Pass | MIT |
R6410418/Jackrong-llm-finetuning-guide
Complete agent-ready workflow for Qwen-family MTP or nextn GGUF conversion and release.
huggingface/skills
Finds llama.cpp-compatible GGUF models on the Hugging Face Hub, picks a quantization for your hardware and launches them with llama-cli or llama-server.
intel/auto-round
Add a new quantization data type to AutoRound (e.g., INT, FP8, MXFP, NVFP, GGUF variants).
wshobson/agents
Export a promoted fine-tuned model in the right deployment format — merged safetensors, LoRA-only, GGUF with imatrix, or FP8.
HybridAIOne/hybridclaw
Redact, anonymize, sanitize, or remove PII locally with Distil-PII and llama.cpp; keep personal data and secret values out of model context, logs, and chat.
AnastasiyaW/codex-claude-code-config
Machine-learning research loop for dataset curation, fine-tuning, evaluation, inference deployment, experiment tracking, and model explainability.
Mesh-LLM/mesh-llm
A skill your agent uses when validating a MeshLLM release candidate or current HEAD against the last GitHub release, assembling the canonical feature/fix/modification inventory, testing locally…
Mesh-LLM/mesh-llm
A skill your agent uses when running, debugging, interpreting, or documenting mesh-llm benchmark tune model-serving throughput trials, including choosing…
Mesh-LLM/mesh-llm
A skill your agent uses when adding, renaming, removing, validating, or exposing mesh-llm config settings, including built-in settings, plugin config schemas, owner-control apply behavior, CLI…
Mesh-LLM/mesh-llm
A skill your agent uses when connecting agent tools or OpenAI clients to mesh-llm — launching or configuring Goose, Claude Code, OpenCode, Pi, curl, or any OpenAI-compatible client against a local…
Mesh-LLM/mesh-llm
A skill your agent uses when converting Hugging Face SafeTensors checkpoints into split BF16 GGUF model repos with skippy-quantize on Hugging Face Jobs or a local machine, then publishing the…
Mesh-LLM/mesh-llm
A skill your agent uses when creating, monitoring, validating, or documenting low-memory Hugging Face Jobs or local runs that quantize split BF16/FP16 GGUF model repos into custom quant GGUF repos…
Works with
Categories
A skill your agent uses when changing mesh-llm's llama.cpp patch queue, upstream pin, prepare/build scripts, or carried RPC, MoE, and mesh-hook llama.cpp patches. Llama Patch Changes is an agent skill from Mesh-LLM/mesh-llm.cpp patches.
Llama Patch Changes fits situations like: changing mesh-llms llama.cpp patch queue; prepare/build scripts; mesh-hook llama.cpp patches.
Run `npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a claude-code`. Or copy the skill folder (.agents/skills/llama-patch-changes in Mesh-LLM/mesh-llm) into .claude/skills/llama-patch-changes in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a codex`. Or copy the skill folder (.agents/skills/llama-patch-changes in Mesh-LLM/mesh-llm) into .agents/skills/llama-patch-changes in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mesh-LLM/mesh-llm --skill llama-patch-changes -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llama-patch-changes, .gemini/skills/llama-patch-changes, .github/skills/llama-patch-changes and .opencode/skills/llama-patch-changes in your project.
Going by SKILL.md and its folder, Llama Patch Changes needs the command-line tools its instructions call (git, cargo, just and curl).
SKILL.md contains no URLs. Its commands use git and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Llama Patch Changes is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Llama Patch Changes: Qwen Mtp Gguf (R6410418/Jackrong-llm-finetuning-guide, 1.7k stars), Hugging Face Local Models (huggingface/skills, 11k stars), Add Quantization Datatype (intel/auto-round, 1.6k stars) and Quantized Export (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Mesh-LLM (a GitHub organization) maintains it in Mesh-LLM/mesh-llm, which has 3,485 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 8, 2026.
Source: Mesh-LLM/mesh-llm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.