From 9453f9de12a7c3b55dbdcf5b81bf1305810667d8 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 31 Jan 2026 16:32:39 +0200 Subject: [PATCH] examples: use HF_HUB_OFFLINE to avoid HF Hub warnings --- examples/llama-eval/llama-eval-new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/llama-eval/llama-eval-new.py b/examples/llama-eval/llama-eval-new.py index 1026ecee44..d87fe0b817 100755 --- a/examples/llama-eval/llama-eval-new.py +++ b/examples/llama-eval/llama-eval-new.py @@ -15,7 +15,7 @@ from tqdm import tqdm cache_dir = Path.home() / ".cache" / "huggingface" / "datasets" cache_dir.mkdir(parents=True, exist_ok=True) os.environ["HF_DATASETS_CACHE"] = str(cache_dir) -os.environ["HF_HUB_DISABLE_TELEMETRY"] = "1" +os.environ["HF_HUB_OFFLINE"] = "1" GRADER_PATTERNS = { "aime": r'\boxed{(\d+)}|\b(\d+)\b',