Skip to content

scripts : add pr2wt.sh#18644

Merged
ggerganov merged 2 commits into
masterfrom
gg/scripts-add-review
Jan 7, 2026
Merged

scripts : add pr2wt.sh#18644
ggerganov merged 2 commits into
masterfrom
gg/scripts-add-review

Conversation

@ggerganov

@ggerganov ggerganov commented Jan 6, 2026

Copy link
Copy Markdown
Member

Helper script for quickly creating a git worktree from a PR.

Sample usage:

# create worktree in ../llama.cpp-pr-12345
./scripts/pr2wt.sh 12345

# create worktree and start opencode in it
./scripts/pr2wt.sh 12345 opencode

# chain multiple commands:
./scripts/pr2wt.sh 12345 "cmake -B build && cmake --build build"

@ngxson

ngxson commented Jan 6, 2026

Copy link
Copy Markdown
Collaborator

I didn't know about this feature in git, seems to be very useful

@am17an

am17an commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

You can also just do gh pr checkout <PR_NUMBER> --worktree if you have the github-cli

EDIT: sorry, that doesn't work

@ggerganov

ggerganov commented Jan 6, 2026

Copy link
Copy Markdown
Member Author

You can also just do gh pr checkout <PR_NUMBER> --worktree if you have the github-cli

Doesn't work:

  master [?1]  ~/development/github/llama.cpp 
 19:50:59 [1]  git pr checkout 18644 --worktree
checkout doesn't match the pr id pattern.
18644 doesn't match the pr id pattern.
--worktree doesn't match the pr id pattern.
  master [?1]  ~/development/github/llama.cpp 
 19:51:23 [1]  git pr checkout 18644
checkout doesn't match the pr id pattern.
18644 doesn't match the pr id pattern.
  master [?1]  ~/development/github/llama.cpp 
 19:51:24 [1]  git pr 18644 --worktree
