Skip to content

Commit 8d2a605

Browse files
committed
fix the path
1 parent 64985f7 commit 8d2a605

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/scripts/run_vllm_profiling.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ main() {
173173
# Setup phase
174174
print_configuration
175175
install_dependencies
176-
setup_workspace
176+
# setup_workspace
177177

178178
# Determine the profiling test file based on device type
179179
local device_name="${DEVICE_NAME:-cuda}"
180-
local profiling_test_file="/tmp/workspace/vllm-profiling/${device_name}/profiling-tests.json"
180+
local profiling_test_file="vllm-profiling/${device_name}/profiling-tests.json"
181181

182182
echo "Looking for profiling test file: $profiling_test_file"
183183

@@ -187,7 +187,7 @@ main() {
187187
else
188188
echo "Error: No profiling test file found at $profiling_test_file"
189189
echo "Available files in vllm-profiling/:"
190-
find /tmp/workspace/vllm-profiling/ -name "*.json" 2>/dev/null || echo "No JSON files found"
190+
find vllm-profiling/ -name "*.json" 2>/dev/null || echo "No JSON files found"
191191
exit 1
192192
fi
193193

.github/workflows/vllm-profiling.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/checkout@v4
5757
with:
5858
repository: vllm-project/vllm
59-
path: vllm
59+
path: vllm-profiling/vllm
6060
ref: ${{ inputs.vllm_branch || 'main' }}
6161
fetch-depth: 0
6262

@@ -135,7 +135,7 @@ jobs:
135135
echo "DOCKER_IMAGE_SUFFIX=$DOCKER_IMAGE_SUFFIX" >> $GITHUB_ENV
136136
137137
- name: Check for last commit
138-
working-directory: vllm
138+
working-directory: vllm-profiling/vllm
139139
env:
140140
HEAD_BRANCH: ${{ inputs.vllm_branch || 'main' }}
141141
HEAD_SHA: ${{ inputs.vllm_commit || '' }}
@@ -184,7 +184,7 @@ jobs:
184184
DOCKER_IMAGE: ${{ env.DOCKER_IMAGE_PREFIX }}:${{ env.HEAD_SHA }}${{ env.DOCKER_IMAGE_SUFFIX }}
185185
# vLLM-related environment variables
186186
VLLM_USE_MODELSCOPE: false
187-
VLLM_TORCH_PROFILER_DIR: /tmp/workspace/vllm/vllm_profile
187+
VLLM_TORCH_PROFILER_DIR: /tmp/workspace/vllm-profiling/profiling-results
188188
CUDA_VISIBLE_DEVICES: 0
189189
VLLM_USE_V1: 1
190190

@@ -220,10 +220,10 @@ jobs:
220220
-w /tmp/workspace \
221221
"${DOCKER_IMAGE}"
222222
)
223-
docker exec -t "${container_name}" bash -c "bash .github/scripts/run_vllm_profiling.sh"
223+
docker exec -t "${container_name}" bash -c "cd vllm-profiling && bash ../.github/scripts/run_vllm_profiling.sh"
224224
225225
# Keep a copy of the profiling results on GitHub for reference
226226
- uses: actions/upload-artifact@v4
227227
with:
228228
name: profiling-results--${{ env.DEVICE_TYPE }}
229-
path: vllm/vllm_profile
229+
path: vllm-profiling/profiling-results

0 commit comments

Comments
 (0)