Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a2f6e0d9a | |||
| 8c29d5cfe5 |
@@ -4,7 +4,6 @@ __pycache__/
|
||||
*.pyd
|
||||
.pytest_cache/
|
||||
.env
|
||||
config.local.json
|
||||
state.db
|
||||
/data/
|
||||
.git/
|
||||
|
||||
@@ -8,6 +8,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY app ./app
|
||||
COPY seeds ./seeds
|
||||
COPY scripts ./scripts
|
||||
COPY config.local.json ./
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
||||
43
config.local.json
Normal file
43
config.local.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"AUTH_TOKEN": "41be3e6fd9644de1aabcd025cf5d6340",
|
||||
"HF_TOKEN": "hf_kpVhngyUGLTUqkDChpDIYclRSXizluUpn",
|
||||
"CONFTEST_API_TOKEN": "0f3c1fd38fbac493cf3760ce4aaeac90",
|
||||
"EMAIL": "i-hengyan@4paradigm.com",
|
||||
"USER_ID": "83",
|
||||
"CONTRIBUTORS": "i-hengyan",
|
||||
"STRATEGY_ID": "2e5ee92b-ea07-487a-bcfd-02e51be7f6bb",
|
||||
|
||||
"MODELHUB_URL": "https://modelhub.org.cn",
|
||||
"MODELHUB_API_BASE": "https://modelhub.org.cn/api",
|
||||
"MODELHUB_ADMINAPI_BASE": "https://modelhub.org.cn/adminApi",
|
||||
|
||||
"DB_PATH": "./state.db",
|
||||
"HOST": "0.0.0.0",
|
||||
"PORT": 8080,
|
||||
|
||||
"SUBMIT_DRY_RUN": true,
|
||||
"INJECT_STRATEGY_ID": true,
|
||||
"CONTEST_TASK_STRATEGY_FIELD": "strategyId",
|
||||
|
||||
"MAX_USER_TASKS": 2000,
|
||||
"MAX_SELF_DOWNLOADS": 8,
|
||||
"POLL_INTERVAL_SECONDS": 60,
|
||||
"DOWNLOAD_POLL_INTERVAL_SECONDS": 300,
|
||||
"CRAWLER_REFRESH_SECONDS": 3600,
|
||||
|
||||
"DEFAULT_GPU_ALIASES": "910b,k100,p800,166m,bi100,bi150,c500,s4000,mrv100,mlu370-x4,mlu370-x8",
|
||||
"DEFAULT_MAX_MODEL_LEN": 1024,
|
||||
|
||||
"ENABLE_NOT_ADAPTED_CRAWLER": true,
|
||||
"TARGET_MACHINE_NAMES": "MTT S4000,Hygon K100,Kunlunxin P800",
|
||||
"TARGET_TASK_LEVEL": "文本生成",
|
||||
"MODELHUB_PAGE_SIZE": 100,
|
||||
"CRAWLER_MAX_PAGES": 0,
|
||||
|
||||
"ENABLE_DOWNLOAD_SUCCESS_CRAWLER": true,
|
||||
"DOWNLOAD_SUCCESS_PAGE_SIZE": 50,
|
||||
"DOWNLOAD_SUCCESS_MAX_PAGES": 0,
|
||||
|
||||
"BOUNTY_ALLOW_DIRECT_SUBMIT": true,
|
||||
"AUTO_LOAD_SEED_PATH": ""
|
||||
}
|
||||
Reference in New Issue
Block a user