From 9076ff3fd7c19098d2350d7b24d3c673338a74f6 Mon Sep 17 00:00:00 2001 From: josc146 Date: Sat, 20 May 2023 21:32:20 +0800 Subject: [PATCH] upload dep_check --- backend-python/dep_check.py | 8 ++++++++ manifest.json | 16 ++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 backend-python/dep_check.py diff --git a/backend-python/dep_check.py b/backend-python/dep_check.py new file mode 100644 index 0000000..513b695 --- /dev/null +++ b/backend-python/dep_check.py @@ -0,0 +1,8 @@ +import torch +import rwkv +import langchain +import fastapi +import uvicorn +import sse_starlette +import pydantic +import psutil diff --git a/manifest.json b/manifest.json index 7f1a2ac..f72d6ad 100644 --- a/manifest.json +++ b/manifest.json @@ -15,8 +15,12 @@ "path": "cmd-helper.bat" }, { - "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/20B_tokenizer.json", - "path": "backend-python/20B_tokenizer.json" + "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/requirements.txt", + "path": "backend-python/requirements.txt" + }, + { + "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/requirements_versions.txt", + "path": "backend-python/requirements_versions.txt" }, { "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/main.py", @@ -30,6 +34,10 @@ "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/convert_model.py", "path": "backend-python/convert_model.py" }, + { + "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/dep_check.py", + "path": "backend-python/dep_check.py" + }, { "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/routes/completion.py", "path": "backend-python/routes/completion.py" @@ -49,6 +57,10 @@ { "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/utils/torch.py", "path": "backend-python/utils/torch.py" + }, + { + "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/20B_tokenizer.json", + "path": "backend-python/20B_tokenizer.json" } ], "models": [