OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[TESTS][LLM] Enabled force offline mode (#33873)
Mikhail Ryzhove591f2706c2b
diff --git a/tests/llm/accuracy_conformance.py b/tests/llm/accuracy_conformance.pyindex a857a534d60..b332b434d98 100644--- a/tests/llm/accuracy_conformance.py+++ b/tests/llm/accuracy_conformance.py@@ -102,8 +102,8 @@ def setup_model(model_id):# Download original modelmodel_cached = snapshot_download(model_id) # required to avoid HF rate limits- model = AutoModelForCausalLM.from_pretrained(model_cached)- tokenizer = AutoTokenizer.from_pretrained(model_cached)+ model = AutoModelForCausalLM.from_pretrained(model_cached, local_files_only=True)+ tokenizer = AutoTokenizer.from_pretrained(model_cached, local_files_only=True)# Save original modelmodel_path = get_model_path(model_id, "org")