Skip to content

Commit

Permalink
Fix failures in test_long_context.
Browse files Browse the repository at this point in the history
The problem comes from new added field and the test didn't explicitly set the field but using position information.
  • Loading branch information
Jeffwan committed Jul 18, 2024
1 parent 0ea0d0d commit 56daa6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/lora/test_long_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def _create_lora_request(lora_id, long_context_infos):
scaling_factor = context_len_to_scaling_factor[context_len]
return LoRARequest(context_len, lora_id,
long_context_infos[lora_id]["lora"],
None,
4096 * scaling_factor)


Expand Down

0 comments on commit 56daa6c

Please sign in to comment.