未验证 提交 327bb013 编写于 作者: C chenjian 提交者: GitHub

Bump vdl to v2.5.1 (#1219)

* bump vdl to v2.5.1

* fix bug for interrupting failure in windows
上级 984f5200
...@@ -4,6 +4,24 @@ VisualDL的更新记录在此查看。 ...@@ -4,6 +4,24 @@ VisualDL的更新记录在此查看。
This is the Changelog for the VisualDL 2.0 project. This is the Changelog for the VisualDL 2.0 project.
## v2.5.1 - 2023-02-20
**ZH**
- 其它改进
- **BE**: 响应框架protobuf升级需求,将proto的编译器protoc从v3.19继续升级到v4.21.12 (#1212)
- **FE**: 前端修复了路由跳转的问题 (#1207)
**EN**
- Enhancement
- **BE**: Be consistent with paddlepaddle protobuf upgradation, protoc v4.21.12 is required to compile proto. (#1212)
- **FE**: Fix url navigation error. (#1207)
**EN**
## v2.5.0 - 2023-01-17 ## v2.5.0 - 2023-01-17
**ZH** **ZH**
......
...@@ -8,7 +8,6 @@ requests ...@@ -8,7 +8,6 @@ requests
six >= 1.14.0 six >= 1.14.0
matplotlib matplotlib
pandas pandas
multiprocess
packaging packaging
x2paddle x2paddle
rarfile rarfile
......
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
# ======================================================================= # =======================================================================
import os import os
import re import re
from multiprocessing import Process
from multiprocessing import Queue
from threading import Lock from threading import Lock
from threading import Thread from threading import Thread
import packaging.version import packaging.version
from multiprocess import Process
from multiprocess import Queue
from .parser.const_description import * # noqa: F403 from .parser.const_description import * # noqa: F403
from .parser.event_node import load_profiler_json from .parser.event_node import load_profiler_json
......
...@@ -17,6 +17,7 @@ import json ...@@ -17,6 +17,7 @@ import json
import multiprocessing import multiprocessing
import os import os
import re import re
import signal
import sys import sys
import threading import threading
import time import time
...@@ -78,6 +79,9 @@ def create_app(args): # noqa: C901 ...@@ -78,6 +79,9 @@ def create_app(args): # noqa: C901
lang = request.accept_languages.best_match(support_language) lang = request.accept_languages.best_match(support_language)
return lang return lang
signal.signal(
signal.SIGINT, signal.SIG_DFL
) # we add this to prevent SIGINT not work in multiprocess queue waiting
babel = Babel(app, locale_selector=get_locale) # noqa:F841 babel = Babel(app, locale_selector=get_locale) # noqa:F841
# Babel api from flask_babel v3.0.0 # Babel api from flask_babel v3.0.0
api_call = create_api_call(args.logdir, args.model, args.cache_timeout) api_call = create_api_call(args.logdir, args.model, args.cache_timeout)
......
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
# limitations under the License. # limitations under the License.
# ======================================================================= # =======================================================================
vdl_version = '2.5.0' vdl_version = '2.5.1'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册