Spaces:
Runtime error
Runtime error
Yijun-Yang
commited on
Commit
·
50ceafd
1
Parent(s):
db43ae0
deletepool
Browse files- config.ini +4 -4
- huixiangdou/service/feature_store.py +1 -1
config.ini
CHANGED
@@ -13,7 +13,7 @@ domain_partial_order = ["openai.com", "pytorch.org", "readthedocs.io", "nvidia.c
|
|
13 |
save_dir = "logs/web_search_result"
|
14 |
|
15 |
[llm]
|
16 |
-
enable_local =
|
17 |
enable_remote = 1
|
18 |
client_url = "http://127.0.0.1:8888/inference"
|
19 |
|
@@ -21,10 +21,10 @@ client_url = "http://127.0.0.1:8888/inference"
|
|
21 |
local_llm_path = "Qwen/Qwen1.5-7B-Chat"
|
22 |
local_llm_max_text_length = 32000
|
23 |
local_llm_bind_port = 8888
|
24 |
-
remote_type = ""
|
25 |
-
remote_api_key = ""
|
26 |
remote_llm_max_text_length = 32000
|
27 |
-
remote_llm_model = ""
|
28 |
rpm = 500
|
29 |
|
30 |
[worker]
|
|
|
13 |
save_dir = "logs/web_search_result"
|
14 |
|
15 |
[llm]
|
16 |
+
enable_local = 0
|
17 |
enable_remote = 1
|
18 |
client_url = "http://127.0.0.1:8888/inference"
|
19 |
|
|
|
21 |
local_llm_path = "Qwen/Qwen1.5-7B-Chat"
|
22 |
local_llm_max_text_length = 32000
|
23 |
local_llm_bind_port = 8888
|
24 |
+
remote_type = "deepseek"
|
25 |
+
remote_api_key = "sk-f36f5336010841399abccdfeb6bd1f54"
|
26 |
remote_llm_max_text_length = 32000
|
27 |
+
remote_llm_model = "deepseek-chat"
|
28 |
rpm = 500
|
29 |
|
30 |
[worker]
|
huixiangdou/service/feature_store.py
CHANGED
@@ -431,6 +431,7 @@ class FeatureStore:
|
|
431 |
preproc_dir = os.path.join(work_dir, 'preprocess')
|
432 |
if not os.path.exists(preproc_dir):
|
433 |
os.makedirs(preproc_dir)
|
|
|
434 |
|
435 |
# pool = Pool(processes=16)
|
436 |
# file_opr = FileOperation()
|
@@ -473,7 +474,6 @@ class FeatureStore:
|
|
473 |
file.state = False
|
474 |
file.reason = 'skip unknown format'
|
475 |
# pool.close()
|
476 |
-
|
477 |
# pool.join()
|
478 |
|
479 |
# check process result
|
|
|
431 |
preproc_dir = os.path.join(work_dir, 'preprocess')
|
432 |
if not os.path.exists(preproc_dir):
|
433 |
os.makedirs(preproc_dir)
|
434 |
+
logger.debug('waiting for preprocess read finish..')
|
435 |
|
436 |
# pool = Pool(processes=16)
|
437 |
# file_opr = FileOperation()
|
|
|
474 |
file.state = False
|
475 |
file.reason = 'skip unknown format'
|
476 |
# pool.close()
|
|
|
477 |
# pool.join()
|
478 |
|
479 |
# check process result
|