fix(core): 修复 onnxruntime 和 numpy 依赖问题

This commit is contained in:
XcantloadX 2025-03-10 10:52:43 +08:00
parent 58fec6485e
commit 32e7aeb81f
4 changed files with 19 additions and 5 deletions

View File

@ -1,6 +1,14 @@
# 更新日志
## kaa
### v2025.3.9
### v2025.3.9.3
其他:
* 降级 numpy<2.0修复A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash.问题
### v2025.3.9.1、v2025.3.9.2
其他:
* 降级 onnxruntime==1.14.0修复“ImportError: DLL load failed while importing onnxruntime_pybind11_state”问题
### v2025.3.9.0
脚本:
* [修复] 修复部分情况下工作分配偶像选择页面报错(#a35e6c3
* [修复] 修复培育中强化技能卡时有几率卡在确认按钮上(#221721a

View File

@ -23,7 +23,6 @@ dependencies = [
"uvicorn==0.34.0",
"python-multipart==0.0.20",
"websockets==14.1",
"numpy==2.2.1",
"psutil==6.1.1",
# GUI
"gradio==5.12.0",
@ -33,7 +32,11 @@ dependencies = [
"ksaa-res==0.1.0",
# Other
"typing-extensions==4.12.2",
"python-dotenv==1.0.1"
"python-dotenv==1.0.1",
# ImportError: DLL load failed while importing onnxruntime_pybind11_state
"onnxruntime==1.14.0",
# A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash.
"numpy<2.0"
]

View File

@ -12,7 +12,6 @@ fastapi==0.115.6
uvicorn==0.34.0
python-multipart==0.0.20
websockets==14.1
numpy==2.2.1
psutil==6.1.1
# GUI
gradio==5.12.0
@ -21,3 +20,7 @@ pydantic==2.10.4
# Other
typing-extensions==4.12.2
python-dotenv==1.0.1
# ImportError: DLL load failed while importing onnxruntime_pybind11_state
onnxruntime==1.14.0
# A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash.
numpy<2.0

View File

@ -1 +1 @@
2025.3.9.0
2025.3.9.3