complete ai kerne frame code

This commit is contained in:
Liu Zhicong
2023-08-20 22:53:35 -07:00
parent 6b39379d7c
commit 814f5cf481
21 changed files with 725 additions and 20 deletions
+12
View File
@@ -0,0 +1,12 @@
import asyncio
async def test_llm_completion_task():
# compute task have engouh meta info to make sure compute_kernel can run it in most suitable compute container
test_task = llm_completion_task()
# add tset_task to compute_kernel's execute queue
compute_kernel.run(test_task)
# wait for test_task
if __name__ == "__main__":
asyncio.run(test_llm_completion_task())
+6
View File
@@ -0,0 +1,6 @@
def test_workflow():
pass