forked from phoenix/litellm-mirror
test(test_token_counter.py): fix load test
This commit is contained in:
parent
4ff0703a31
commit
900bb9aba8
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def test_load_test_token_counter(model):
|
|||
messages = [{"role": "user", "content": text}] * 10
|
||||
|
||||
start_time = time.time()
|
||||
for _ in range(50):
|
||||
for _ in range(10):
|
||||
_ = token_counter(model=model, messages=messages)
|
||||
# enc.encode("".join(m["content"] for m in messages))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue