File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -82,18 +82,10 @@ jobs:
8282 - name : Download models
8383 run : |
8484 echo "Downloading minimal models for CI..."
85- # Authenticate with HuggingFace if token is available
86- # Note: For PRs from forks, HF_TOKEN is not available (GitHub security feature)
87- # The makefile will gracefully skip gated models (e.g., embeddinggemma-300m) if token is missing
88- if [ -n "${HF_TOKEN:-}" ]; then
89- huggingface-cli login --token "$HF_TOKEN" --add-to-git-credential
90- export HUGGINGFACE_HUB_TOKEN="$HF_TOKEN"
91- fi
9285 make download-models
9386 env :
9487 CI : true
9588 CI_MINIMAL_MODELS : true
96- HF_TOKEN : ${{ secrets.HF_TOKEN }}
9789 HF_HUB_ENABLE_HF_TRANSFER : 1
9890 HF_HUB_DISABLE_TELEMETRY : 1
9991 # HF_TOKEN is required for downloading gated models (e.g., embeddinggemma-300m)
Original file line number Diff line number Diff line change @@ -169,7 +169,6 @@ download-models-full: ## Download all models used in local development and docs
169169 @if [ ! -f " models/halugate-sentinel/.downloaded" ] || [ ! -d " models/halugate-sentinel" ]; then \
170170 hf download LLM-Semantic-Router/halugate-sentinel --local-dir models/halugate-sentinel && printf ' %s\n' " $$ (date -u +%Y-%m-%dT%H:%M:%SZ)" > models/halugate-sentinel/.downloaded; \
171171 fi
172- >>>>>>> fee395f (feat : re-enable EmbeddingGemma-300m support)
173172
174173# Download only LoRA and advanced embedding models (for CI after minimal tests)
175174download-models-lora :
You can’t perform that action at this time.
0 commit comments