[CI] Use offline mode for nightly test (#5187)

### What this PR does / why we need it?
For single node test, the lack of a retry mechanism for accessing
ModelScope resulted in an HTTP 400 error sometimes. I recommend using a
local offline cache instead.

- vLLM version: v0.12.0
- vLLM main:
https://github.com/vllm-project/vllm/commit/ad32e3e19ccf0526cb6744a5fed09a138a5fb2f9
---------
Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
Li Wang authored and GitHub committed 2025-12-19 21:21:42 +08:00
1 parent 14931d2a86
commit 243ab7d720
3 files changed
+5 -2

No files matched your search

@@ -57,6 +57,9 @@ jobs:
timeout-minutes: 600
container:
image: ${{ inputs.image }}
env:
TRANSFORMERS_OFFLINE: 1
VLLM_USE_MODELSCOPE: True
steps:
- name: Check npu and CANN info
run: |
@@ -26,7 +26,7 @@ on:
- 'cmake/**'
- 'CMakeLists.txt'
- 'csrc/**'
types: [ labeled, synchronize ]
types: [ labeled ]
push:
# Publish image when tagging, the Dockerfile in tag will be build as tag image
branches: