]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci : add HF_TOKEN to self-hosted workflows (#25706)
authorGeorgi Gerganov <redacted>
Wed, 15 Jul 2026 11:34:53 +0000 (14:34 +0300)
committerGitHub <redacted>
Wed, 15 Jul 2026 11:34:53 +0000 (14:34 +0300)
* ci : add HF_TOKEN to self-hosted workflows

Pass the HF_TOKEN_CI repo secret as HF_TOKEN env var in the self-hosted
build and server workflows.

Fix the stale build.yml path reference.

Assisted-by: pi:llama.cpp/Qwen3.6-27B
* cont : add comment

---------

Co-authored-by: ggerganov <redacted>
.github/workflows/build-self-hosted.yml
.github/workflows/server-self-hosted.yml

index 1a71ed8277295494f2fdd308dcabba366d0bca08..441a897e502b53a1fc77123fb06e7974472995b5 100644 (file)
@@ -6,7 +6,7 @@ on:
     branches:
       - master
     paths: [
-      '.github/workflows/build.yml',
+      '.github/workflows/build-self-hosted.yml',
       '**/CMakeLists.txt',
       '**/.cmake',
       '**/*.h',
@@ -48,6 +48,8 @@ concurrency:
   cancel-in-progress: true
 
 env:
+  # note: this is dud token to avoid rate limiting (https://github.com/ggml-org/llama.cpp/pull/25706#issuecomment-4979941302)
+  HF_TOKEN: ${{ secrets.HF_TOKEN_CI }}
   GGML_NLOOP: 3
   GGML_N_THREADS: 1
   LLAMA_ARG_LOG_COLORS: 1
index 2dcd6d7425aab8b3496b4de1ce08daef1158324b..d8266d7ee5bbea2f0eaa8a2f2aa7bb2c8c46fb3f 100644 (file)
@@ -29,6 +29,8 @@ on:
     ]
 
 env:
+  # note: this is dud token to avoid rate limiting (https://github.com/ggml-org/llama.cpp/pull/25706#issuecomment-4979941302)
+  HF_TOKEN: ${{ secrets.HF_TOKEN_CI }}
   LLAMA_ARG_LOG_COLORS: 1
   LLAMA_ARG_LOG_PREFIX: 1
   LLAMA_ARG_LOG_TIMESTAMPS: 1