From 327bb013cae328b7de9f83e1c1dae2bfdb522dca Mon Sep 17 00:00:00 2001 From: chenjian Date: Wed, 22 Feb 2023 17:50:53 +0800 Subject: [PATCH] Bump vdl to v2.5.1 (#1219) * bump vdl to v2.5.1 * fix bug for interrupting failure in windows --- CHANGELOG.md | 18 ++++++++++++++++++ requirements.txt | 1 - visualdl/component/profiler/profiler_reader.py | 4 ++-- visualdl/server/app.py | 4 ++++ visualdl/version.py | 2 +- 5 files changed, 25 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d93ebafe..86c3f14d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,24 @@ VisualDL的更新记录在此查看。 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 **ZH** diff --git a/requirements.txt b/requirements.txt index a112f431..4608003c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,6 @@ requests six >= 1.14.0 matplotlib pandas -multiprocess packaging x2paddle rarfile diff --git a/visualdl/component/profiler/profiler_reader.py b/visualdl/component/profiler/profiler_reader.py index 78ae1522..7b97a129 100644 --- a/visualdl/component/profiler/profiler_reader.py +++ b/visualdl/component/profiler/profiler_reader.py @@ -14,12 +14,12 @@ # ======================================================================= import os import re +from multiprocessing import Process +from multiprocessing import Queue from threading import Lock from threading import Thread import packaging.version -from multiprocess import Process -from multiprocess import Queue from .parser.const_description import * # noqa: F403 from .parser.event_node import load_profiler_json diff --git a/visualdl/server/app.py b/visualdl/server/app.py index 274f8b7d..3e556bd2 100644 --- a/visualdl/server/app.py +++ b/visualdl/server/app.py @@ -17,6 +17,7 @@ import json import multiprocessing import os import re +import signal import sys import threading import time @@ -78,6 +79,9 @@ def create_app(args): # noqa: C901 lang = request.accept_languages.best_match(support_language) 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 api from flask_babel v3.0.0 api_call = create_api_call(args.logdir, args.model, args.cache_timeout) diff --git a/visualdl/version.py b/visualdl/version.py index d4a49cf5..7600170c 100644 --- a/visualdl/version.py +++ b/visualdl/version.py @@ -13,4 +13,4 @@ # limitations under the License. # ======================================================================= -vdl_version = '2.5.0' +vdl_version = '2.5.1' -- GitLab