-
Notifications
You must be signed in to change notification settings - Fork 259
Description
Describe the bug/ 问题描述 (Mandatory / 必填)
self.module_logits需要改成self.cell_logits
- Hardware Environment(
Ascend
/GPU
/CPU
) / 硬件环境:
Please delete the backend not involved / 请删除不涉及的后端:
/device ascend/
-
Software Environment / 软件环境 (Mandatory / 必填):
-- MindSpore version (e.g., 1.7.0.Bxxx) :2.4.0
-- Python version (e.g., Python 3.7.5) :3.9
-- OS platform and distribution (e.g., Linux Ubuntu 16.04):
-- GCC/Compiler version (if compiled from source): -
Excute Mode / 执行模式 (Mandatory / 必填)(
PyNative
/Graph
):
Please delete the mode not involved / 请删除不涉及的模式:
/mode pynative
/mode graph
To Reproduce / 重现步骤 (Mandatory / 必填)
Steps to reproduce the behavior:
- Go to '#cd anaconda3/envs/
Mindspore/lib/python3.9/site-packages/mindnlp/peft/tuners/poly' - Click on '#vi router.py'
- Scroll down to
- See error
Expected behavior / 预期结果 (Mandatory / 必填)
self.module logits变成self.cell logits
Screenshots/ 日志 / 截图 (Mandatory / 必填)
位置是mindnlp/peft/tuners/poly的router.py文件
Additional context / 备注 (Optional / 选填)
Add any other context about the problem here.