Skip to content

fix: rename llama-sampling to llama-sampler in bootstrap.sh#290

Merged
jhen0409 merged 3 commits intomybigday:mainfrom
a-ghorbani:fix/rename-llama-sampling-to-sampler
Feb 11, 2026
Merged

fix: rename llama-sampling to llama-sampler in bootstrap.sh#290
jhen0409 merged 3 commits intomybigday:mainfrom
a-ghorbani:fix/rename-llama-sampling-to-sampler

Conversation

@a-ghorbani
Copy link
Copy Markdown
Collaborator

Summary

Upstream llama.cpp PR #19363 renamed src/llama-sampling.{h,cpp} to src/llama-sampler.{h,cpp}, which breaks the sync-llama-cpp CI workflow:

cp: cannot stat './third_party/llama.cpp/src/llama-sampling.h': No such file or directory

This PR:

  • Updates the two cp commands in scripts/bootstrap.sh to reference the new filenames
  • Removes the old cpp/llama-sampling.{h,cpp} files (would cause duplicate symbols since the build system uses glob patterns)

No other changes needed — cpp/llama-grammar.cpp is copied from upstream and will pick up #include "llama-sampler.h" automatically, and CMakeLists/podspec use glob patterns.

actions-user and others added 3 commits February 10, 2026 20:06
Upstream llama.cpp PR #19363 renamed llama-sampling.{h,cpp} to
llama-sampler.{h,cpp}. Update the bootstrap copy commands and
remove the old files to fix the sync-llama-cpp CI workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update submodule to include the llama-sampling -> llama-sampler
rename (PR #19363) so bootstrap.sh can find the new filenames.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Updated cpp sources from llama.cpp b7988 via bootstrap.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@a-ghorbani a-ghorbani marked this pull request as draft February 10, 2026 19:32
@a-ghorbani a-ghorbani marked this pull request as ready for review February 10, 2026 19:50
@a-ghorbani a-ghorbani requested a review from jhen0409 February 10, 2026 19:50
@a-ghorbani a-ghorbani changed the title fix(scripts): rename llama-sampling to llama-sampler in bootstrap.sh fix: rename llama-sampling to llama-sampler in bootstrap.sh Feb 10, 2026
@a-ghorbani
Copy link
Copy Markdown
Collaborator Author

@jhen0409 This fixes the sync-llama-cpp CI failure (we were seeing in the actions). Ready for review, let me know if anything needs adjusting.

@jhen0409 jhen0409 merged commit 1a8229c into mybigday:main Feb 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants