mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(test) 1k requests
This commit is contained in:
parent
3c6764efef
commit
d3672452ce
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ async def litellm_completion():
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
start = time.time()
|
start = time.time()
|
||||||
n = 500 # Number of concurrent tasks
|
n = 1000 # Number of concurrent tasks
|
||||||
tasks = [litellm_completion() for _ in range(n)]
|
tasks = [litellm_completion() for _ in range(n)]
|
||||||
|
|
||||||
chat_completions = await asyncio.gather(*tasks)
|
chat_completions = await asyncio.gather(*tasks)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue