已关闭
【自提单】【MindFormers】auto类和openmind提供传参为token的逻辑,使用后需清除缓存记录 #1957
zyw-hw创建于  2025年7月11日关闭于  2025年7月17日
zyw-hw
zyw-hw成员
2025年7月11日 创建

1.Describe the current behavior / 问题描述 (Mandatory / 必填)

auto类和openmind提供传参为token的逻辑,设计用户隐私数据,使用后需清理缓存,避免被恶意获取
输入图片说明

2.Environment / 环境信息 (Mandatory / 必填)

  • Hardware Environment / 硬件环境(Mandatory / 必填):
    Hardware (e.g.Ascend910B1/Mac CPU)

    样例:

后端类型 硬件具体类别
Ascend 910B1
CPU Win CPU
  • Software Environment / 软件环境 (Mandatory / 必填):
    迭代版本新增问题样例:(根据实际修改和增删)
Software Version(根据实际修改,必填)
MindSpore MindSpore 2.7.0
MindFormers dev
Python Python 3.11.4

bugfix版本问题引入样例:(根据实际修改和增删)

不涉及

3.Related testcase / 关联用例 (Mandatory / 必填)

tests/st/test_ut/base_schema.json

4.Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

不涉及

5.Describe the expected behavior / 预期结果 (Mandatory / 必填)

不涉及

6.Related log / screenshot / 日志 / 截图 (Mandatory / 必填)

不涉及

7.Special notes for this issue/备注 (Optional / 选填)

**【定位人】**吴某某(根据实际修改)

likedislike
zyw-hwzyw-hw成员
2025年7月11日 添加了   ctl/rdselftest 标签
zyw-hwzyw-hw成员
2025年7月11日 创建了缺陷
zyw-hwzyw-hw成员
2025年7月14日 关联了MindSpore/mindformers Pull Request !6770
zyw-hwzyw-hw成员
2025年7月14日 关联了MindSpore/mindformers Pull Request !6771
zyw-hwzyw-hw成员
2025年7月15日 取消关联MindSpore/mindformers Pull Request !6771
zyw-hwzyw-hw成员
2025年7月15日 取消关联MindSpore/mindformers Pull Request !6770
zyw-hwzyw-hw成员
2025年7月17日 修改了标题
zyw-hw
zyw-hw成员
2025年7月17日 评论:

Appearance & Root Cause
问题:auto类和openmind提供传参为token的逻辑,使用后需清除缓存记录
根因:
auto类和openmind提供传参为token的逻辑,设计用户隐私数据,使用后需清理缓存,避免被恶意获取

Fix Solution
禁用受控数据的下载,避免token缓存时间过长

Fix Description & Test Suggestion
https://gitee.com/mindspore/mindformers/pulls/6770
https://gitee.com/mindspore/mindformers/pulls/6771

Self-test Report & DT Review
目前前后端耗时在12分钟以内。
是否需要补充 ST/UT:否
原因:非功能模块

Introduction Analysis
引入类型:特性合入引入
引入PR:不涉及
PR合入时间:不涉及
问题是否偶现:非功能问题,禁用相关不使用的功能

likedislike
zyw-hwzyw-hw成员
2025年7月17日 将任务状态从 TODO 修改为DONE
Iivss成员
2025年9月10日 移除了ctl/rdselftest(已删除)标签
AAtomGit-Bot
2025年12月14日 关联了看板:MindSpore Bug Tracking System