Skip to content

self.module_logits需要改成self.cell_logits #1849

@asGHF

Description

@asGHF

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:

  1. Go to '#cd anaconda3/envs/
    Mindspore/lib/python3.9/site-packages/mindnlp/peft/tuners/poly'
  2. Click on '#vi router.py'
  3. Scroll down to
  4. See error

Expected behavior / 预期结果 (Mandatory / 必填)
self.module logits变成self.cell logits

Screenshots/ 日志 / 截图 (Mandatory / 必填)
位置是mindnlp/peft/tuners/poly的router.py文件
47d6abde9f095e7c1b29d28502fa2a9
5b8ada5a6c15954ec664925f111459c

Additional context / 备注 (Optional / 选填)
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions