Skip to content

Commit

Permalink
move test file location
Browse files Browse the repository at this point in the history
  • Loading branch information
renxida committed Feb 21, 2025
1 parent bf04bcf commit 889140f
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,15 @@ async def run(self):


def test_batch_and_nobatch_consistency(server_instance):
"""Test that requests produce identical results regardless of batch size."""
"""
Test that requests produce identical results regardless of batch size.
If this test fails, it means that changing the batch size changes the generation results.
Look for kvcache corruption due to
- improper seq_len / current_position handling in service.py
- improper masking in sharktank
"""
with server_instance.start_service_only() as generate_service:
# Create and run the test process
test_process = BatchConsistencyTestProcess(
Expand Down

0 comments on commit 889140f

Please sign in to comment.