Skip to content

Commit 7be3208

Browse files
committed
fix directory issue
1 parent 69501bf commit 7be3208

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/scripts/run_vllm_profiling.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@ install_dependencies() {
3939
}
4040

4141
setup_workspace() {
42-
# Ensure we're in the right directory (mounted workspace)
43-
cd /tmp/workspace/vllm
42+
# Ensure we're in the workspace directory, but don't go into vllm source
43+
# The Docker container has vLLM pre-installed, we shouldn't run from source
44+
cd /tmp/workspace
45+
46+
# Create the profiling directory if it doesn't exist
47+
mkdir -p "$(dirname "${VLLM_TORCH_PROFILER_DIR/#\~/$HOME}")" 2>/dev/null || true
4448
}
4549

4650
wait_for_server() {

0 commit comments

Comments
 (0)