We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52831cb commit 9bd6419Copy full SHA for 9bd6419
volcenginesdkexamples/volcenginesdkarkruntime/async_batch_chat_completions.py
@@ -16,10 +16,9 @@
16
# or specify ak&sk by Ark(ak="${YOUR_AK}", sk="${YOUR_SK}").
17
# To get your ak&sk, please refer to this document(https://www.volcengine.com/docs/6291/65568)
18
# For more information,please check this document(https://www.volcengine.com/docs/82379/1263279)
19
-client = AsyncArk()
20
-
21
22
async def worker(worker_id, task_num):
+ client = AsyncArk()
23
print(f"Worker {worker_id} is starting.")
24
for i in range(task_num):
25
print(f"Worker {worker_id} task {i} is running.")
0 commit comments