error: unknown option `worktree'

Edit: was using git instead of gh ...

Still, it does not work even with gh:

$ gh pr checkout 18644 --worktree
unknown flag: --worktree
Usage:  gh pr checkout [<number> | <url> | <branch>] [flags]
Flags:
  -b, --branch string        Local branch name to use (default [the name of the head branch])
      --detach               Checkout PR with a detached HEAD
  -f, --force                Reset the existing local branch to the latest state of the pull request
      --recurse-submodules   Update all submodules after checkout

$ gh --version
gh version 2.83.2 (2025-12-10)
https://github.com/cli/cli/releases/tag/v2.83.2

@elfarolab

elfarolab commented Jan 6, 2026

Copy link
Copy Markdown

to test a PR I usually do:

cd into the llama.cpp repo dir and:

git fetch origin pull/PR_NUMBER/head:pr-branch

It will create a new branch named: pr-branch, then build as usual.
BTW this script is very useful.

@ggerganov

Copy link
Copy Markdown
Member Author

git fetch origin pull/PR_NUMBER/head:pr-branch

Yup, this almost works. I want to also have the git remote added so I can potentially push stuff to the PR branch.

@elfarolab

elfarolab commented Jan 6, 2026

Copy link
Copy Markdown

Let'see if this other idea will help you,

if I understood correctly your requirements..(https with token or use ssh instead):

git remote add fork https://github.com/ggml-org/llama.cpp.git
git fetch origin pull/PR_NUMBER/head:pr-branch
git checkout pr-branch
git branch --set-upstream-to=fork/pr-branch pr-branch

.. do your changes.. then as usual:

git add .
git commit -m "your message"
git push fork pr-branch

@CISC CISC left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread scripts/pr2wt.sh Outdated
@github-actions github-actions Bot added the script Script related label Jan 6, 2026
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
@ggerganov ggerganov merged commit 5642667 into master Jan 7, 2026
2 checks passed
@ggerganov ggerganov deleted the gg/scripts-add-review branch January 7, 2026 13:16
@elfarolab

Copy link
Copy Markdown

@ggerganov

sorry, I couldn't help testing this before.

I found an error.

I am running the script with PR #18641 , it is a draft PR, but still, there is work there to be tested.
running:

./scripts/pr2wt.sh 18641

result in this error:

./scripts/pr2wt.sh 18641
org/repo: ggml-org/llama.cpp.git
curl: (22) The requested URL returned error: 404
url:
head_ref:
error: No such remote: 'pr/18641'
usage: git remote add [<options>] <name> <url>

    -f, --fetch           fetch the remote branches
    --tags                import all tags and associated objects when fetching
                          or do not fetch any tag at all (--no-tags)
    -t, --track <branch>  branch(es) to track
    -m, --master <branch>
                          master branch
    --mirror[=(push|fetch)]
                          set up remote as a mirror to push to or fetch from

fatal: 'pr/18641' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Preparing worktree (new branch 'pr/18641')
./scripts/pr2wt.sh: line 57: cd: ../llama.cpp-pr-18641: No such file or directory
git worktree created in

Running the curl alone of LOC 40 results in error HTTP 404.

curl -sSf -H "Accept: application/vnd.github+json" "https://api.github.com/repos/ggml-org/llama.cpp.git/pulls/18641"
curl: (22) The requested URL returned error: 404

The error is due because at LOC 36, the results is: 'ggml-org/llama.cpp.git' but it should be: 'ggml-org/llama.cpp' instead.

Also before to continue to next steps, it is worth considering the output error of the curl, just in case.

Running the curl alone like this works:

curl -sSf -H "Accept: application/vnd.github+json" "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641"
Command Output { "url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641", "id": 3149612767, "node_id": "PR_kwDOJH_K4M67u0bf", "html_url": "https://github.com//pull/18641", "diff_url": "https://github.com//pull/18641.diff", "patch_url": "https://github.com//pull/18641.patch", "issue_url": "https://api.github.com/repos//issues/18641", "number": 18641, "state": "open", "locked": false, "title": "[Do Not Merge] model : LFM2.5-Audio-1.5B", "user": { "login": "tdakhran", "id": 20753751, "node_id": "MDQ6VXNlcjIwNzUzNzUx", "avatar_url": "https://avatars.githubusercontent.com/u/20753751?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tdakhran", "html_url": "https://github.com/tdakhran", "followers_url": "https://api.github.com/users/tdakhran/followers", "following_url": "https://api.github.com/users/tdakhran/following{/other_user}", "gists_url": "https://api.github.com/users/tdakhran/gists{/gist_id}", "starred_url": "https://api.github.com/users/tdakhran/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tdakhran/subscriptions", "organizations_url": "https://api.github.com/users/tdakhran/orgs", "repos_url": "https://api.github.com/users/tdakhran/repos", "events_url": "https://api.github.com/users/tdakhran/events{/privacy}", "received_events_url": "https://api.github.com/users/tdakhran/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "body": "Liquid AI released [LFM2.5-Audio-1.5B](https://huggingface.co/LiquidAI/LFM2.5-Audio-1.5B). \r\n\r\n> LFM2.5-Audio-1.5B is [Liquid AI](https://www.liquid.ai/)'s updated end-to-end audio foundation model. Key improvements include a custom, LFM based audio detokenizer, llama.cpp compatible GGUFs for CPU inference, and better ASR and TTS performance.\r\n\r\nThis PR is intended to provide a functional implementation in `llama.cpp` until necessary infrastructure is implemented.\r\nThe plan is to split and merge it into upstream in smaller chunks, while keeping and tracking functional implementation here. It will be rebased from time to time.\r\n\r\nGGUFs, precompiled runners, and instructions, live in https://huggingface.co/LiquidAI/LFM2.5-Audio-1.5B-GGUF.\r\n\r\nMerge plan:\r\n\r\n- [x] Support `n_embd_out` https://github.com//pull/18607\r\n- [ ] Support llama_memory_hybrid_iswa https://github.com//pull/18601\r\n- [x] istft for audio output https://github.com//pull/18645\r\n- [ ] reuse llama-model infra for audio tokenizer\r\n- [ ] tbd\r\n\r\nDemo of capabilities (watch with audio on)\r\n\r\nhttps://github.com/user-attachments/assets/bfb7e598-f3bb-4e19-8d93-967bbf912e18\r\n\r\nThank you, @ngxson for the help!", "created_at": "2026-01-06T14:25:07Z", "updated_at": "2026-01-07T13:56:01Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "44159cd83d4631b098d384cb569d83b1fe0e66af", "assignee": null, "assignees": [

],
"requested_reviewers": [

],
"requested_teams": [

],
"labels": [
{
"id": 5270851086,
"node_id": "LA_kwDOJH_K4M8AAAABOirODg",
"url": "https://api.github.com/repos/ggml-org/llama.cpp/labels/model",
"name": "model",
"color": "B3E178",
"default": false,
"description": "Model specific"
},
{
"id": 6604030498,
"node_id": "LA_kwDOJH_K4M8AAAABiaGCIg",
"url": "https://api.github.com/repos/ggml-org/llama.cpp/labels/examples",
"name": "examples",
"color": "FBCA84",
"default": false,
"description": ""
},
{
"id": 6928584321,
"node_id": "LA_kwDOJH_K4M8AAAABnPnOgQ",
"url": "https://api.github.com/repos/ggml-org/llama.cpp/labels/python",
"name": "python",
"color": "59FD6C",
"default": false,
"description": "python script changes"
},
{
"id": 6933667197,
"node_id": "LA_kwDOJH_K4M8AAAABnUddfQ",
"url": "https://api.github.com/repos/ggml-org/llama.cpp/labels/server",
"name": "server",
"color": "5D1768",
"default": false,
"description": ""
}
],
"milestone": null,
"draft": true,
"commits_url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641/commits",
"review_comments_url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641/comments",
"review_comment_url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues/18641/comments",
"statuses_url": "https://api.github.com/repos/ggml-org/llama.cpp/statuses/4a2f68a7f6189538e3c83e726b6c6962032bf568",
"head": {
"label": "tdakhran:tarek/feat/os-lfm2.5-audio-1.5b-upstream",
"ref": "tarek/feat/os-lfm2.5-audio-1.5b-upstream",
"sha": "4a2f68a7f6189538e3c83e726b6c6962032bf568",
"user": {
"login": "tdakhran",
"id": 20753751,
"node_id": "MDQ6VXNlcjIwNzUzNzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20753751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tdakhran",
"html_url": "https://github.com/tdakhran",
"followers_url": "https://api.github.com/users/tdakhran/followers",
"following_url": "https://api.github.com/users/tdakhran/following{/other_user}",
"gists_url": "https://api.github.com/users/tdakhran/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tdakhran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdakhran/subscriptions",
"organizations_url": "https://api.github.com/users/tdakhran/orgs",
"repos_url": "https://api.github.com/users/tdakhran/repos",
"events_url": "https://api.github.com/users/tdakhran/events{/privacy}",
"received_events_url": "https://api.github.com/users/tdakhran/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"repo": {
"id": 1118139352,
"node_id": "R_kgDOQqVz2A",
"name": "llama.cpp",
"full_name": "tdakhran/llama.cpp",
"private": false,
"owner": {
"login": "tdakhran",
"id": 20753751,
"node_id": "MDQ6VXNlcjIwNzUzNzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20753751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tdakhran",
"html_url": "https://github.com/tdakhran",
"followers_url": "https://api.github.com/users/tdakhran/followers",
"following_url": "https://api.github.com/users/tdakhran/following{/other_user}",
"gists_url": "https://api.github.com/users/tdakhran/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tdakhran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdakhran/subscriptions",
"organizations_url": "https://api.github.com/users/tdakhran/orgs",
"repos_url": "https://api.github.com/users/tdakhran/repos",
"events_url": "https://api.github.com/users/tdakhran/events{/privacy}",
"received_events_url": "https://api.github.com/users/tdakhran/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/tdakhran/llama.cpp",
"description": "LLM inference in C/C++",
"fork": true,
"url": "https://api.github.com/repos/tdakhran/llama.cpp",
"forks_url": "https://api.github.com/repos/tdakhran/llama.cpp/forks",
"keys_url": "https://api.github.com/repos/tdakhran/llama.cpp/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/tdakhran/llama.cpp/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/tdakhran/llama.cpp/teams",
"hooks_url": "https://api.github.com/repos/tdakhran/llama.cpp/hooks",
"issue_events_url": "https://api.github.com/repos/tdakhran/llama.cpp/issues/events{/number}",
"events_url": "https://api.github.com/repos/tdakhran/llama.cpp/events",
"assignees_url": "https://api.github.com/repos/tdakhran/llama.cpp/assignees{/user}",
"branches_url": "https://api.github.com/repos/tdakhran/llama.cpp/branches{/branch}",
"tags_url": "https://api.github.com/repos/tdakhran/llama.cpp/tags",
"blobs_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/tdakhran/llama.cpp/statuses/{sha}",
"languages_url": "https://api.github.com/repos/tdakhran/llama.cpp/languages",
"stargazers_url": "https://api.github.com/repos/tdakhran/llama.cpp/stargazers",
"contributors_url": "https://api.github.com/repos/tdakhran/llama.cpp/contributors",
"subscribers_url": "https://api.github.com/repos/tdakhran/llama.cpp/subscribers",
"subscription_url": "https://api.github.com/repos/tdakhran/llama.cpp/subscription",
"commits_url": "https://api.github.com/repos/tdakhran/llama.cpp/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/tdakhran/llama.cpp/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/tdakhran/llama.cpp/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/tdakhran/llama.cpp/contents/{+path}",
"compare_url": "https://api.github.com/repos/tdakhran/llama.cpp/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/tdakhran/llama.cpp/merges",
"archive_url": "https://api.github.com/repos/tdakhran/llama.cpp/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/tdakhran/llama.cpp/downloads",
"issues_url": "https://api.github.com/repos/tdakhran/llama.cpp/issues{/number}",
"pulls_url": "https://api.github.com/repos/tdakhran/llama.cpp/pulls{/number}",
"milestones_url": "https://api.github.com/repos/tdakhran/llama.cpp/milestones{/number}",
"notifications_url": "https://api.github.com/repos/tdakhran/llama.cpp/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/tdakhran/llama.cpp/labels{/name}",
"releases_url": "https://api.github.com/repos/tdakhran/llama.cpp/releases{/id}",
"deployments_url": "https://api.github.com/repos/tdakhran/llama.cpp/deployments",
"created_at": "2025-12-17T10:14:04Z",
"updated_at": "2025-12-17T10:14:04Z",
"pushed_at": "2026-01-07T10:32:42Z",
"git_url": "git://github.com/tdakhran/llama.cpp.git",
"ssh_url": "git@github.com:tdakhran/llama.cpp.git",
"clone_url": "https://github.com/tdakhran/llama.cpp.git",
"svn_url": "https://github.com/tdakhran/llama.cpp",
"homepage": "",
"size": 234904,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [

  ],
  "visibility": "public",
  "forks": 0,
  "open_issues": 0,
  "watchers": 0,
  "default_branch": "master"
}

},
"base": {
"label": "ggml-org:master",
"ref": "master",
"sha": "090b137e56a80b189dbced7d31e637951f3e123f",
"user": {
"login": "ggml-org",
"id": 134263123,
"node_id": "O_kgDOCACxUw",
"avatar_url": "https://avatars.githubusercontent.com/u/134263123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggml-org",
"html_url": "https://github.com/ggml-org",
"followers_url": "https://api.github.com/users/ggml-org/followers",
"following_url": "https://api.github.com/users/ggml-org/following{/other_user}",
"gists_url": "https://api.github.com/users/ggml-org/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ggml-org/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ggml-org/subscriptions",
"organizations_url": "https://api.github.com/users/ggml-org/orgs",
"repos_url": "https://api.github.com/users/ggml-org/repos",
"events_url": "https://api.github.com/users/ggml-org/events{/privacy}",
"received_events_url": "https://api.github.com/users/ggml-org/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"repo": {
"id": 612354784,
"node_id": "R_kgDOJH_K4A",
"name": "llama.cpp",
"full_name": "ggml-org/llama.cpp",
"private": false,
"owner": {
"login": "ggml-org",
"id": 134263123,
"node_id": "O_kgDOCACxUw",
"avatar_url": "https://avatars.githubusercontent.com/u/134263123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggml-org",
"html_url": "https://github.com/ggml-org",
"followers_url": "https://api.github.com/users/ggml-org/followers",
"following_url": "https://api.github.com/users/ggml-org/following{/other_user}",
"gists_url": "https://api.github.com/users/ggml-org/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ggml-org/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ggml-org/subscriptions",
"organizations_url": "https://api.github.com/users/ggml-org/orgs",
"repos_url": "https://api.github.com/users/ggml-org/repos",
"events_url": "https://api.github.com/users/ggml-org/events{/privacy}",
"received_events_url": "https://api.github.com/users/ggml-org/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/ggml-org/llama.cpp",
"description": "LLM inference in C/C++",
"fork": false,
"url": "https://api.github.com/repos/ggml-org/llama.cpp",
"forks_url": "https://api.github.com/repos/ggml-org/llama.cpp/forks",
"keys_url": "https://api.github.com/repos/ggml-org/llama.cpp/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/ggml-org/llama.cpp/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/ggml-org/llama.cpp/teams",
"hooks_url": "https://api.github.com/repos/ggml-org/llama.cpp/hooks",
"issue_events_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues/events{/number}",
"events_url": "https://api.github.com/repos/ggml-org/llama.cpp/events",
"assignees_url": "https://api.github.com/repos/ggml-org/llama.cpp/assignees{/user}",
"branches_url": "https://api.github.com/repos/ggml-org/llama.cpp/branches{/branch}",
"tags_url": "https://api.github.com/repos/ggml-org/llama.cpp/tags",
"blobs_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/ggml-org/llama.cpp/statuses/{sha}",
"languages_url": "https://api.github.com/repos/ggml-org/llama.cpp/languages",
"stargazers_url": "https://api.github.com/repos/ggml-org/llama.cpp/stargazers",
"contributors_url": "https://api.github.com/repos/ggml-org/llama.cpp/contributors",
"subscribers_url": "https://api.github.com/repos/ggml-org/llama.cpp/subscribers",
"subscription_url": "https://api.github.com/repos/ggml-org/llama.cpp/subscription",
"commits_url": "https://api.github.com/repos/ggml-org/llama.cpp/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/ggml-org/llama.cpp/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/ggml-org/llama.cpp/contents/{+path}",
"compare_url": "https://api.github.com/repos/ggml-org/llama.cpp/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/ggml-org/llama.cpp/merges",
"archive_url": "https://api.github.com/repos/ggml-org/llama.cpp/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/ggml-org/llama.cpp/downloads",
"issues_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues{/number}",
"pulls_url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls{/number}",
"milestones_url": "https://api.github.com/repos/ggml-org/llama.cpp/milestones{/number}",
"notifications_url": "https://api.github.com/repos/ggml-org/llama.cpp/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/ggml-org/llama.cpp/labels{/name}",
"releases_url": "https://api.github.com/repos/ggml-org/llama.cpp/releases{/id}",
"deployments_url": "https://api.github.com/repos/ggml-org/llama.cpp/deployments",
"created_at": "2023-03-10T18:58:00Z",
"updated_at": "2026-01-07T13:43:25Z",
"pushed_at": "2026-01-07T13:16:27Z",
"git_url": "git://github.com/ggml-org/llama.cpp.git",
"ssh_url": "git@github.com:ggml-org/llama.cpp.git",
"clone_url": "https://github.com/ggml-org/llama.cpp.git",
"svn_url": "https://github.com/ggml-org/llama.cpp",
"homepage": "",
"size": 282070,
"stargazers_count": 92581,
"watchers_count": 92581,
"language": "C++",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": true,
"forks_count": 14389,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 994,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [
"ggml"
],
"visibility": "public",
"forks": 14389,
"open_issues": 994,
"watchers": 92581,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641"
},
"html": {
"href": "#18641"
},
"issue": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/issues/18641"
},
"comments": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/issues/18641/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641/commits"
},
"statuses": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/statuses/4a2f68a7f6189538e3c83e726b6c6962032bf568"
}
},
"author_association": "CONTRIBUTOR",
"auto_merge": null,
"active_lock_reason": null,
"merged": false,
"mergeable": true,
"rebaseable": false,
"mergeable_state": "clean",
"merged_by": null,
"comments": 15,
"review_comments": 0,
"maintainer_can_modify": true,
"commits": 12,
"additions": 4237,
"deletions": 278,
"changed_files": 29
}
seaman@xyz:/opt/usbhd/SRC/llama.cpp$ curl -sSf -H "Accept: application/vnd.github+json" "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641"
{
"url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641",
"id": 3149612767,
"node_id": "PR_kwDOJH_K4M67u0bf",
"html_url": "#18641",
"diff_url": "https://github.com/ggml-org/llama.cpp/pull/18641.diff",
"patch_url": "https://github.com/ggml-org/llama.cpp/pull/18641.patch",
"issue_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues/18641",
"number": 18641,
"state": "open",
"locked": false,
"title": "[Do Not Merge] model : LFM2.5-Audio-1.5B",
"user": {
"login": "tdakhran",
"id": 20753751,
"node_id": "MDQ6VXNlcjIwNzUzNzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20753751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tdakhran",
"html_url": "https://github.com/tdakhran",
"followers_url": "https://api.github.com/users/tdakhran/followers",
"following_url": "https://api.github.com/users/tdakhran/following{/other_user}",
"gists_url": "https://api.github.com/users/tdakhran/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tdakhran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdakhran/subscriptions",
"organizations_url": "https://api.github.com/users/tdakhran/orgs",
"repos_url": "https://api.github.com/users/tdakhran/repos",
"events_url": "https://api.github.com/users/tdakhran/events{/privacy}",
"received_events_url": "https://api.github.com/users/tdakhran/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"body": "Liquid AI released LFM2.5-Audio-1.5B. \r\n\r\n> LFM2.5-Audio-1.5B is Liquid AI's updated end-to-end audio foundation model. Key improvements include a custom, LFM based audio detokenizer, llama.cpp compatible GGUFs for CPU inference, and better ASR and TTS performance.\r\n\r\nThis PR is intended to provide a functional implementation in llama.cpp until necessary infrastructure is implemented.\r\nThe plan is to split and merge it into upstream in smaller chunks, while keeping and tracking functional implementation here. It will be rebased from time to time.\r\n\r\nGGUFs, precompiled runners, and instructions, live in https://huggingface.co/LiquidAI/LFM2.5-Audio-1.5B-GGUF.\r\n\r\nMerge plan:\r\n\r\n- [x] Support n_embd_out https://github.com/ggml-org/llama.cpp/pull/18607\r\n- [ ] Support llama_memory_hybrid_iswa https://github.com/ggml-org/llama.cpp/pull/18601\r\n- [x] istft for audio output https://github.com/ggml-org/llama.cpp/pull/18645\r\n- [ ] reuse llama-model infra for audio tokenizer\r\n- [ ] tbd\r\n\r\nDemo of capabilities (watch with audio on)\r\n\r\nhttps://github.com/user-attachments/assets/bfb7e598-f3bb-4e19-8d93-967bbf912e18\r\n\r\nThank you, @ngxson for the help!",
"created_at": "2026-01-06T14:25:07Z",
"updated_at": "2026-01-07T13:56:01Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": "44159cd83d4631b098d384cb569d83b1fe0e66af",
"assignee": null,
"assignees": [

],
"requested_reviewers": [

],
"requested_teams": [

],
"labels": [
{
"id": 5270851086,
"node_id": "LA_kwDOJH_K4M8AAAABOirODg",
"url": "https://api.github.com/repos/ggml-org/llama.cpp/labels/model",
"name": "model",
"color": "B3E178",
"default": false,
"description": "Model specific"
},
{
"id": 6604030498,
"node_id": "LA_kwDOJH_K4M8AAAABiaGCIg",
"url": "https://api.github.com/repos/ggml-org/llama.cpp/labels/examples",
"name": "examples",
"color": "FBCA84",
"default": false,
"description": ""
},
{
"id": 6928584321,
"node_id": "LA_kwDOJH_K4M8AAAABnPnOgQ",
"url": "https://api.github.com/repos/ggml-org/llama.cpp/labels/python",
"name": "python",
"color": "59FD6C",
"default": false,
"description": "python script changes"
},
{
"id": 6933667197,
"node_id": "LA_kwDOJH_K4M8AAAABnUddfQ",
"url": "https://api.github.com/repos/ggml-org/llama.cpp/labels/server",
"name": "server",
"color": "5D1768",
"default": false,
"description": ""
}
],
"milestone": null,
"draft": true,
"commits_url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641/commits",
"review_comments_url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641/comments",
"review_comment_url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues/18641/comments",
"statuses_url": "https://api.github.com/repos/ggml-org/llama.cpp/statuses/4a2f68a7f6189538e3c83e726b6c6962032bf568",
"head": {
"label": "tdakhran:tarek/feat/os-lfm2.5-audio-1.5b-upstream",
"ref": "tarek/feat/os-lfm2.5-audio-1.5b-upstream",
"sha": "4a2f68a7f6189538e3c83e726b6c6962032bf568",
"user": {
"login": "tdakhran",
"id": 20753751,
"node_id": "MDQ6VXNlcjIwNzUzNzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20753751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tdakhran",
"html_url": "https://github.com/tdakhran",
"followers_url": "https://api.github.com/users/tdakhran/followers",
"following_url": "https://api.github.com/users/tdakhran/following{/other_user}",
"gists_url": "https://api.github.com/users/tdakhran/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tdakhran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdakhran/subscriptions",
"organizations_url": "https://api.github.com/users/tdakhran/orgs",
"repos_url": "https://api.github.com/users/tdakhran/repos",
"events_url": "https://api.github.com/users/tdakhran/events{/privacy}",
"received_events_url": "https://api.github.com/users/tdakhran/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"repo": {
"id": 1118139352,
"node_id": "R_kgDOQqVz2A",
"name": "llama.cpp",
"full_name": "tdakhran/llama.cpp",
"private": false,
"owner": {
"login": "tdakhran",
"id": 20753751,
"node_id": "MDQ6VXNlcjIwNzUzNzUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20753751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tdakhran",
"html_url": "https://github.com/tdakhran",
"followers_url": "https://api.github.com/users/tdakhran/followers",
"following_url": "https://api.github.com/users/tdakhran/following{/other_user}",
"gists_url": "https://api.github.com/users/tdakhran/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tdakhran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdakhran/subscriptions",
"organizations_url": "https://api.github.com/users/tdakhran/orgs",
"repos_url": "https://api.github.com/users/tdakhran/repos",
"events_url": "https://api.github.com/users/tdakhran/events{/privacy}",
"received_events_url": "https://api.github.com/users/tdakhran/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/tdakhran/llama.cpp",
"description": "LLM inference in C/C++",
"fork": true,
"url": "https://api.github.com/repos/tdakhran/llama.cpp",
"forks_url": "https://api.github.com/repos/tdakhran/llama.cpp/forks",
"keys_url": "https://api.github.com/repos/tdakhran/llama.cpp/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/tdakhran/llama.cpp/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/tdakhran/llama.cpp/teams",
"hooks_url": "https://api.github.com/repos/tdakhran/llama.cpp/hooks",
"issue_events_url": "https://api.github.com/repos/tdakhran/llama.cpp/issues/events{/number}",
"events_url": "https://api.github.com/repos/tdakhran/llama.cpp/events",
"assignees_url": "https://api.github.com/repos/tdakhran/llama.cpp/assignees{/user}",
"branches_url": "https://api.github.com/repos/tdakhran/llama.cpp/branches{/branch}",
"tags_url": "https://api.github.com/repos/tdakhran/llama.cpp/tags",
"blobs_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/tdakhran/llama.cpp/statuses/{sha}",
"languages_url": "https://api.github.com/repos/tdakhran/llama.cpp/languages",
"stargazers_url": "https://api.github.com/repos/tdakhran/llama.cpp/stargazers",
"contributors_url": "https://api.github.com/repos/tdakhran/llama.cpp/contributors",
"subscribers_url": "https://api.github.com/repos/tdakhran/llama.cpp/subscribers",
"subscription_url": "https://api.github.com/repos/tdakhran/llama.cpp/subscription",
"commits_url": "https://api.github.com/repos/tdakhran/llama.cpp/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/tdakhran/llama.cpp/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/tdakhran/llama.cpp/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/tdakhran/llama.cpp/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/tdakhran/llama.cpp/contents/{+path}",
"compare_url": "https://api.github.com/repos/tdakhran/llama.cpp/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/tdakhran/llama.cpp/merges",
"archive_url": "https://api.github.com/repos/tdakhran/llama.cpp/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/tdakhran/llama.cpp/downloads",
"issues_url": "https://api.github.com/repos/tdakhran/llama.cpp/issues{/number}",
"pulls_url": "https://api.github.com/repos/tdakhran/llama.cpp/pulls{/number}",
"milestones_url": "https://api.github.com/repos/tdakhran/llama.cpp/milestones{/number}",
"notifications_url": "https://api.github.com/repos/tdakhran/llama.cpp/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/tdakhran/llama.cpp/labels{/name}",
"releases_url": "https://api.github.com/repos/tdakhran/llama.cpp/releases{/id}",
"deployments_url": "https://api.github.com/repos/tdakhran/llama.cpp/deployments",
"created_at": "2025-12-17T10:14:04Z",
"updated_at": "2025-12-17T10:14:04Z",
"pushed_at": "2026-01-07T10:32:42Z",
"git_url": "git://github.com/tdakhran/llama.cpp.git",
"ssh_url": "git@github.com:tdakhran/llama.cpp.git",
"clone_url": "https://github.com/tdakhran/llama.cpp.git",
"svn_url": "https://github.com/tdakhran/llama.cpp",
"homepage": "",
"size": 234904,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": false,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [

  ],
  "visibility": "public",
  "forks": 0,
  "open_issues": 0,
  "watchers": 0,
  "default_branch": "master"
}

},
"base": {
"label": "ggml-org:master",
"ref": "master",
"sha": "090b137e56a80b189dbced7d31e637951f3e123f",
"user": {
"login": "ggml-org",
"id": 134263123,
"node_id": "O_kgDOCACxUw",
"avatar_url": "https://avatars.githubusercontent.com/u/134263123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggml-org",
"html_url": "https://github.com/ggml-org",
"followers_url": "https://api.github.com/users/ggml-org/followers",
"following_url": "https://api.github.com/users/ggml-org/following{/other_user}",
"gists_url": "https://api.github.com/users/ggml-org/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ggml-org/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ggml-org/subscriptions",
"organizations_url": "https://api.github.com/users/ggml-org/orgs",
"repos_url": "https://api.github.com/users/ggml-org/repos",
"events_url": "https://api.github.com/users/ggml-org/events{/privacy}",
"received_events_url": "https://api.github.com/users/ggml-org/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"repo": {
"id": 612354784,
"node_id": "R_kgDOJH_K4A",
"name": "llama.cpp",
"full_name": "ggml-org/llama.cpp",
"private": false,
"owner": {
"login": "ggml-org",
"id": 134263123,
"node_id": "O_kgDOCACxUw",
"avatar_url": "https://avatars.githubusercontent.com/u/134263123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggml-org",
"html_url": "https://github.com/ggml-org",
"followers_url": "https://api.github.com/users/ggml-org/followers",
"following_url": "https://api.github.com/users/ggml-org/following{/other_user}",
"gists_url": "https://api.github.com/users/ggml-org/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ggml-org/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ggml-org/subscriptions",
"organizations_url": "https://api.github.com/users/ggml-org/orgs",
"repos_url": "https://api.github.com/users/ggml-org/repos",
"events_url": "https://api.github.com/users/ggml-org/events{/privacy}",
"received_events_url": "https://api.github.com/users/ggml-org/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/ggml-org/llama.cpp",
"description": "LLM inference in C/C++",
"fork": false,
"url": "https://api.github.com/repos/ggml-org/llama.cpp",
"forks_url": "https://api.github.com/repos/ggml-org/llama.cpp/forks",
"keys_url": "https://api.github.com/repos/ggml-org/llama.cpp/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/ggml-org/llama.cpp/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/ggml-org/llama.cpp/teams",
"hooks_url": "https://api.github.com/repos/ggml-org/llama.cpp/hooks",
"issue_events_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues/events{/number}",
"events_url": "https://api.github.com/repos/ggml-org/llama.cpp/events",
"assignees_url": "https://api.github.com/repos/ggml-org/llama.cpp/assignees{/user}",
"branches_url": "https://api.github.com/repos/ggml-org/llama.cpp/branches{/branch}",
"tags_url": "https://api.github.com/repos/ggml-org/llama.cpp/tags",
"blobs_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/ggml-org/llama.cpp/statuses/{sha}",
"languages_url": "https://api.github.com/repos/ggml-org/llama.cpp/languages",
"stargazers_url": "https://api.github.com/repos/ggml-org/llama.cpp/stargazers",
"contributors_url": "https://api.github.com/repos/ggml-org/llama.cpp/contributors",
"subscribers_url": "https://api.github.com/repos/ggml-org/llama.cpp/subscribers",
"subscription_url": "https://api.github.com/repos/ggml-org/llama.cpp/subscription",
"commits_url": "https://api.github.com/repos/ggml-org/llama.cpp/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/ggml-org/llama.cpp/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/ggml-org/llama.cpp/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/ggml-org/llama.cpp/contents/{+path}",
"compare_url": "https://api.github.com/repos/ggml-org/llama.cpp/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/ggml-org/llama.cpp/merges",
"archive_url": "https://api.github.com/repos/ggml-org/llama.cpp/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/ggml-org/llama.cpp/downloads",
"issues_url": "https://api.github.com/repos/ggml-org/llama.cpp/issues{/number}",
"pulls_url": "https://api.github.com/repos/ggml-org/llama.cpp/pulls{/number}",
"milestones_url": "https://api.github.com/repos/ggml-org/llama.cpp/milestones{/number}",
"notifications_url": "https://api.github.com/repos/ggml-org/llama.cpp/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/ggml-org/llama.cpp/labels{/name}",
"releases_url": "https://api.github.com/repos/ggml-org/llama.cpp/releases{/id}",
"deployments_url": "https://api.github.com/repos/ggml-org/llama.cpp/deployments",
"created_at": "2023-03-10T18:58:00Z",
"updated_at": "2026-01-07T13:43:25Z",
"pushed_at": "2026-01-07T13:16:27Z",
"git_url": "git://github.com/ggml-org/llama.cpp.git",
"ssh_url": "git@github.com:ggml-org/llama.cpp.git",
"clone_url": "https://github.com/ggml-org/llama.cpp.git",
"svn_url": "https://github.com/ggml-org/llama.cpp",
"homepage": "",
"size": 282070,
"stargazers_count": 92581,
"watchers_count": 92581,
"language": "C++",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": true,
"forks_count": 14389,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 994,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [
"ggml"
],
"visibility": "public",
"forks": 14389,
"open_issues": 994,
"watchers": 92581,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641"
},
"html": {
"href": "#18641"
},
"issue": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/issues/18641"
},
"comments": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/issues/18641/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/pulls/18641/commits"
},
"statuses": {
"href": "https://api.github.com/repos/ggml-org/llama.cpp/statuses/4a2f68a7f6189538e3c83e726b6c6962032bf568"
}
},
"author_association": "CONTRIBUTOR",
"auto_merge": null,
"active_lock_reason": null,
"merged": false,
"mergeable": true,
"rebaseable": false,
"mergeable_state": "clean",
"merged_by": null,
"comments": 15,
"review_comments": 0,
"maintainer_can_modify": true,
"commits": 12,
"additions": 4237,
"deletions": 278,
"changed_files": 29
}

If you like I can help fixing this.

Thank you so much for all your work.

@elfarolab

Copy link
Copy Markdown

@ggerganov

to get rid of the trailing part (.git) you can do this:

org_repo=$(echo $url_origin | cut -d/ -f4- | sed 's/\..*$//')

to check the output error status of curl:

meta=$(curl -sSf ... ) || { echo "curl failed"; exit 1; }

@ggerganov ggerganov mentioned this pull request Apr 26, 2026
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* scripts : add pr2wt.sh

* script : shebang

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
* scripts : add pr2wt.sh

* script : shebang

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
* scripts : add pr2wt.sh

* script : shebang

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
* scripts : add pr2wt.sh

* script : shebang

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
phibya pushed a commit to ziee-ai/llama.cpp that referenced this pull request May 29, 2026
* scripts : add pr2wt.sh

* script : shebang

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
fewtarius pushed a commit to fewtarius/CachyLLama that referenced this pull request May 30, 2026
* scripts : add pr2wt.sh

* script : shebang

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
* scripts : add pr2wt.sh

* script : shebang

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

script Script related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants