Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KuilongCui committed Sep 12, 2024
1 parent 82384ee commit c6326b1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,13 @@ jobs:
-v ${PWD}:/workspace \
-w /workspace \
registry.cn-beijing.aliyuncs.com/llumnix/llumnix-dev:20240909_action_678a439 \
bash -c "pip install -e . > /dev/null && make lint"
bash -c "pip install -e . > /dev/null && make lint"
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '**ok**'
})
2 changes: 1 addition & 1 deletion tests/e2e_test/test_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ async def run_bench_command(command):

shutdown_llumnix_service()
clear_ray_state()
await asyncio.sleep(10)
await asyncio.sleep(3)
5 changes: 3 additions & 2 deletions tests/e2e_test/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,19 @@ async def test_e2e(model):
}

# generate llumnix outputs
shutdown_llumnix_service()
launch_llumnix_service(model, max_model_len=max_model_len)
await asyncio.sleep(60)

llumnix_output = {}
for prompt in prompts:
response = await asyncio.wait_for(get_llumnix_responce(prompt, sampling_params, "127.0.0.1:37000"),
timeout=60*2)
timeout=60*5)
llumnix_output[prompt] = response['text'][0]

shutdown_llumnix_service()
clear_ray_state()
await asyncio.sleep(10)
await asyncio.sleep(5)

# get raw vllm outputs
raw_vllm = LLM(model=model, trust_remote_code=True, max_model_len=max_model_len)
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e_test/test_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ async def run_bench_command(command):

shutdown_llumnix_service()
clear_ray_state()
await asyncio.sleep(10)
await asyncio.sleep(3)

0 comments on commit c6326b1

Please sign in to comment.