diff --git a/plugins/tensorboard-plugins/tb_plugin/README.md b/plugins/tensorboard-plugins/tb_plugin/README.md index e04953239491d3935fb3259c9eac336ce76ee0c9..96e308c2b7aa8997c23297dae42489eaf3ded2cf 100644 --- a/plugins/tensorboard-plugins/tb_plugin/README.md +++ b/plugins/tensorboard-plugins/tb_plugin/README.md @@ -14,7 +14,7 @@ 2. 插件离线方式安装 * 插件下载地址 \ - https://mindstudio-sample.obs.cn-north-4.myhuaweicloud.com/torch-tb-profiler-ascend/v0.4.0.2/torch_tb_profiler_ascend-0.4.0.2-py3-none-any.whl + https://mindstudio-sample.obs.cn-north-4.myhuaweicloud.com/torch-tb-profiler-ascend/v0.4.0.3/torch_tb_profiler_ascend-0.4.0.3-py3-none-any.whl * 插件形式为whl包,使用指令安装(此处{version}为whl包实际版本) diff --git a/plugins/tensorboard-plugins/tb_plugin/fe/src/components/Accuracy/AccuracyLeftPanel.tsx b/plugins/tensorboard-plugins/tb_plugin/fe/src/components/Accuracy/AccuracyLeftPanel.tsx index 89692dc6b5fa254ed33b1654070cb3465c2e0ea1..73ffbf7dc8daf2cb40fc40d48eefd9f8e2cdcbf9 100644 --- a/plugins/tensorboard-plugins/tb_plugin/fe/src/components/Accuracy/AccuracyLeftPanel.tsx +++ b/plugins/tensorboard-plugins/tb_plugin/fe/src/components/Accuracy/AccuracyLeftPanel.tsx @@ -42,7 +42,7 @@ const LOSS_REG_EXP = /[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/ // 匹配自然数 const ITER_REG_EXP = /\d+/ // 单个文件最大大小 -const FILE_MAX_SIZE = 10 * 1024 * 1024 +const FILE_MAX_SIZE = 50 * 1024 * 1024 // 最大文件上传数量 export const MAX_FILE_COUNT = 6 @@ -165,7 +165,7 @@ export const AccuracyLeftPanel: React.FC = (props) => { const file = e.target.files?.[0] if (file) { if (file.size > FILE_MAX_SIZE) { - message.warn('Sorry, the file size cannot be greater than 10MB.') + message.warn('Sorry, the file size cannot be greater than 50MB.') setImportSpin(false) // 防止同名文件不触发事件 e.target.value = '' diff --git a/plugins/tensorboard-plugins/tb_plugin/torch_tb_profiler/__init__.py b/plugins/tensorboard-plugins/tb_plugin/torch_tb_profiler/__init__.py index 077365c7e6aaf2392797eb50d0cd44b684320f26..9222754d5dd7afa9a9fff10c5a117c2e450db50f 100644 --- a/plugins/tensorboard-plugins/tb_plugin/torch_tb_profiler/__init__.py +++ b/plugins/tensorboard-plugins/tb_plugin/torch_tb_profiler/__init__.py @@ -4,4 +4,4 @@ # Entry point for Pytorch TensorBoard plugin package. -__version__ = '0.4.0.2' +__version__ = '0.4.0.3'