wip
This commit is contained in:
parent
e66da356a4
commit
4ec0e9abbf
2 changed files with 42 additions and 36 deletions
|
@ -2,7 +2,7 @@ import asyncio
|
|||
import requests
|
||||
import numpy as np
|
||||
|
||||
n = 8
|
||||
n = 1
|
||||
|
||||
result = []
|
||||
|
||||
|
@ -14,6 +14,9 @@ async def main():
|
|||
responses: list[requests.Response] = await asyncio.gather(*[requests_post_async(
|
||||
url= f"{model_url}/embedding",
|
||||
json= {"content": str(0)*32}
|
||||
#json= {"content": str(0)*1024}
|
||||
#json= {"content": str(i)*32}
|
||||
#json= {"content": str(i%2)*32}
|
||||
) for i in range(n)])
|
||||
|
||||
for response in responses:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue